From: Robin Dunn Date: Tue, 14 May 2002 07:49:05 +0000 (+0000) Subject: Use the stdout/stderr window by default on Mac too. Force it on in X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/606d919c51d0e5fe7492182bab9ad3c69d82af5f Use the stdout/stderr window by default on Mac too. Force it on in the demo. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/demo/Main.py b/wxPython/demo/Main.py index 4cc8d92819..e5b804fc3d 100644 --- a/wxPython/demo/Main.py +++ b/wxPython/demo/Main.py @@ -15,6 +15,8 @@ import sys, os, time, string from wxPython.wx import * from wxPython.html import wxHtmlWindow +from wxPython.stc import * + import images #--------------------------------------------------------------------------- @@ -628,7 +630,7 @@ def main(): os.chdir(demoPath) except: pass - app = MyApp(0) + app = MyApp(wxPlatform == "__WXMAC__") app.MainLoop() diff --git a/wxPython/src/_extras.py b/wxPython/src/_extras.py index 68677a3da8..b3f9e52b3f 100644 --- a/wxPython/src/_extras.py +++ b/wxPython/src/_extras.py @@ -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 diff --git a/wxPython/src/wx.i b/wxPython/src/wx.i index 432dc65aee..6614275ff9 100644 --- a/wxPython/src/wx.i +++ b/wxPython/src/wx.i @@ -12,7 +12,6 @@ %module wx - %{ #include "helpers.h" %}