diff --git a/src/osx/carbon/app.cpp b/src/osx/carbon/app.cpp index 1a3d426aaa..0926dbf35e 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 ; @@ -445,6 +442,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 0fb0c50e22..4fdb74a6dd 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 //