]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/thread.h
wxTopLevelWindows is now a wxWindowList, better compatibility with the old
[wxWidgets.git] / include / wx / thread.h
index 821f4a4a3d3f24d8369904d07ba0f90667046f33..82c784744789605fc9f91a9661b09f75c71b3b13 100644 (file)
 #ifndef __THREADH__
 #define __THREADH__
 
-#ifdef __GNUG__
-    #pragma interface "thread.h"
-#endif
-
 // ----------------------------------------------------------------------------
 // headers
 // ----------------------------------------------------------------------------
 #include "wx/setup.h"
 
 #if wxUSE_THREADS
+/* otherwise we get undefined references for non-thread case (KB)*/
+#ifdef __GNUG__
+    #pragma interface "thread.h"
+#endif
 
 // Windows headers define it
 #ifdef Yield