From: Vadim Zeitlin Date: Wed, 27 Feb 2008 17:29:54 +0000 (+0000) Subject: only define wxAuiFloatingFrameBaseClass as wxMiniFrame if wxUSE_MINIFRAME==1 (and... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/81bed90ee42032b1a17b058fa08747690bf5cbca only define wxAuiFloatingFrameBaseClass as wxMiniFrame if wxUSE_MINIFRAME==1 (and do it under all platforms, why not?) (replaces part of patch 1892654) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/aui/floatpane.h b/include/wx/aui/floatpane.h index 8c73605676..6e98d624b9 100644 --- a/include/wx/aui/floatpane.h +++ b/include/wx/aui/floatpane.h @@ -20,13 +20,12 @@ #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