X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aac85509bd54338c3543ca565efe08e1d378a603..dc683654a1af7f02ee87623a713a7147bcb6dd84:/src/common/appcmn.cpp diff --git a/src/common/appcmn.cpp b/src/common/appcmn.cpp index 0c15d2a85d..d4bc4cfe56 100644 --- a/src/common/appcmn.cpp +++ b/src/common/appcmn.cpp @@ -46,10 +46,9 @@ #include "wx/thread.h" #include "wx/utils.h" #include "wx/ptr_scpd.h" -#include "wx/prntbase.h" -#if defined(__WXMSW__) && !defined(__PALMOS__) - #include "wx/msw/private.h" // includes windows.h for LOGFONT +#if defined(__WXMSW__) + #include "wx/msw/private.h" // includes windows.h for LOGFONT #endif #if wxUSE_FONTMAP @@ -140,8 +139,6 @@ void wxAppBase::CleanUp() // but we want to delete them now delete wxTopLevelWindows.GetFirst()->GetData(); } - - wxPrintFactory::SetPrintFactory( NULL ); // undo everything we did in Initialize() above wxBitmap::CleanUpHandlers(); @@ -187,7 +184,7 @@ void wxAppBase::OnInitCmdLine(wxCmdLineParser& parser) #ifdef __WXUNIVERSAL__ { wxCMD_LINE_OPTION, - _T(""), + wxEmptyString, OPTION_THEME, gettext_noop("specify the theme to use"), wxCMD_LINE_VAL_STRING, @@ -201,7 +198,7 @@ void wxAppBase::OnInitCmdLine(wxCmdLineParser& parser) // and not mgl/app.cpp { wxCMD_LINE_OPTION, - _T(""), + wxEmptyString, OPTION_MODE, gettext_noop("specify display mode to use (e.g. 640x480-16)"), wxCMD_LINE_VAL_STRING, @@ -212,9 +209,9 @@ void wxAppBase::OnInitCmdLine(wxCmdLineParser& parser) // terminator { wxCMD_LINE_NONE, - _T(""), - _T(""), - _T(""), + wxEmptyString, + wxEmptyString, + wxEmptyString, wxCMD_LINE_VAL_NONE, 0x0 }