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:
Vadim Zeitlin 2018-05-12 19:51:03 +02:00
parent ff023ef6b3
commit 826ab19ac9

View File

@ -11,7 +11,7 @@
#ifndef _WX_AUITABMDI_H_
#define _WX_AUITABMDI_H_
#if wxUSE_AUI
#if wxUSE_AUI && wxUSE_MDI
// ----------------------------------------------------------------------------
// headers
@ -265,6 +265,6 @@ private:
wxDECLARE_DYNAMIC_CLASS(wxAuiMDIClientWindow);
wxDECLARE_EVENT_TABLE();
};
#endif // wxUSE_AUI
#endif // wxUSE_AUI && wxUSE_MDI
#endif // _WX_AUITABMDI_H_