diff --git a/src/osx/carbon/app.cpp b/src/osx/carbon/app.cpp index d25e238c88..8dcc38160c 100644 --- a/src/osx/carbon/app.cpp +++ b/src/osx/carbon/app.cpp @@ -65,9 +65,6 @@ BEGIN_EVENT_TABLE(wxApp, wxEvtHandler) END_EVENT_TABLE() -// platform specific static variables -static const short kwxMacAppleMenuId = 1 ; - wxWindow* wxApp::s_captureWindow = NULL ; long wxApp::s_lastModifiers = 0 ; @@ -449,6 +446,9 @@ bool wxApp::OSXOnShouldTerminate() #if wxOSX_USE_CARBON +// platform specific static variables +static const short kwxMacAppleMenuId = 1 ; + struct IdPair { UInt32 macId ; diff --git a/src/osx/carbon/graphics.cpp b/src/osx/carbon/graphics.cpp index 43f2391073..c55522f265 100644 --- a/src/osx/carbon/graphics.cpp +++ b/src/osx/carbon/graphics.cpp @@ -108,8 +108,6 @@ extern "C" const double M_PI = 3.14159265358979; #endif -static const double RAD2DEG = 180.0 / M_PI; - // // Pen, Brushes and Fonts //