From f86e22fc3b6706c4ee94479f7390231d68051e4d Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 7 Apr 2015 00:05:59 +0200 Subject: [PATCH] No real changes, just removed unused variables from samples. Don't define constants which are never used to avoid clang -Wunused-const-variable warnings. --- samples/controls/controls.cpp | 5 ----- samples/statbar/statbar.cpp | 1 - 2 files changed, 6 deletions(-) diff --git a/samples/controls/controls.cpp b/samples/controls/controls.cpp index 3c2765abc2..a2350f332b 100644 --- a/samples/controls/controls.cpp +++ b/samples/controls/controls.cpp @@ -474,10 +474,6 @@ const int ID_RADIOBUTTON_2 = 167; const int ID_SET_FONT = 170; -#if wxUSE_GAUGE -const int ID_GAUGE = 180; -#endif // wxUSE_GAUGE - #if wxUSE_SLIDER const int ID_SLIDER = 181; #endif // wxUSE_SLIDER @@ -504,7 +500,6 @@ const int ID_SIZER_CHECK4 = 204; const int ID_SIZER_CHECK14 = 205; const int ID_SIZER_CHECKBIG = 206; -const int ID_HYPERLINK = 300; const int ID_SPIN_TEXT = 301; const int ID_CHANGE_CHECK = 302; diff --git a/samples/statbar/statbar.cpp b/samples/statbar/statbar.cpp index db55e90fb5..2e81a74074 100644 --- a/samples/statbar/statbar.cpp +++ b/samples/statbar/statbar.cpp @@ -227,7 +227,6 @@ enum }; static const int BITMAP_SIZE_X = 32; -static const int BITMAP_SIZE_Y = 15; // ---------------------------------------------------------------------------- // event tables and other macros for wxWidgets