]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_extras.py
added missing extern "C" required for Sun CC
[wxWidgets.git] / wxPython / src / _extras.py
index 68677a3da86edcbaf8ad12f66c39523bb4f9daf4..b3f9e52b3f45a1ac9f11b48113eae983aaf17ed3 100644 (file)
@@ -720,7 +720,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