]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/minifram.cpp
correcting condition: only interfere in the non-native case
[wxWidgets.git] / src / mac / carbon / minifram.cpp
index 6b49b9bdc74542e9dc97c5b87d83b06901742a35..ab9fd1a72957b2f3a7d9ca18c92fd52f2bd676f6 100644 (file)
@@ -9,14 +9,14 @@
 // Licence:       wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "minifram.h"
 #endif
 
+#include "wx/wxprec.h"
+
 #include "wx/minifram.h"
 
-#if !USE_SHARED_LIBRARY
 IMPLEMENT_DYNAMIC_CLASS(wxMiniFrame, wxFrame)
-#endif