]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/minifram.cpp
changing guard to support popupwindows as well
[wxWidgets.git] / src / mac / carbon / minifram.cpp
index ab9fd1a72957b2f3a7d9ca18c92fd52f2bd676f6..f7266d529ee770aeb2a8cf4113e15da4c1f18ae7 100644 (file)
@@ -9,14 +9,12 @@
 // Licence:       wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma implementation "minifram.h"
-#endif
-
 #include "wx/wxprec.h"
 
+#if wxUSE_MINIFRAME
+
 #include "wx/minifram.h"
 
 IMPLEMENT_DYNAMIC_CLASS(wxMiniFrame, wxFrame)
 
-
+#endif // wxUSE_MINIFRAME