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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user