From 6d29584b480be28972ab8989c213d95c13945d88 Mon Sep 17 00:00:00 2001 From: Artur Wieczorek Date: Sat, 13 Jun 2015 22:39:16 +0200 Subject: [PATCH] Use wxLogDebug instead of wxLogMessage to log column resizing with splitter in propgrid sample. wxLogMessage displays message in pop-up window what prevents dragging the splitter and hence resizing cannot be in practice done. wxLogDebug is sufficient for the logging purposes in this place. --- samples/propgrid/propgrid.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/propgrid/propgrid.cpp b/samples/propgrid/propgrid.cpp index 07e6aa943c..3449f98c83 100644 --- a/samples/propgrid/propgrid.cpp +++ b/samples/propgrid/propgrid.cpp @@ -892,7 +892,7 @@ void FormMain::OnPropertyGridColBeginDrag( wxPropertyGridEvent& event ) } else { - wxLogMessage(wxT("Splitter %i resize began"), event.GetColumn()); + wxLogDebug(wxT("Splitter %i resize began"), event.GetColumn()); } } @@ -902,14 +902,14 @@ void FormMain::OnPropertyGridColDragging( wxPropertyGridEvent& event ) { wxUnusedVar(event); // For now, let's not spam the log output - //wxLogMessage(wxT("Splitter %i is being resized"), event.GetColumn()); + //wxLogDebug(wxT("Splitter %i is being resized"), event.GetColumn()); } // ----------------------------------------------------------------------- void FormMain::OnPropertyGridColEndDrag( wxPropertyGridEvent& event ) { - wxLogMessage(wxT("Splitter %i resize ended"), event.GetColumn()); + wxLogDebug(wxT("Splitter %i resize ended"), event.GetColumn()); } // -----------------------------------------------------------------------