summaryrefslogtreecommitdiff
path: root/Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp
diff options
context:
space:
mode:
authornakeee <nakeee@gmail.com>2009-10-05 07:31:38 +0000
committernakeee <nakeee@gmail.com>2009-10-05 07:31:38 +0000
commit188e3b91724624c06d5afeb57b04bc8e5de32693 (patch)
tree4910cfbf0245cf1fe0b99d5e268437aa182e2e52 /Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp
parent06e79364b04825838832c14b7de3123cd25c65de (diff)
Trying to get gui to compile with wx 2.9
Shouldn't affect normal compile. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4362 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp')
-rw-r--r--Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp b/Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp
index 78b5ca1f52..474d62a179 100644
--- a/Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp
+++ b/Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp
@@ -304,7 +304,7 @@ void CCodeWindow::OnSymbolsMenu(wxCommandEvent& event)
_T("Apply signature file"), wxEmptyString, wxEmptyString, wxEmptyString,
_T("Dolphin Symbole Rename File (*.sym)|*.sym;"), wxFD_OPEN | wxFD_FILE_MUST_EXIST,
this);
- if (path)
+ if (! path.IsEmpty())
{
FILE *f = fopen(path.mb_str(), "r");
if (!f)
@@ -342,7 +342,7 @@ void CCodeWindow::OnSymbolsMenu(wxCommandEvent& event)
_T("Save signature as"), wxEmptyString, wxEmptyString, wxEmptyString,
_T("Dolphin Signature File (*.dsy)|*.dsy;"), wxFD_SAVE,
this);
- if (path) {
+ if (! path.IsEmpty()) {
SignatureDB db;
db.Initialize(&g_symbolDB, prefix.c_str());
std::string filename(path.mb_str()); // PPCAnalyst::SaveSignatureDB(
@@ -357,7 +357,7 @@ void CCodeWindow::OnSymbolsMenu(wxCommandEvent& event)
_T("Apply signature file"), wxEmptyString, wxEmptyString, wxEmptyString,
_T("Dolphin Signature File (*.dsy)|*.dsy;"), wxFD_OPEN | wxFD_FILE_MUST_EXIST,
this);
- if (path) {
+ if (! path.IsEmpty()) {
SignatureDB db;
db.Load(path.mb_str());
db.Apply(&g_symbolDB);