diff --git a/samples/propgrid/propgrid.cpp b/samples/propgrid/propgrid.cpp index 5a962f5a2a..346657b1f8 100644 --- a/samples/propgrid/propgrid.cpp +++ b/samples/propgrid/propgrid.cpp @@ -1305,7 +1305,7 @@ void FormMain::PopulateWithExamples () soc.Add( wxT("Look, it continues"), 200 ); soc.Add( wxT("Even More"), 240 ); soc.Add( wxT("And More"), 280 ); - soc.Add( wxT(""), 300 ); + soc.Add( wxEmptyString, 300 ); soc.Add( wxT("True End of the List"), 320 ); // Test custom colours ([] operator of wxPGChoices returns diff --git a/samples/propgrid/tests.cpp b/samples/propgrid/tests.cpp index 0a5a58dbfa..f91d684579 100644 --- a/samples/propgrid/tests.cpp +++ b/samples/propgrid/tests.cpp @@ -92,7 +92,7 @@ public: int argFlags = 0 ) const wxOVERRIDE { if ( index == (int)(m_choices.GetCount()-1) ) - return wxT(""); + return wxEmptyString; return wxColourProperty::ColourToString(col, index, argFlags); }