]> 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 4cd78d710037aa875b4df5b285ac747e9e1d95e1..ab9fd1a72957b2f3a7d9ca18c92fd52f2bd676f6 100644 (file)
@@ -6,17 +6,17 @@
 // Created:     1998-01-01
 // RCS-ID:      $Id$
 // Copyright:   (c) Stefan Csomor
-// Licence:    wxWindows licence
+// 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