X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d29d303b1c37d64c0e6b5638d793a2e425644419..14b72bf5a6b575f2be880eadc3e7f0131afe889a:/samples/splitter/test.cpp diff --git a/samples/splitter/test.cpp b/samples/splitter/test.cpp index 996b6d7b53..4d749c959b 100644 --- a/samples/splitter/test.cpp +++ b/samples/splitter/test.cpp @@ -163,12 +163,12 @@ bool MyFrame::OnClose() return TRUE; } -void MyFrame::Quit(wxCommandEvent& event) +void MyFrame::Quit(wxCommandEvent& WXUNUSED(event) ) { Close(TRUE); } -void MyFrame::SplitHorizontal(wxCommandEvent& event) +void MyFrame::SplitHorizontal(wxCommandEvent& WXUNUSED(event) ) { if ( splitter->IsSplit() ) splitter->Unsplit(); @@ -177,7 +177,7 @@ void MyFrame::SplitHorizontal(wxCommandEvent& event) splitter->SplitHorizontally( leftCanvas, rightCanvas ); } -void MyFrame::SplitVertical(wxCommandEvent& event) +void MyFrame::SplitVertical(wxCommandEvent& WXUNUSED(event) ) { if ( splitter->IsSplit() ) splitter->Unsplit(); @@ -186,7 +186,7 @@ void MyFrame::SplitVertical(wxCommandEvent& event) splitter->SplitVertically( leftCanvas, rightCanvas ); } -void MyFrame::Unsplit(wxCommandEvent& event) +void MyFrame::Unsplit(wxCommandEvent& WXUNUSED(event) ) { if ( splitter->IsSplit() ) splitter->Unsplit();