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
This commit is contained in:
Robin Dunn
2002-05-14 07:49:05 +00:00
parent 4b6f211eba
commit 606d919c51
3 changed files with 4 additions and 3 deletions

View File

@@ -15,6 +15,8 @@ import sys, os, time, string
from wxPython.wx import * from wxPython.wx import *
from wxPython.html import wxHtmlWindow from wxPython.html import wxHtmlWindow
from wxPython.stc import *
import images import images
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
@@ -628,7 +630,7 @@ def main():
os.chdir(demoPath) os.chdir(demoPath)
except: except:
pass pass
app = MyApp(0) app = MyApp(wxPlatform == "__WXMAC__")
app.MainLoop() app.MainLoop()

View File

@@ -720,7 +720,7 @@ class wxPyOnDemandOutputWindow:
self.frame.Close() self.frame.Close()
_defRedirect = (wxPlatform == '__WXMSW__') _defRedirect = (wxPlatform == '__WXMSW__' or wxPlatform == '__WXMAC__')
#---------------------------------------------------------------------- #----------------------------------------------------------------------
# The main application class. Derive from this and implement an OnInit # The main application class. Derive from this and implement an OnInit

View File

@@ -12,7 +12,6 @@
%module wx %module wx
%{ %{
#include "helpers.h" #include "helpers.h"
%} %}