wx-2.8.4mac redraw problem

Matt Connolly matt at soundevolution.com.au
Sat Jun 30 08:28:38 PDT 2007


I have a problem with a window that is not redrawing intermittently.

The code works fine under windows, so I'm wondering if it's a bug in  
the mac port???

I have a scroll window, and two subwindows in the scrolling window.

The two subwindows have exactly the same width, and represent a time  
axis. (one is a ruler, the other is the data representation). The  
user can zoom in on the time axis, which means that these views  
change their width, and the scroll bars update. This has all been  
working fine (scrolling, changing sizes, updating scroll bars) with  
little effort.

However, as I'm implementing more detail in the subwindows, I'm  
seeing that the subwindows are not always drawing. I've traced  
through the event handling code (of wx-2.8.4mac) and my detail  
windows aren't getting erase events or paint events, so the window is  
staying white.

This is difficult to track down because switching to the debugger  
triggers more erase/paint events (but if the subwindows are not  
drawn, they stay not drawn until the zoom setting changes = their  
size changes).

Any ideas?


-matt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2174 bytes
Desc: not available
Url : http://lists.wxwidgets.org/pipermail/wx-users/attachments/20070701/31bbe1b0/smime.bin


More information about the wx-users mailing list