SWIGged update for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -70,7 +70,7 @@ class TestPanel(wxPanel):
|
||||
|
||||
self.process = wxProcess(self)
|
||||
self.process.Redirect();
|
||||
pid = wxExecute(cmd, false, self.process)
|
||||
pid = wxExecute(cmd, wxEXEC_ASYNC, self.process)
|
||||
self.log.write('OnExecuteBtn: "%s" pid: %s\n' % (cmd, pid))
|
||||
|
||||
self.inp.Enable(true)
|
||||
@@ -99,7 +99,7 @@ class TestPanel(wxPanel):
|
||||
if self.process is not None:
|
||||
stream = self.process.GetInputStream()
|
||||
|
||||
# Yes, this is weird. For this particular stream, EOF
|
||||
# Yes, this is weird. For this particular stream type, EOF
|
||||
# simply means that there is no data available to be read,
|
||||
# not truly the end of file. Also, read() just reads all
|
||||
# the currently available data, not until the real EOF...
|
||||
|
Reference in New Issue
Block a user