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:
Artur Wieczorek
2018-12-22 12:00:20 +01:00
parent 9c77e0b2a5
commit 8432726ba8

View File

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