No real changes, just removed unused variables from samples.
Don't define constants which are never used to avoid clang -Wunused-const-variable warnings.
This commit is contained in:
@@ -471,10 +471,6 @@ const int ID_RADIOBUTTON_2 = 167;
|
|||||||
|
|
||||||
const int ID_SET_FONT = 170;
|
const int ID_SET_FONT = 170;
|
||||||
|
|
||||||
#if wxUSE_GAUGE
|
|
||||||
const int ID_GAUGE = 180;
|
|
||||||
#endif // wxUSE_GAUGE
|
|
||||||
|
|
||||||
#if wxUSE_SLIDER
|
#if wxUSE_SLIDER
|
||||||
const int ID_SLIDER = 181;
|
const int ID_SLIDER = 181;
|
||||||
#endif // wxUSE_SLIDER
|
#endif // wxUSE_SLIDER
|
||||||
@@ -501,8 +497,6 @@ const int ID_SIZER_CHECK4 = 204;
|
|||||||
const int ID_SIZER_CHECK14 = 205;
|
const int ID_SIZER_CHECK14 = 205;
|
||||||
const int ID_SIZER_CHECKBIG = 206;
|
const int ID_SIZER_CHECKBIG = 206;
|
||||||
|
|
||||||
const int ID_HYPERLINK = 300;
|
|
||||||
|
|
||||||
wxBEGIN_EVENT_TABLE(MyPanel, wxPanel)
|
wxBEGIN_EVENT_TABLE(MyPanel, wxPanel)
|
||||||
EVT_IDLE ( MyPanel::OnIdle)
|
EVT_IDLE ( MyPanel::OnIdle)
|
||||||
EVT_BOOKCTRL_PAGE_CHANGING(ID_BOOK, MyPanel::OnPageChanging)
|
EVT_BOOKCTRL_PAGE_CHANGING(ID_BOOK, MyPanel::OnPageChanging)
|
||||||
|
@@ -227,7 +227,6 @@ enum
|
|||||||
};
|
};
|
||||||
|
|
||||||
static const int BITMAP_SIZE_X = 32;
|
static const int BITMAP_SIZE_X = 32;
|
||||||
static const int BITMAP_SIZE_Y = 15;
|
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// event tables and other macros for wxWidgets
|
// event tables and other macros for wxWidgets
|
||||||
|
@@ -215,13 +215,6 @@ void ChoiceWidgetsPage::CreateContent()
|
|||||||
wxT("&Set choice parameters"));
|
wxT("&Set choice parameters"));
|
||||||
wxSizer *sizerLeft = new wxStaticBoxSizer(box, wxVERTICAL);
|
wxSizer *sizerLeft = new wxStaticBoxSizer(box, wxVERTICAL);
|
||||||
|
|
||||||
static const wxString modes[] =
|
|
||||||
{
|
|
||||||
wxT("single"),
|
|
||||||
wxT("extended"),
|
|
||||||
wxT("multiple"),
|
|
||||||
};
|
|
||||||
|
|
||||||
m_chkSort = CreateCheckBoxAndAddToSizer(sizerLeft, wxT("&Sort items"));
|
m_chkSort = CreateCheckBoxAndAddToSizer(sizerLeft, wxT("&Sort items"));
|
||||||
|
|
||||||
wxButton *btn = new wxButton(this, ChoicePage_Reset, wxT("&Reset"));
|
wxButton *btn = new wxButton(this, ChoicePage_Reset, wxT("&Reset"));
|
||||||
|
Reference in New Issue
Block a user