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
This commit is contained in:
@@ -65,9 +65,6 @@ BEGIN_EVENT_TABLE(wxApp, wxEvtHandler)
|
|||||||
END_EVENT_TABLE()
|
END_EVENT_TABLE()
|
||||||
|
|
||||||
|
|
||||||
// platform specific static variables
|
|
||||||
static const short kwxMacAppleMenuId = 1 ;
|
|
||||||
|
|
||||||
wxWindow* wxApp::s_captureWindow = NULL ;
|
wxWindow* wxApp::s_captureWindow = NULL ;
|
||||||
long wxApp::s_lastModifiers = 0 ;
|
long wxApp::s_lastModifiers = 0 ;
|
||||||
|
|
||||||
@@ -445,6 +442,9 @@ bool wxApp::OSXOnShouldTerminate()
|
|||||||
|
|
||||||
#if wxOSX_USE_CARBON
|
#if wxOSX_USE_CARBON
|
||||||
|
|
||||||
|
// platform specific static variables
|
||||||
|
static const short kwxMacAppleMenuId = 1 ;
|
||||||
|
|
||||||
struct IdPair
|
struct IdPair
|
||||||
{
|
{
|
||||||
UInt32 macId ;
|
UInt32 macId ;
|
||||||
|
@@ -108,8 +108,6 @@ extern "C"
|
|||||||
const double M_PI = 3.14159265358979;
|
const double M_PI = 3.14159265358979;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static const double RAD2DEG = 180.0 / M_PI;
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Pen, Brushes and Fonts
|
// Pen, Brushes and Fonts
|
||||||
//
|
//
|
||||||
|
Reference in New Issue
Block a user