wxMac, PaintEvent

Stefan Csomor csomor at advancedconcepts.ch
Sun Sep 17 22:59:06 PDT 2006


Hi

> I use a 1 week old CVS HEAD version. I compile my project with xcode. 
> wxWidgets is built with the configure chain (I think).
> 
> Can any of you give me a hint of what a Mac Newbie like me 
> could have done wrong? Did I do a configuration error?
> Is there something like WM_PAINT on mac at all, or does 
> wxWidgets emulate that stuff in the idle-loop?

the OS redraw event is translated into a wxPaintEvent, so this works the
same, so the reason it is not triggered must be something else, what
happens if you don't connect your erase or paint handlers, but just set
the background to red, do you see it at all ? ie is it visible and sized
correctly ?

Just a few shots in the dark ...

HTH

stefan 




More information about the wx-users mailing list