From 8d9a9e286bfa4335242d10e50c211f6c1de95013 Mon Sep 17 00:00:00 2001 From: Artur Wieczorek Date: Thu, 4 Jun 2015 22:53:30 +0200 Subject: [PATCH] Replaces references to wxT("") with wxEmptyString in propgrid sample. --- samples/propgrid/propgrid.cpp | 2 +- samples/propgrid/tests.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); }