I created a simple control which worked as expected the first few compiles;
Now however, everytime I compile my code, I am faced with two problems.
(a) The background color is always set to white regardless - other than that, the control draws correctly.
(b) the ProcessEvent() member function always returns false - further tests
using wxMessageBox() in the associated event handler in another widget prove
that the event is not being sent out.
My code isn't altered from the original version which compiled several times successfully before.
Has any one else had this problem? If so, how do I work around it
wxGTK-2.4 and wxGTK-2.5.3 gcc 3.4
Custom controls and wxGTK issues
-
- Earned a small fee
- Posts: 13
- Joined: Fri Jan 14, 2005 6:03 am
- Location: USA
-
- Can't get richer than this
- Posts: 802
- Joined: Mon Dec 27, 2004 10:46 am
- Location: Estonia, Tallinn
Got any reproducing sample code handy?
Compilers: gcc-3.3.6, gcc-3.4.5, gcc-4.0.2, gcc-4.1.0 and MSVC6
OS's: Gentoo Linux, WinXP; WX: CVS HEAD
Project Manager of wxMUD - http://wxmud.sf.net/
Developer of wxGTK;
gtk+ port maintainer of OMGUI - http://www.omgui.org/
OS's: Gentoo Linux, WinXP; WX: CVS HEAD
Project Manager of wxMUD - http://wxmud.sf.net/
Developer of wxGTK;
gtk+ port maintainer of OMGUI - http://www.omgui.org/
-
- Earned a small fee
- Posts: 13
- Joined: Fri Jan 14, 2005 6:03 am
- Location: USA