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