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,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
|
||||
|
Reference in New Issue
Block a user