X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f8105809ef8f7cb0d1a9933f3f790b7b446c7cfa..ace1785b153d4873a7c7684047c144facd11a26d:/utils/configtool/src/wxconfigtool.cpp diff --git a/utils/configtool/src/wxconfigtool.cpp b/utils/configtool/src/wxconfigtool.cpp index 17fbe701db..2750da15d0 100644 --- a/utils/configtool/src/wxconfigtool.cpp +++ b/utils/configtool/src/wxconfigtool.cpp @@ -9,7 +9,7 @@ // Licence: ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "wxconfigtool.h" #endif @@ -93,12 +93,12 @@ bool ctApp::OnInit(void) #ifdef __WXMSW__ // If the development version, go up a directory. - if ((m_appDir.Right(5).CmpNoCase("DEBUG") == 0) || - (m_appDir.Right(11).CmpNoCase("DEBUGSTABLE") == 0) || - (m_appDir.Right(7).CmpNoCase("RELEASE") == 0) || - (m_appDir.Right(13).CmpNoCase("RELEASESTABLE") == 0) || - (m_appDir.Right(10).CmpNoCase("RELEASEDEV") == 0) || - (m_appDir.Right(8).CmpNoCase("DEBUGDEV") == 0) + if ((m_appDir.Right(5).CmpNoCase(_T("DEBUG")) == 0) || + (m_appDir.Right(11).CmpNoCase(_T("DEBUGSTABLE")) == 0) || + (m_appDir.Right(7).CmpNoCase(_T("RELEASE")) == 0) || + (m_appDir.Right(13).CmpNoCase(_T("RELEASESTABLE")) == 0) || + (m_appDir.Right(10).CmpNoCase(_T("RELEASEDEV")) == 0) || + (m_appDir.Right(8).CmpNoCase(_T("DEBUGDEV")) == 0) ) m_appDir = wxPathOnly(m_appDir); #endif @@ -122,7 +122,7 @@ bool ctApp::OnInit(void) ctMainFrame* frame = new ctMainFrame(m_docManager, NULL, -1, wxGetApp().GetSettings().GetAppName(), GetSettings().m_frameSize.GetPosition(), GetSettings().m_frameSize.GetSize(), - wxDEFAULT_FRAME_STYLE); + wxDEFAULT_FRAME_STYLE|wxNO_FULL_REPAINT_ON_RESIZE|wxCLIP_CHILDREN); SetTopWindow(frame); switch (wxGetApp().GetSettings().m_frameStatus)