From c69fc1f366b47d9b3cc8eec395b59e6ff0c42f55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Mon, 19 May 2014 17:23:24 +0000 Subject: [PATCH] Fix wxOSX warnings about unused variables. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@76583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/osx/carbon/app.cpp | 6 +++--- src/osx/carbon/graphics.cpp | 2 -- 2 files changed, 3 insertions(+), 5 deletions(-) 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 //