User forums > Help

[wxSmith][error] refreshing background color in windows

(1/1)

claudio:
I am using:

CodeBlocks 8.02 with MingW32 bundled
wxWidgets 2.8
wxSmith

I've created a sample project for wxWidgets 2.8 and using wxSmith I've created a black form with a colored panel (called Panel1) and a button (Button1) for changing the panel color.
The panel doesn't change the color at all, it only changes when I hide the panel...it seems a problem in refreshing the window.

I made a video to explain it, please download it:)
http://www.tequilasmind.com/cast.avi

ollydbg:
You video is too large, > 12M, I need 40min to download,  :(.

blueshake:

--- Quote from: ollydbg on October 31, 2009, 01:25:39 am ---You video is too large, > 12M, I need 40min to download,  :(.

--- End quote ---
I downloaded in 7 minutes . :wink:

blueshake:
Actually this problem is nothing to do with codeblock.
you need to add these codes:
--- Code: ---Panel1->Refresh();
--- End code ---
:lol:

claudio:
awesome!

Thanks :))

Navigation

[0] Message Index

Go to full version