Add missing wxUSE_MDI check to wxAUI MDI header
The implementation file already checked for both wxUSE_AUI && wxUSE_MDI, but wx/aui/tabmdi.h didn't check the value of the latter -- do it now.
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
#ifndef _WX_AUITABMDI_H_
|
#ifndef _WX_AUITABMDI_H_
|
||||||
#define _WX_AUITABMDI_H_
|
#define _WX_AUITABMDI_H_
|
||||||
|
|
||||||
#if wxUSE_AUI
|
#if wxUSE_AUI && wxUSE_MDI
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// headers
|
// headers
|
||||||
@@ -265,6 +265,6 @@ private:
|
|||||||
wxDECLARE_DYNAMIC_CLASS(wxAuiMDIClientWindow);
|
wxDECLARE_DYNAMIC_CLASS(wxAuiMDIClientWindow);
|
||||||
wxDECLARE_EVENT_TABLE();
|
wxDECLARE_EVENT_TABLE();
|
||||||
};
|
};
|
||||||
#endif // wxUSE_AUI
|
#endif // wxUSE_AUI && wxUSE_MDI
|
||||||
|
|
||||||
#endif // _WX_AUITABMDI_H_
|
#endif // _WX_AUITABMDI_H_
|
||||||
|
Reference in New Issue
Block a user