From 0b27a667001160dd994cf18fb7456ae6841804e6 Mon Sep 17 00:00:00 2001 From: Artur Wieczorek Date: Fri, 5 Jul 2019 20:23:49 +0200 Subject: [PATCH] Get rid of wxT() macro from string literal in propgrid sample Since wxDirsProperty derives from wxArrayStringProperty and new implementation of this class no longer passes this macro parameter to OnButtonClick() so wxChar* string is no longer required here. --- samples/propgrid/sampleprops.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/samples/propgrid/sampleprops.cpp b/samples/propgrid/sampleprops.cpp index 1d69f4dfb2..45d6c68c4e 100644 --- a/samples/propgrid/sampleprops.cpp +++ b/samples/propgrid/sampleprops.cpp @@ -273,8 +273,7 @@ wxVariant wxPointProperty::ChildChanged( wxVariant& thisValue, // Dirs Property // ----------------------------------------------------------------------- -WX_PG_IMPLEMENT_ARRAYSTRING_PROPERTY_WITH_VALIDATOR(wxDirsProperty, ',', - wxT("Browse")) // This literal has to be of wxChar* type +WX_PG_IMPLEMENT_ARRAYSTRING_PROPERTY_WITH_VALIDATOR(wxDirsProperty, ',', "Browse") #if wxUSE_VALIDATORS