]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/minifram.cpp
fix for crash when undocking AUI toolbars (same as r59107 in 2.8 branch)
[wxWidgets.git] / src / x11 / minifram.cpp
index 4cfebd216311212cfb7a26361ea49b5ec65adfbb..73c5310f8799020d904f743f5a8123525066f9a5 100644 (file)
@@ -6,15 +6,15 @@
 // Created:     17/09/98
 // RCS-ID:      $Id$
 // Copyright:   (c) Julian Smart
-// Licence:    wxWidgets licence
+// 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