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.
This commit is contained in:
Artur Wieczorek 2015-06-13 22:39:16 +02:00
parent 5d763571b0
commit 6d29584b48

View File

@ -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());
}
// -----------------------------------------------------------------------