X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cd6ce4a90c11b54cc00799d0e4611d858739a749..3f8e5072f7391db2158f44c6b9209bbb3db6eb06:/include/wx/utils.h?ds=sidebyside diff --git a/include/wx/utils.h b/include/wx/utils.h index 8be9b245f3..09ac220a9e 100644 --- a/include/wx/utils.h +++ b/include/wx/utils.h @@ -176,10 +176,14 @@ enum wxSignal // the argument is ignored under Windows - the process is always killed WXDLLEXPORT int wxKill(long pid, wxSignal sig = wxSIGTERM); -// Execute a command in an interactive shell window +// Execute a command in an interactive shell window (always synchronously) // If no command then just the shell WXDLLEXPORT bool wxShell(const wxString& command = wxEmptyString); +// As wxShell(), but must give a (non interactive) command and its output will +// be returned in output array +WXDLLEXPORT bool wxShell(const wxString& command, wxArrayString& output); + // Sleep for nSecs seconds WXDLLEXPORT void wxSleep(int nSecs); @@ -286,6 +290,10 @@ public: private: wxWindowList *m_winDisabled; + +#ifdef __WXMSW__ + wxWindow *m_winTop; +#endif // MSW }; // ----------------------------------------------------------------------------