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.
This commit is contained in:
Artur Wieczorek
2019-07-05 20:23:49 +02:00
parent ac9a74ad29
commit 0b27a66700

View File

@@ -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