redraw problem

Are you not setting up a EVT_PAINT() (paint event) callback ?

···

On Fri, 2003-09-05 at 16:03, Ming Lan wrote:

Hi all,
I got a problem to draw a full image on a button like window. When the
window gets clicked and a popup menu which is a customized window with
item selections shows on the top of the "button". After the selection is
made on the popup menu then the popup disappears, the image on the
button should get redrawn. However, for some reason, the part of the
button covered by the popup menu still shows the previous partial image,
after the popup menu disappears. The new image on the button can be
redrawn completely when I use a timer to delay the redraw process . I
would like to have a help on how I can make complete redraw without
wxTimer.

Thanks

Ming

--
Jim West
CheckLogix -a Concord company
102 S. Tejon Ste 920, Colorado Springs, CO 80903
719.633.7005 x223 Fax: 719.633.7006 Cell: 719.660.5676