Hi All.
I have created small 5 panels filled with some colors.
Now, I have created another panel covering all the 5 prev created panels.
Now, when I move my outer panel, all the colors came along with it.
How can i refresh my outer panel whenever i move it.
Thanks and Regards.
AmitK
wxPanel -> Refreshing issue.
Hi Bundy.Bundy wrote:outer_panel->Refresh() don't work?
Bundy
Thanks for your time.
I have following code in OnPaint(wxPaintEvent &event) function corresponding to my outer frame.
wxPaintDC dc(this);
dc.Clear();
dc.SetBackgroundMode(wxTRANSPARENT);
Any clues where the problem is?
After calling Refresh() Now I am getting gray color filled outer panel.
I am not able to see any color behind it.
Any clues???
Thanks
AmitK