X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/000eea7a2ef45e4053b66bdcc8fd57bfb2e907de..9083e7fb1aa2ade4fea7376fd059613b66929535:/src/common/appbase.cpp diff --git a/src/common/appbase.cpp b/src/common/appbase.cpp index e7eec2c75e..7a6978b255 100644 --- a/src/common/appbase.cpp +++ b/src/common/appbase.cpp @@ -51,11 +51,13 @@ #include #endif +#ifndef __WXPALMOS5__ #if !defined(__WXMSW__) || defined(__WXMICROWIN__) #include // for SIGTRAP used by wxTrap() #endif //Win/Unix #include +#endif // ! __WXPALMOS5__ #if wxUSE_FONTMAP #include "wx/fontmap.h" @@ -165,16 +167,12 @@ wxAppConsoleBase::~wxAppConsoleBase() // initilization/cleanup // ---------------------------------------------------------------------------- -bool wxAppConsoleBase::Initialize(int& argcOrig, wxChar **argvOrig) +bool wxAppConsoleBase::Initialize(int& WXUNUSED(argc), wxChar **WXUNUSED(argv)) { #if wxUSE_INTL GetTraits()->SetLocale(); #endif // wxUSE_INTL - // remember the command line arguments - argc = argcOrig; - argv = argvOrig; - #if wxUSE_THREADS wxPendingEventsLocker = new wxCriticalSection; #endif