X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/72cdf4c9b3ce92addf09cfb322f0c19bfb0f8744..816654badb39c97c136a84eb8640397103e71a16:/include/wx/app.h diff --git a/include/wx/app.h b/include/wx/app.h index bbec49fe08..b3715a2c8a 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 @@ -356,7 +356,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__ ) #define IMPLEMENT_WXWIN_MAIN \ extern int wxEntry( int argc, char *argv[] ); \ int main(int argc, char *argv[]) { return wxEntry(argc, argv); }