X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/00466512a81bec2b94afbedb859cbdbc9d80fd84..399a88248ae8bd37d01ee104c0ff0d84bc27824d:/include/wx/app.h diff --git a/include/wx/app.h b/include/wx/app.h index 755a3f25e9..3698f65a09 100644 --- a/include/wx/app.h +++ b/include/wx/app.h @@ -257,12 +257,12 @@ public: const wxChar *cond, const wxChar *msg); #endif // __WXDEBUG__ - + // check that the wxBuildOptions object (constructed in the application // itself, usually the one from IMPLEMENT_APP() macro) matches the build // options of the library and abort if it doesn't - static bool CheckBuildOptions(const wxBuildOptions& buildOptions); - + static bool CheckBuildOptions(const char *optionsSignature, + const char *componentName); // implementation only from now on // ------------------------------- @@ -628,7 +628,8 @@ public: #define IMPLEMENT_APP_NO_MAIN(appname) \ wxAppConsole *wxCreateApp() \ { \ - wxAppConsole::CheckBuildOptions(wxBuildOptions()); \ + wxAppConsole::CheckBuildOptions(WX_BUILD_OPTIONS_SIGNATURE, \ + "your program"); \ return new appname; \ } \ wxAppInitializer \