]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/collpane/collpane.cpp
compilation fix after last change
[wxWidgets.git] / samples / collpane / collpane.cpp
index 9dad464aa8bdce0d16d25d4082974c12b375d6b5..f989d1fe3695d19d518268dfe72b7b6f7820a15b 100644 (file)
@@ -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"));