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
@@ -38,20 +38,20 @@ public:
|
||||
wxGenericDirDialog() : wxDirDialogBase() { }
|
||||
|
||||
wxGenericDirDialog(wxWindow* parent,
|
||||
const wxString& title = wxDirSelectorPromptStr,
|
||||
const wxString& title = wxASCII_STR(wxDirSelectorPromptStr),
|
||||
const wxString& defaultPath = wxEmptyString,
|
||||
long style = wxDD_DEFAULT_STYLE,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& sz = wxDefaultSize,//Size(450, 550),
|
||||
const wxString& name = wxDirDialogNameStr);
|
||||
const wxString& name = wxASCII_STR(wxDirDialogNameStr));
|
||||
|
||||
bool Create(wxWindow* parent,
|
||||
const wxString& title = wxDirSelectorPromptStr,
|
||||
const wxString& title = wxASCII_STR(wxDirSelectorPromptStr),
|
||||
const wxString& defaultPath = wxEmptyString,
|
||||
long style = wxDD_DEFAULT_STYLE,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& sz = wxDefaultSize,//Size(450, 550),
|
||||
const wxString& name = wxDirDialogNameStr);
|
||||
const wxString& name = wxASCII_STR(wxDirDialogNameStr));
|
||||
|
||||
//// Accessors
|
||||
void SetPath(const wxString& path) wxOVERRIDE;
|
||||
|
Reference in New Issue
Block a user