]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/appunix.cpp
changed wxWindow::ApplyToolTip to take UTF8-encoded char* instead of wxChar* to avoid...
[wxWidgets.git] / src / unix / appunix.cpp
index a40991715ab1ab477d938e4e16fd39ac42a34c54..15bff1bd775101bacf6f0f758d111d19dbcfe8f3 100644 (file)
 #include "wx/log.h"
 #include "wx/evtloop.h"
 
+//this code should not be compiled when GUI is defined
+//(monolithic build issue)
+#if !wxUSE_GUI
+
 #include <signal.h>
 #include <unistd.h>
 
@@ -75,3 +79,5 @@ bool wxAppConsoleUnix::SetSignalHandler(int signal, SignalHandler handler)
 
     return true;
 }
+
+#endif // !wxUSE_GUI