X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/07831c160bb1474f10970fa308e4489b472b3f18..1d529ef7eed851db9d007821decb9639e4e7fc16:/contrib/samples/deprecated/proplist/proplist.cpp?ds=sidebyside diff --git a/contrib/samples/deprecated/proplist/proplist.cpp b/contrib/samples/deprecated/proplist/proplist.cpp index 8c04d7d35c..dccdaf3266 100644 --- a/contrib/samples/deprecated/proplist/proplist.cpp +++ b/contrib/samples/deprecated/proplist/proplist.cpp @@ -24,9 +24,10 @@ #include "wx/wx.h" #endif +#include "wx/deprecated/setup.h" #if !wxUSE_PROPSHEET -#error Please set wxUSE_PROPSHEET to 1 in include/wx/msw/setup.h and recompile. +#error Please set wxUSE_PROPSHEET to 1 in contrib/include/wx/deprecated/setup.h and recompile. #endif #include "proplist.h" @@ -96,7 +97,7 @@ MyFrame::MyFrame(wxFrame *frame, const wxString& title, const wxPoint& pos, cons // Define the behaviour for the frame closing // - must delete all frames except for the main one. -void MyFrame::OnCloseWindow(wxCloseEvent& event) +void MyFrame::OnCloseWindow(wxCloseEvent& WXUNUSED(event)) { if (wxGetApp().m_childWindow) { @@ -106,32 +107,32 @@ void MyFrame::OnCloseWindow(wxCloseEvent& event) Destroy(); } -void MyFrame::OnQuit(wxCommandEvent& event) +void MyFrame::OnQuit(wxCommandEvent& WXUNUSED(event)) { Close(TRUE); } -void MyFrame::OnDialogList(wxCommandEvent& event) +void MyFrame::OnDialogList(wxCommandEvent& WXUNUSED(event)) { wxGetApp().PropertyListTest(TRUE); } -void MyFrame::OnFrameList(wxCommandEvent& event) +void MyFrame::OnFrameList(wxCommandEvent& WXUNUSED(event)) { wxGetApp().PropertyListTest(FALSE); } -void MyFrame::OnDialogForm(wxCommandEvent& event) +void MyFrame::OnDialogForm(wxCommandEvent& WXUNUSED(event)) { wxGetApp().PropertyFormTest(TRUE); } -void MyFrame::OnFrameForm(wxCommandEvent& event) +void MyFrame::OnFrameForm(wxCommandEvent& WXUNUSED(event)) { wxGetApp().PropertyFormTest(FALSE); } -void MyFrame::OnAbout(wxCommandEvent& event) +void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event)) { (void)wxMessageBox(_T("Property Classes Demo\nAuthor: Julian Smart"), _T("About Property Classes Test")); }