]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_extras.py
fixed some paths in build scripts
[wxWidgets.git] / wxPython / src / _extras.py
index 68677a3da86edcbaf8ad12f66c39523bb4f9daf4..fd014225e52cf650c9d0829b6aaa6cdc3576cfd8 100644 (file)
@@ -131,6 +131,9 @@ def EVT_WINDOW_CREATE(win, func):
 def EVT_WINDOW_DESTROY(win, func):
     win.Connect(-1, -1, wxEVT_DESTROY, func)
 
+def EVT_SET_CURSOR(win, func):
+    win.Connect(-1, -1, wxEVT_SET_CURSOR, func)
+
 
 
 def EVT_IDLE(win, func):
@@ -720,7 +723,7 @@ class wxPyOnDemandOutputWindow:
             self.frame.Close()
 
 
-_defRedirect = (wxPlatform == '__WXMSW__')
+_defRedirect = (wxPlatform == '__WXMSW__' or wxPlatform == '__WXMAC__')
 
 #----------------------------------------------------------------------
 # The main application class.  Derive from this and implement an OnInit