]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/statbox.cpp
Added wxAutoNSAutoreleasePool where needed for controls sample.
[wxWidgets.git] / src / motif / statbox.cpp
index 3aad2651532e4e6e394c79001c43ffd41e92ef7e..5bdf05ea044c030b20a8b57269100130db3029ca 100644 (file)
@@ -9,10 +9,13 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "statbox.h"
 #endif
 
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
 #ifdef __VMS
 #define XtDisplay XTDISPLAY
 #endif