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,7 +17,7 @@
|
||||
|
||||
#include "DSPDebugWindow.h"
|
||||
#include "DSPRegisterView.h"
|
||||
|
||||
#include "../WxUtils.h"
|
||||
|
||||
wxString CDSPRegTable::GetValue(int row, int col)
|
||||
{
|
||||
@@ -25,7 +25,7 @@ wxString CDSPRegTable::GetValue(int row, int col)
|
||||
{
|
||||
switch (col)
|
||||
{
|
||||
case 0: return wxString::FromAscii(pdregname(row));
|
||||
case 0: return StrToWxStr(pdregname(row));
|
||||
case 1: return wxString::Format(wxT("0x%04x"), DSPCore_ReadRegister(row));
|
||||
default: return wxEmptyString;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user