From 826ab19ac914716726acd5f522fad9e827f7b444 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 12 May 2018 19:51:03 +0200 Subject: [PATCH] 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. --- include/wx/aui/tabmdi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/aui/tabmdi.h b/include/wx/aui/tabmdi.h index 2922d3a84b..1e8976f9da 100644 --- a/include/wx/aui/tabmdi.h +++ b/include/wx/aui/tabmdi.h @@ -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_