]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/appbase.cpp
use correct WXDLLIMPEXP_FWD_XXX (patch from Tim Stahlhut)
[wxWidgets.git] / src / common / appbase.cpp
index 27fa04d6b3fd58af6cebe62d0d21151c072a9b01..0a33d3b00f966a95587b053b3565e47a33418c1b 100644 (file)
@@ -177,7 +177,7 @@ bool wxAppConsoleBase::Initialize(int& argcOrig, wxChar **argvOrig)
 #endif
 
 #ifndef __WXPALMOS__
-    if ( m_appName.empty() && (bool) argv )
+    if ( m_appName.empty() && argv )
     {
         // the application name is, by default, the name of its executable file
         wxFileName::SplitPath(argv[0], NULL, &m_appName, NULL);
@@ -790,12 +790,6 @@ void wxTrap()
 {
 #if defined(__WXMSW__) && !defined(__WXMICROWIN__)
     DebugBreak();
-#elif defined(__WXMAC__) && !defined(__DARWIN__)
-    #if __powerc
-        Debugger();
-    #else
-        SysBreak();
-    #endif
 #elif defined(_MSL_USING_MW_C_HEADERS) && _MSL_USING_MW_C_HEADERS
     Debugger();
 #elif defined(__UNIX__)