From 32084ab7cefd9a5839a371cf50ad9344919569e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Mon, 19 May 2014 17:23:06 +0000 Subject: [PATCH] Fix wxOSX warnings about unused variables. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76581 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 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 //