If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
- In need of some credit
- Posts: 9
- Joined: Fri Mar 24, 2006 5:21 am
Can we paint on frame or panel ? if it is how?
which one is better, can u justify?
I wriiten paint code using frame, i am not getting out put
but control is going inside the paint function..
- Experienced Solver
- Posts: 66
- Joined: Sun Feb 26, 2006 7:49 pm
What your saying is rather non-specific.
The general way you do it is to set up the paint event, and in the function that you've set create a wxPaintDC, set the constructors first argument to this and then it'll draw on it.
But then I don't actually know what your doing now.
- Filthy Rich wx Solver
- Posts: 210
- Joined: Sat May 07, 2005 8:24 pm
- Location: Eskisehir, TURKEY