git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21563
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
CPPFLAGS="$CPPFLAGS -D_WIN32_IE=0x400"
fi
CPPFLAGS="$CPPFLAGS -D_WIN32_IE=0x400"
fi
- LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
+ LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
LIBS="$LIBS -loleacc"
if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
LIBS="$LIBS -loleacc"
case "${host}" in
*-*-cygwin* )
case "${host}" in
*-*-cygwin* )
- LIBS="$LIBS -lkernel32 -luser32 -lcomdlg32"
+ LIBS="$LIBS -lkernel32 -luser32"
TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
esac
TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
esac
dnl --- FIXME: This is still a somewhat random list of libs,
dnl --- some of them should probably be included conditionally.
dnl --- FIXME: This is still a somewhat random list of libs,
dnl --- some of them should probably be included conditionally.
- LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
+ LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
LIBS="$LIBS -loleacc"
if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
LIBS="$LIBS -loleacc"
case "${host}" in
*-*-cygwin* )
dnl Cygwin doesn't include these by default
case "${host}" in
*-*-cygwin* )
dnl Cygwin doesn't include these by default
- LIBS="$LIBS -lkernel32 -luser32 -lcomdlg32"
+ LIBS="$LIBS -lkernel32 -luser32"
TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
esac
TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
esac
+/*
+ * GCC does not have SEH (__try/__catch)
+ */
+
+#if defined(__GNUG__)
+ #undef wxUSE_ON_FATAL_EXCEPTION
+ #define wxUSE_ON_FATAL_EXCEPTION 0
+#endif
+
/*
* wxUSE_DEBUG_NEW_ALWAYS doesn't work with CodeWarrior
*/
/*
* wxUSE_DEBUG_NEW_ALWAYS doesn't work with CodeWarrior
*/
#include "wx/list.h"
#include "wx/log.h"
#include "wx/msgdlg.h"
#include "wx/list.h"
#include "wx/log.h"
#include "wx/msgdlg.h"
+ #include "wx/bitmap.h"
+ #include "wx/confbase.h"
#endif
#include "wx/apptrait.h"
#endif
#include "wx/apptrait.h"
#include "wx/event.h"
#include "wx/app.h"
#include "wx/event.h"
#include "wx/app.h"
#include "wx/cmdline.h"
#include "wx/msw/private.h"
#include "wx/cmdline.h"
#include "wx/msw/private.h"
#endif //WX_PRECOMP
#include "wx/apptrait.h"
#endif //WX_PRECOMP
#include "wx/apptrait.h"
#include "wx/unix/execute.h"
// for waitpid()
#include "wx/unix/execute.h"
// for waitpid()