]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/app.cpp
added generic color dialog to setup
[wxWidgets.git] / src / mac / app.cpp
index 55df1bd41e8670deeb788b72fb471905123f081a..d03b4244fd6607c5c19e6235f412dab3ee07ed2a 100644 (file)
@@ -900,11 +900,13 @@ bool wxYield()
 #endif
     EventRecord event ;
 
-       long sleepTime = 0 ; //::GetCaretTime();
+       long sleepTime = 1 ; //::GetCaretTime();
 
        while ( !wxTheApp->IsExiting() && WaitNextEvent(everyEvent, &event,sleepTime, wxApp::s_macCursorRgn))
        {
        wxTheApp->MacHandleOneEvent( &event );
+           if ( event.what != kHighLevelEvent )
+                   SetRectRgn( wxApp::s_macCursorRgn , event.where.h , event.where.v ,  event.where.h + 1 , event.where.v + 1 ) ;
        }
 
        wxMacProcessNotifierAndPendingEvents() ;