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
This commit is contained in:
Vadim Zeitlin
2008-02-27 17:29:54 +00:00
parent 1edce33f7e
commit 81bed90ee4

View File

@@ -20,13 +20,12 @@
#if wxUSE_AUI #if wxUSE_AUI
#include "wx/frame.h" #if wxUSE_MINIFRAME
#include "wx/minifram.h"
#if defined( __WXMSW__ ) || defined( __WXMAC__ ) || defined( __WXGTK__ ) #define wxAuiFloatingFrameBaseClass wxMiniFrame
#include "wx/minifram.h"
#define wxAuiFloatingFrameBaseClass wxMiniFrame
#else #else
#define wxAuiFloatingFrameBaseClass wxFrame #include "wx/frame.h"
#define wxAuiFloatingFrameBaseClass wxFrame
#endif #endif
class WXDLLIMPEXP_AUI wxAuiFloatingFrame : public wxAuiFloatingFrameBaseClass class WXDLLIMPEXP_AUI wxAuiFloatingFrame : public wxAuiFloatingFrameBaseClass