X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a24268437fd8f5cf62e11ea3d386b14d38e6d981..f8305cafb5a59cb2fa7bedc6e8e20e4bada60d90:/wxPython/src/helpers.cpp diff --git a/wxPython/src/helpers.cpp b/wxPython/src/helpers.cpp index 72f84096ac..d61298ef74 100644 --- a/wxPython/src/helpers.cpp +++ b/wxPython/src/helpers.cpp @@ -182,6 +182,8 @@ void __wxPreStart() wxPyTMutex = new wxMutex; #endif + wxApp::CheckBuildOptions(wxBuildOptions()); + // Bail out if there is already a wxApp created. This means that the // toolkit has already been initialized, as in embedding wxPython in // a C++ wxWindows app, so we don't need to call wxEntryStart. @@ -641,8 +643,9 @@ void wxPyBeginBlockThreads() { void wxPyEndBlockThreads() { #ifdef WXP_WITH_THREAD - PyThreadState* tstate = PyEval_SaveThread(); // Is there any need to save it again? + // PyThreadState* tstate = + PyEval_SaveThread(); #endif }