]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/threadsgi.cpp
Fix memory leak by letting the base class version handle the
[wxWidgets.git] / src / gtk1 / threadsgi.cpp
index 217f67d7d96d2f7abe40076e1ea24ae509b9fc6d..57596edb67be78db9e21155b057c42771663fabc 100644 (file)
@@ -6,12 +6,15 @@
 // Created:     04/22/98
 // RCS-ID:      $Id$
 // Copyright:   (c) Wolfram Gloger (1996, 1997); Guilhem Lavaux (1998)
-// Licence:     wxWindows licence
+// Licence:     wxWidgets licence
 /////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "thread.h"
 #endif
 
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
 #include <stdio.h>
 #include <unistd.h>