X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/058506f3e9be71f52a4571b346f0998f405adf08..0d50ce70b142fbe0375075a6aa6e511072e85a5e:/samples/collpane/collpane.cpp diff --git a/samples/collpane/collpane.cpp b/samples/collpane/collpane.cpp index 9dad464aa8..f989d1fe36 100644 --- a/samples/collpane/collpane.cpp +++ b/samples/collpane/collpane.cpp @@ -328,7 +328,7 @@ void MyDialog::OnAlignButton(wxCommandEvent& WXUNUSED(ev)) Layout(); } -void MyDialog::OnPaneChanged(wxCollapsiblePaneEvent& WXUNUSED(event)) +void MyDialog::OnPaneChanged(wxCollapsiblePaneEvent& WXUNUSED_UNLESS_DEBUG(event)) { wxLogDebug(wxT("The pane has just been %s by the user"), event.GetCollapsed() ? wxT("collapsed") : wxT("expanded"));