corrected warnings for unused parameters

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Gilles Depeyrot 2002-06-23 17:09:04 +00:00
parent f9b170bd18
commit d208e6412a
2 changed files with 12 additions and 12 deletions

View File

@ -217,7 +217,7 @@ void wxDialog::EndModal(int retCode)
} }
// Standard buttons // Standard buttons
void wxDialog::OnOK(wxCommandEvent& event) void wxDialog::OnOK(wxCommandEvent& WXUNUSED(event))
{ {
if ( Validate() && TransferDataFromWindow() ) if ( Validate() && TransferDataFromWindow() )
{ {
@ -225,19 +225,19 @@ void wxDialog::OnOK(wxCommandEvent& event)
} }
} }
void wxDialog::OnApply(wxCommandEvent& event) void wxDialog::OnApply(wxCommandEvent& WXUNUSED(event))
{ {
if (Validate()) if (Validate())
TransferDataFromWindow(); TransferDataFromWindow();
// TODO probably need to disable the Apply button until things change again // TODO probably need to disable the Apply button until things change again
} }
void wxDialog::OnCancel(wxCommandEvent& event) void wxDialog::OnCancel(wxCommandEvent& WXUNUSED(event))
{ {
EndModal(wxID_CANCEL); EndModal(wxID_CANCEL);
} }
void wxDialog::OnCloseWindow(wxCloseEvent& event) void wxDialog::OnCloseWindow(wxCloseEvent& WXUNUSED(event))
{ {
// We'll send a Cancel message by default, // We'll send a Cancel message by default,
// which may close the dialog. // which may close the dialog.
@ -267,7 +267,7 @@ void wxDialog::OnCloseWindow(wxCloseEvent& event)
closing.DeleteObject(this); closing.DeleteObject(this);
} }
void wxDialog::OnSysColourChanged(wxSysColourChangedEvent& event) void wxDialog::OnSysColourChanged(wxSysColourChangedEvent& WXUNUSED(event))
{ {
SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE)); SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE));
Refresh(); Refresh();

View File

@ -217,7 +217,7 @@ void wxDialog::EndModal(int retCode)
} }
// Standard buttons // Standard buttons
void wxDialog::OnOK(wxCommandEvent& event) void wxDialog::OnOK(wxCommandEvent& WXUNUSED(event))
{ {
if ( Validate() && TransferDataFromWindow() ) if ( Validate() && TransferDataFromWindow() )
{ {
@ -225,19 +225,19 @@ void wxDialog::OnOK(wxCommandEvent& event)
} }
} }
void wxDialog::OnApply(wxCommandEvent& event) void wxDialog::OnApply(wxCommandEvent& WXUNUSED(event))
{ {
if (Validate()) if (Validate())
TransferDataFromWindow(); TransferDataFromWindow();
// TODO probably need to disable the Apply button until things change again // TODO probably need to disable the Apply button until things change again
} }
void wxDialog::OnCancel(wxCommandEvent& event) void wxDialog::OnCancel(wxCommandEvent& WXUNUSED(event))
{ {
EndModal(wxID_CANCEL); EndModal(wxID_CANCEL);
} }
void wxDialog::OnCloseWindow(wxCloseEvent& event) void wxDialog::OnCloseWindow(wxCloseEvent& WXUNUSED(event))
{ {
// We'll send a Cancel message by default, // We'll send a Cancel message by default,
// which may close the dialog. // which may close the dialog.
@ -267,7 +267,7 @@ void wxDialog::OnCloseWindow(wxCloseEvent& event)
closing.DeleteObject(this); closing.DeleteObject(this);
} }
void wxDialog::OnSysColourChanged(wxSysColourChangedEvent& event) void wxDialog::OnSysColourChanged(wxSysColourChangedEvent& WXUNUSED(event))
{ {
SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE)); SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE));
Refresh(); Refresh();