From 14cc2debd6c178deeb6f4ee9e1f54cdde748b817 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Wed, 9 Mar 2005 07:35:32 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=5605 --- clientgui/MainFrame.cpp | 2 ++ configure.ac | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/clientgui/MainFrame.cpp b/clientgui/MainFrame.cpp index abb2dc3fb6..892b5e7883 100644 --- a/clientgui/MainFrame.cpp +++ b/clientgui/MainFrame.cpp @@ -525,8 +525,10 @@ bool CMainFrame::RestoreState() pConfig->Read(wxT("Height"), &iHeight, 600); SetSize( -1, -1, iWidth, iHeight ); +#if defined(__WXMSW__) || defined(__WXMAC__) Iconize( bWindowIconized ); Maximize( bWindowMaximized ); +#endif // diff --git a/configure.ac b/configure.ac index 0eb3187177..00135281a6 100644 --- a/configure.ac +++ b/configure.ac @@ -315,9 +315,9 @@ AM_OPTIONS_WXCONFIG dnl check for wxWidgets if test "${enable_debug}" = yes ; then - AM_PATH_WXCONFIG(2.3.4, wxWin=1, --debug) + AM_PATH_WXCONFIG([2.3.4], [wxWin=1], [wxWin=0], --debug) else - AM_PATH_WXCONFIG(2.3.4, wxWin=1) + AM_PATH_WXCONFIG([2.3.4], [wxWin=1], [wxWin=0]) fi if ( test "${enable_client}" = yes ) && ( test "$wxWin" != 1 ); then @@ -413,7 +413,7 @@ AC_SUBST(CLIENTLIBS) CLIENTGUIFLAGS="-DNOCLIPBOARD -DNOTASKBAR" if test "${enable_debug}" = yes; then - CLIENTGUIFLAGS="${CLIENTGUIFLAGS} -D__WXDEBUG__ -D_DEBUG -DDEBUG" + CLIENTGUIFLAGS="${CLIENTGUIFLAGS} -D_DEBUG -DDEBUG" fi CLIENTGUILIBS=${WX_LIBS}