DeletePendingObjects();
bool initialized = wxTopLevelWindows.GetCount() != 0;
-#ifdef __WXGTK__
- m_initialized = initialized;
-#endif
if (initialized) {
if ( m_exitOnFrameDelete == Later ) {
#endif
-/*static*/
-bool wxPyApp::GetMacDefaultEncodingIsPC() {
-#ifdef __WXMAC__
- return s_macDefaultEncodingIsPC;
-#else
- return 0;
-#endif
-}
-
/*static*/
bool wxPyApp::GetMacSupportPCMenuShortcuts() {
#ifdef __WXMAC__
#endif
}
-/*static*/
-void wxPyApp::SetMacDefaultEncodingIsPC(bool val) {
-#ifdef __WXMAC__
- s_macDefaultEncodingIsPC = val;
-#endif
-}
-
/*static*/
void wxPyApp::SetMacSupportPCMenuShortcuts(bool val) {
#ifdef __WXMAC__
#endif
// Ensure that the build options in the DLL (or whatever) match this build
- wxApp::CheckBuildOptions(wxBuildOptions());
+ wxApp::CheckBuildOptions(WX_BUILD_OPTIONS_SIGNATURE, "wxPython");
// Create an exception object to use for wxASSERTions
wxPyAssertionError = PyErr_NewException("wxPython.wxc.wxPyAssertionError",
goto error;
}
-#ifdef __WXGTK__
- wxTheApp->m_initialized = (wxTopLevelWindows.GetCount() > 0);
-#endif
-
Py_DECREF(result);
Py_DECREF(pyint);
Py_INCREF(Py_None);
return (long)win->GetHandle();
#endif
+#ifdef __WXAC__
+ return (long)win->GetHandle();
+#endif
+
// Find and return the actual X-Window.
#ifdef __WXGTK__
if (win->m_wxwindow) {