Removed some warnings in widgets sample
Reduced some flicker in wxNotebook when using XP controls git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -459,7 +459,7 @@ void NotebookWidgetsPage::OnButtonDeleteAll(wxCommandEvent& WXUNUSED(event))
|
||||
m_notebook->DeleteAllPages();
|
||||
}
|
||||
|
||||
void NotebookWidgetsPage::OnButtonSelectPage(wxCommandEvent& event)
|
||||
void NotebookWidgetsPage::OnButtonSelectPage(wxCommandEvent& WXUNUSED(event))
|
||||
{
|
||||
int pos = GetTextValue(m_textSelect);
|
||||
wxCHECK_RET( IsValidValue(pos), _T("button should be disabled") );
|
||||
@@ -521,7 +521,7 @@ void NotebookWidgetsPage::OnUpdateUICurSelectText(wxUpdateUIEvent& event)
|
||||
event.SetText( wxString::Format(_T("%d"), m_notebook->GetSelection()) );
|
||||
}
|
||||
|
||||
void NotebookWidgetsPage::OnCheckOrRadioBox(wxCommandEvent& event)
|
||||
void NotebookWidgetsPage::OnCheckOrRadioBox(wxCommandEvent& WXUNUSED(event))
|
||||
{
|
||||
CreateNotebook();
|
||||
}
|
||||
|
Reference in New Issue
Block a user