Attempt to be consistent with conversions between std::string and wxString.
This commit is contained in:
1 parent
e82d976d2f
commit
56f09d3b91
39 files changed
+344
-300
No files matched your search
@@ -17,6 +17,7 @@
|
||||
|
||||
#include "Common.h"
|
||||
#include "AboutDolphin.h"
|
||||
#include "WxUtils.h"
|
||||
#include "../resources/dolphin_logo.cpp"
|
||||
#include "scmrev.h"
|
||||
|
||||
@@ -62,7 +63,7 @@ AboutDolphin::AboutDolphin(wxWindow *parent, wxWindowID id,
|
||||
"and should not be used to play games you do\n"
|
||||
"not legally own.";
|
||||
wxStaticText* const Message = new wxStaticText(this, wxID_ANY,
|
||||
wxString::FromAscii(Text.c_str()));
|
||||
StrToWxStr(Text.c_str()));
|
||||
Message->Wrap(GetSize().GetWidth());
|
||||
|
||||
wxBoxSizer* const sInfo = new wxBoxSizer(wxVERTICAL);
|
||||
|
||||
Reference in new issue
Block a user