]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/utilsunx.cpp
MOre wxUSE_... fixes
[wxWidgets.git] / src / unix / utilsunx.cpp
index bbec3070ae50a80b4885b88df897eafed9d23c81..abe366b9fcb50c804cd85a9422f9b338211aceef 100644 (file)
@@ -15,6 +15,9 @@
 // headers
 // ----------------------------------------------------------------------------
 
+// for compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
 #include "wx/defs.h"
 #include "wx/string.h"
 
@@ -1163,6 +1166,9 @@ int wxGUIAppTraits::WaitForChild(wxExecuteData& execData)
     }
 }
 
+#endif // wxUSE_GUI
+#if wxUSE_BASE
+
 void wxHandleProcessTermination(wxEndProcessData *proc_data)
 {
     // notify user about termination if required
@@ -1183,5 +1189,4 @@ void wxHandleProcessTermination(wxEndProcessData *proc_data)
     }
 }
 
-#endif // wxUSE_GUI
-
+#endif // wxUSE_BASE