X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8a28bf768c888e3e5fc6aa3907baec9255a7b617..fdb97de42b8a1491257566fb7bbd343916f1f2b8:/samples/propgrid/propgrid_minimal.cpp?ds=inline diff --git a/samples/propgrid/propgrid_minimal.cpp b/samples/propgrid/propgrid_minimal.cpp index b7d8f8714f..e8c77b1393 100644 --- a/samples/propgrid/propgrid_minimal.cpp +++ b/samples/propgrid/propgrid_minimal.cpp @@ -59,10 +59,14 @@ void MyFrame::OnPropertyGridChange(wxPropertyGridEvent &event) wxPGProperty* p = event.GetProperty(); if ( p ) + { wxLogVerbose("OnPropertyGridChange(%s, value=%s)", p->GetName().c_str(), p->GetValueAsString().c_str()); + } else + { wxLogVerbose("OnPropertyGridChange(NULL)"); + } } void MyFrame::OnPropertyGridChanging(wxPropertyGridEvent &event)