wel, I’m back with another newbee question.
the problem i’m having and that i coldn’t find it on the internet is how
to refresh a window, but someting more explained, maybe a tutorial or
some doc?
when i put muy window behind another one the contents is ‘deleted’,
still there but not visible until i click again (for example in a
textbox), in most cases.
ok, first i’ll explain what I’m Doing (wrong)
first i call class Minimalapp
Minumalapp calls a Frame class
Within the frame class, on process initialize, I declare the menus, tool
bars, panels, and a book. After the book i call both update() and
refresh() (in that order), but when i run the program and put the window
behind another one it doesn’t update.
the code (abstract) is this:
-class Aframe< WX::Frame
–def initialize
—menu bars and toolbars
—NoteBook
----panel
----textbox
----combobox
----etc
—update()
—refresh()
–end
-end
-class Minimalapp< wx::App
– on_init #calls Aframe
-end
#call minimallapp.main_loop
any help for this newbee would be good.
thanks