git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21349 
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
 #endif
 
 #ifndef WX_PRECOMP
+    #include "wx/app.h"
+    #include "wx/intl.h"
     #if wxUSE_LOG
         #include "wx/log.h"
     #endif // wxUSE_LOG
 
 #endif // wxUSE_FONTMAP
 
+#ifdef __WXDEBUG__
 bool wxConsoleAppTraitsBase::ShowAssertDialog(const wxString& msg)
 {
     return wxAppTraitsBase::ShowAssertDialog(msg);
 }
+#endif
 
 bool wxConsoleAppTraitsBase::HasStderr()
 {
 
 #endif
 
 #ifndef WX_PRECOMP
+    #include "wx/intl.h"
+    #include "wx/log.h"
 #endif //WX_PRECOMP
 
 #include "wx/timer.h"
 
 #endif
 
 #ifndef WX_PRECOMP
+    #include "wx/log.h"
+    #include "wx/intl.h"
 #endif //WX_PRECOMP
 
 #include "wx/apptrait.h"
+#include "wx/unix/execute.h"
 
 // for waitpid()
 #include <sys/types.h>
         minor = -1;
     }
 
-    if ( majorVsn )
-        *majorVsn = major;
-    if ( minorVsn )
-        *minorVsn = minor;
+    if ( verMaj )
+        *verMaj = major;
+    if ( verMin )
+        *verMin = minor;
 
     return wxUNIX;
 }