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:
@@ -20,12 +20,11 @@
|
|||||||
|
|
||||||
#if wxUSE_AUI
|
#if wxUSE_AUI
|
||||||
|
|
||||||
#include "wx/frame.h"
|
#if wxUSE_MINIFRAME
|
||||||
|
|
||||||
#if defined( __WXMSW__ ) || defined( __WXMAC__ ) || defined( __WXGTK__ )
|
|
||||||
#include "wx/minifram.h"
|
#include "wx/minifram.h"
|
||||||
#define wxAuiFloatingFrameBaseClass wxMiniFrame
|
#define wxAuiFloatingFrameBaseClass wxMiniFrame
|
||||||
#else
|
#else
|
||||||
|
#include "wx/frame.h"
|
||||||
#define wxAuiFloatingFrameBaseClass wxFrame
|
#define wxAuiFloatingFrameBaseClass wxFrame
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user