Consistently use wxT macro with string literals in propgrid sample.
Continued unification of string literals in the sample.
This commit is contained in:
@@ -59,12 +59,12 @@ void MyFrame::OnPropertyGridChange(wxPropertyGridEvent &event)
|
|||||||
|
|
||||||
if ( p )
|
if ( p )
|
||||||
{
|
{
|
||||||
wxLogVerbose("OnPropertyGridChange(%s, value=%s)",
|
wxLogVerbose(wxT("OnPropertyGridChange(%s, value=%s)"),
|
||||||
p->GetName().c_str(), p->GetValueAsString().c_str());
|
p->GetName().c_str(), p->GetValueAsString().c_str());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
wxLogVerbose("OnPropertyGridChange(NULL)");
|
wxLogVerbose(wxT("OnPropertyGridChange(NULL)"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -72,7 +72,7 @@ void MyFrame::OnPropertyGridChanging(wxPropertyGridEvent &event)
|
|||||||
{
|
{
|
||||||
wxPGProperty* p = event.GetProperty();
|
wxPGProperty* p = event.GetProperty();
|
||||||
|
|
||||||
wxLogVerbose("OnPropertyGridChanging(%s)", p->GetName().c_str());
|
wxLogVerbose(wxT("OnPropertyGridChanging(%s)"), p->GetName().c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
void MyFrame::OnAction(wxCommandEvent &)
|
void MyFrame::OnAction(wxCommandEvent &)
|
||||||
|
Reference in New Issue
Block a user