X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8a28bf768c888e3e5fc6aa3907baec9255a7b617..14619f10b0bdb630206607abd0ce0319d45e095a:/samples/propgrid/propgrid_minimal.cpp diff --git a/samples/propgrid/propgrid_minimal.cpp b/samples/propgrid/propgrid_minimal.cpp index b7d8f8714f..3235a91d07 100644 --- a/samples/propgrid/propgrid_minimal.cpp +++ b/samples/propgrid/propgrid_minimal.cpp @@ -6,7 +6,7 @@ // Created: 2008-08-23 // RCS-ID: $Id$ // Copyright: (c) Jaakko Salli -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #include "wx/wx.h" @@ -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)