]> git.saurik.com Git - wxWidgets.git/commitdiff
only define wxAuiFloatingFrameBaseClass as wxMiniFrame if wxUSE_MINIFRAME==1 (and...
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 27 Feb 2008 17:29:54 +0000 (17:29 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 27 Feb 2008 17:29:54 +0000 (17:29 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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