X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/72cdf4c9b3ce92addf09cfb322f0c19bfb0f8744..c0d6c58bd0d7d6b7dae707b2a78c7f917f98da77:/include/wx/app.h diff --git a/include/wx/app.h b/include/wx/app.h index bbec49fe08..2ce1cad8bf 100644 --- a/include/wx/app.h +++ b/include/wx/app.h @@ -100,7 +100,7 @@ public: // value of this method. // // Override: often. - virtual int OnExit() { return 0; } + virtual int OnExit(); // called when a fatal exception occurs, this function should take care // not to do anything which might provoke a nested exception! It may be @@ -310,6 +310,9 @@ extern void WXDLLEXPORT wxExit(); // Yield to other apps/messages extern bool WXDLLEXPORT wxYield(); +// Yield to other apps/messages +extern void WXDLLEXPORT wxWakeUpIdle(); + // Post a message to the given eventhandler which will be processed during the // next event loop iteration inline void WXDLLEXPORT wxPostEvent(wxEvtHandler *dest, wxEvent& event) @@ -356,7 +359,7 @@ public: // be in your main program (e.g. hello.cpp). Now IMPLEMENT_APP should add this // code if required. -#if defined(__AIX__) || defined(__HPUX__) +#if defined(__AIX__) || defined(__HPUX__) || defined( __VMS__ ) || defined(__WXPM__) #define IMPLEMENT_WXWIN_MAIN \ extern int wxEntry( int argc, char *argv[] ); \ int main(int argc, char *argv[]) { return wxEntry(argc, argv); }