paint and frame

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.
Post Reply
In need of some credit
In need of some credit
Posts: 9
Joined: Fri Mar 24, 2006 5:21 am

paint and frame

Post by srinivasa » Fri Mar 24, 2006 11:11 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..

Miles Lombardi
Experienced Solver
Experienced Solver
Posts: 66
Joined: Sun Feb 26, 2006 7:49 pm

Post by Miles Lombardi » Fri Mar 24, 2006 10:21 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.
Simple really.

But then I don't actually know what your doing now.

Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 210
Joined: Sat May 07, 2005 8:24 pm
Location: Eskisehir, TURKEY

Post by emarti » Fri Mar 24, 2006 11:31 pm

- T U R K E Y ?
- I love this country!


Post Reply