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:
@@ -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()
|
||||||
|
|
||||||
|
|
||||||
|
@@ -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
|
||||||
|
@@ -12,7 +12,6 @@
|
|||||||
|
|
||||||
%module wx
|
%module wx
|
||||||
|
|
||||||
|
|
||||||
%{
|
%{
|
||||||
#include "helpers.h"
|
#include "helpers.h"
|
||||||
%}
|
%}
|
||||||
|
Reference in New Issue
Block a user