]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msgout.h
compilation fixes (apparently, gcc <3.4 didn't validate code in templates that were...
[wxWidgets.git] / include / wx / msgout.h
index b82c3b72a85c6151bd21d9301effcf5a28e7a4b1..cab47aa087ab7814229a37c66cc15ead42b80dd5 100755 (executable)
 // headers
 // ----------------------------------------------------------------------------
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) && !defined(__EMX__)
+// Some older compilers (such as EMX) cannot handle
+// #pragma interface/implementation correctly, iff 
+// #pragma implementation is used in _two_ translation
+// units (as created by e.g. event.cpp compiled for
+// libwx_base and event.cpp compiled for libwx_gui_core).
+// So we must not use those pragmas for those compilers in
+// such files.
     #pragma interface "msgout.h"
 #endif