]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/aui/floatpane.h
include the headers needed for its compilation from the header itself
[wxWidgets.git] / include / wx / aui / floatpane.h
index 8c7360567624037bfb40c80ea196da28a88a4551..6e98d624b9510aeb589e1c1370e2cd36a382aafd 100644 (file)
 
 #if wxUSE_AUI
 
-#include "wx/frame.h"
-
-#if defined( __WXMSW__ ) || defined( __WXMAC__ ) ||  defined( __WXGTK__ )
-#include "wx/minifram.h"
-#define wxAuiFloatingFrameBaseClass wxMiniFrame
+#if wxUSE_MINIFRAME
+    #include "wx/minifram.h"
+    #define wxAuiFloatingFrameBaseClass wxMiniFrame
 #else
-#define wxAuiFloatingFrameBaseClass wxFrame
+    #include "wx/frame.h"
+    #define wxAuiFloatingFrameBaseClass wxFrame
 #endif
 
 class WXDLLIMPEXP_AUI wxAuiFloatingFrame : public wxAuiFloatingFrameBaseClass