diff --git a/samples/propgrid/propgrid_minimal.cpp b/samples/propgrid/propgrid_minimal.cpp index bacb3e714d..88c5f329f1 100644 --- a/samples/propgrid/propgrid_minimal.cpp +++ b/samples/propgrid/propgrid_minimal.cpp @@ -59,12 +59,12 @@ void MyFrame::OnPropertyGridChange(wxPropertyGridEvent &event) if ( p ) { - wxLogVerbose("OnPropertyGridChange(%s, value=%s)", + wxLogVerbose(wxT("OnPropertyGridChange(%s, value=%s)"), p->GetName().c_str(), p->GetValueAsString().c_str()); } else { - wxLogVerbose("OnPropertyGridChange(NULL)"); + wxLogVerbose(wxT("OnPropertyGridChange(NULL)")); } } @@ -72,7 +72,7 @@ void MyFrame::OnPropertyGridChanging(wxPropertyGridEvent &event) { wxPGProperty* p = event.GetProperty(); - wxLogVerbose("OnPropertyGridChanging(%s)", p->GetName().c_str()); + wxLogVerbose(wxT("OnPropertyGridChanging(%s)"), p->GetName().c_str()); } void MyFrame::OnAction(wxCommandEvent &)