diff --git a/contrib/utils/wxrc/wxrc.cpp b/contrib/utils/wxrc/wxrc.cpp index a6e5ab1a01..1fb19ab032 100644 --- a/contrib/utils/wxrc/wxrc.cpp +++ b/contrib/utils/wxrc/wxrc.cpp @@ -48,6 +48,8 @@ public: #if wxUSE_GUI bool OnInit(); + int OnRun() { return 0; } + int OnExit() { return retCode; } #else virtual int OnRun(); #endif @@ -119,7 +121,7 @@ int XmlResApp::OnRun() else CompileRes(); #if wxUSE_GUI - return FALSE; + return TRUE; #else return retCode; #endif diff --git a/utils/wxrc/wxrc.cpp b/utils/wxrc/wxrc.cpp index a6e5ab1a01..1fb19ab032 100644 --- a/utils/wxrc/wxrc.cpp +++ b/utils/wxrc/wxrc.cpp @@ -48,6 +48,8 @@ public: #if wxUSE_GUI bool OnInit(); + int OnRun() { return 0; } + int OnExit() { return retCode; } #else virtual int OnRun(); #endif @@ -119,7 +121,7 @@ int XmlResApp::OnRun() else CompileRes(); #if wxUSE_GUI - return FALSE; + return TRUE; #else return retCode; #endif