]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/utilsres.cpp
Fix memory leak when a spacer is added, and crash when a window is added before wxSiz...
[wxWidgets.git] / src / gtk1 / utilsres.cpp
index cf2e22fa6962f05e48828dc11e5014059dbe8017..69c6097176a2b36f26cb6aa70d3ff03a8f24c60f 100644 (file)
@@ -7,10 +7,13 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-//#ifdef __GNUG__
+//#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 //#pragma implementation "utils.h"
 //#endif
 
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
 #include "wx/utils.h"
 #include "wx/string.h"
 #include "wx/list.h"