Make string literal wxChar* string
This macro parameter is passed to wxArrayStringProperty::OnButtonClick() parameter of wxChar* type. char* string interpreted in this function as a wxChar* string results in obtaining invalid Unicode characters.
This fixes a regression introduced in b70ed2d8c8
.
Closes #18307.
This commit is contained in:
@@ -277,7 +277,7 @@ wxVariant wxPointProperty::ChildChanged( wxVariant& thisValue,
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
WX_PG_IMPLEMENT_ARRAYSTRING_PROPERTY_WITH_VALIDATOR(wxDirsProperty, ',',
|
||||
"Browse")
|
||||
wxT("Browse")) // This literal has to be of wxChar* type
|
||||
|
||||
#if wxUSE_VALIDATORS
|
||||
|
||||
|
Reference in New Issue
Block a user