trouble changing cursors

Eric Eric.Medlin at gmail.com
Wed Aug 2 13:12:45 PDT 2006


I have a wxFrame (my top level frame) that contains a horizontal
wxBoxSizer on it.  Then I have a wxGLCanvas set to option 1, wxExpand
(set in XRCed).  The other item in the wxBoxSizer is a wxFlexGridSize
followed by alot of stuff in that sizer.  My problem is when I set the
cursor for the wxGLCanvas it sets the cursor, so that when my mouse is
over the wxGLCanvas it is what I set it to, but when I move the mouse
off my application it stays set to whatever I have it set to.  It does
not change back to the default cursor.  It will change back to an arrow
if click on the menu bar or move the cursor off the right side of my
app so that the cursor has to cross over the stuff in the
wxFlexGridSizer or move it off the bottom of my app crossing the status
bar.  How can I get it to change back to the arrow when it leaves the
wxGLCanvas but does not cross over anything else in my app.  This is on
OSX running wxWidgets version 2.6.0.







More information about the wx-users mailing list