wxPanels and paintEvent

If you are using wxDev-C++ for your wxWidgets design, please ask your questions here instead of in IDE Related.
Post Reply
michaelCoon
In need of some credit
In need of some credit
Posts: 7
Joined: Tue Aug 07, 2012 11:35 pm

wxPanels and paintEvent

Post by michaelCoon »

I have created an image panel class that holdsa xpm pic. Now, I have the paint event as one of my class functions. I attempted to create two instances of my image panels and show two different pics at the same time. Unforutnately, it does not work. Does the paint event functon only work for one image at a time? Do I need to create multiple image panel classes to show more than one image at a time?
thanks
Post Reply