Use wxASCII_STR() on string literals
Fix the build with wxNO_IMPLICIT_WXSTRING_ENCODING.
This commit is contained in:
committed by
Vadim Zeitlin
parent
65cbf40b7e
commit
c86bcf962d
@@ -117,7 +117,7 @@ public:
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxFNTP_DEFAULT_STYLE,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = wxFontPickerCtrlNameStr)
|
||||
const wxString& name = wxASCII_STR(wxFontPickerCtrlNameStr))
|
||||
: m_nMinPointSize(wxFNTP_MINPOINT_SIZE), m_nMaxPointSize(wxFNTP_MAXPOINT_SIZE)
|
||||
{
|
||||
Create(parent, id, initial, pos, size, style, validator, name);
|
||||
@@ -130,7 +130,7 @@ public:
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxFNTP_DEFAULT_STYLE,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = wxFontPickerCtrlNameStr);
|
||||
const wxString& name = wxASCII_STR(wxFontPickerCtrlNameStr));
|
||||
|
||||
|
||||
public: // public API
|
||||
|
Reference in New Issue
Block a user