Made it possible to switch off more settings; fixed wxScrollWindow::Scroll bug
(if x == oldx, skipped processing of y direction) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1219,6 +1219,8 @@ long wxExecute(const wxString& command, wxArrayString& output)
|
||||
process->Redirect();
|
||||
|
||||
long rc = wxExecute(command, TRUE /* sync */, process);
|
||||
|
||||
#if wxUSE_STREAMS
|
||||
if ( rc != -1 )
|
||||
{
|
||||
wxInputStream& is = *process->GetInputStream();
|
||||
@@ -1232,6 +1234,7 @@ long wxExecute(const wxString& command, wxArrayString& output)
|
||||
output.Add(line);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
return rc;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user