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
@@ -400,11 +400,11 @@ class WXDLLIMPEXP_CORE wxPreviewFrame: public wxFrame
|
||||
public:
|
||||
wxPreviewFrame(wxPrintPreviewBase *preview,
|
||||
wxWindow *parent,
|
||||
const wxString& title = wxGetTranslation("Print Preview"),
|
||||
const wxString& title = wxGetTranslation(wxASCII_STR("Print Preview")),
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxDEFAULT_FRAME_STYLE | wxFRAME_FLOAT_ON_PARENT,
|
||||
const wxString& name = wxFrameNameStr);
|
||||
const wxString& name = wxASCII_STR(wxFrameNameStr));
|
||||
virtual ~wxPreviewFrame();
|
||||
|
||||
// Either Initialize() or InitializeWithModality() must be called before
|
||||
|
Reference in New Issue
Block a user