add #if wxUSE_AUI to get VC6 with no wxUSE_AUI to compile

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Chris Elliott
2006-08-18 08:05:41 +00:00
parent b9d4a1b769
commit 25f70bc4a1
2 changed files with 6 additions and 1 deletions

View File

@@ -12,6 +12,8 @@
#ifndef _WX_AUITABMDI_H_ #ifndef _WX_AUITABMDI_H_
#define _WX_AUITABMDI_H_ #define _WX_AUITABMDI_H_
#if wxUSE_AUI
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// headers // headers
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
@@ -248,5 +250,6 @@ private:
DECLARE_DYNAMIC_CLASS(wxTabMDIClientWindow) DECLARE_DYNAMIC_CLASS(wxTabMDIClientWindow)
DECLARE_EVENT_TABLE() DECLARE_EVENT_TABLE()
}; };
#endif // wxUSE_AUI
#endif // _WX_AUITABMDI_H_ #endif // _WX_AUITABMDI_H_

View File

@@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Name: src/generic/tabmdi.cpp // Name: src/aui/tabmdi.cpp
// Purpose: Generic MDI (Multiple Document Interface) classes // Purpose: Generic MDI (Multiple Document Interface) classes
// Author: Hans Van Leemputten // Author: Hans Van Leemputten
// Modified by: Benjamin I. Williams / Kirix Corporation // Modified by: Benjamin I. Williams / Kirix Corporation
@@ -24,6 +24,7 @@
#pragma hdrstop #pragma hdrstop
#endif #endif
#if wxUSE_AUI
#if wxUSE_MDI #if wxUSE_MDI
#include "wx/aui/tabmdi.h" #include "wx/aui/tabmdi.h"
@@ -680,4 +681,5 @@ void wxTabMDIClientWindow::OnSize(wxSizeEvent& evt)
((wxTabMDIChildFrame *)GetPage(pos))->ApplyMDIChildFrameRect(); ((wxTabMDIChildFrame *)GetPage(pos))->ApplyMDIChildFrameRect();
} }
#endif //wxUSE_AUI
#endif // wxUSE_MDI #endif // wxUSE_MDI