split wxUSE_MDI from wxUSE_MDI_ARCHITECTURE (which is wxUSE_MDI + wxUSE_DOCVIEW)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -496,6 +496,14 @@
|
||||
# endif
|
||||
#endif /* !defined(wxUSE_LOG_DIALOG) */
|
||||
|
||||
#ifndef wxUSE_MDI
|
||||
# ifdef wxABORT_ON_CONFIG_ERROR
|
||||
# error "wxUSE_MDI must be defined."
|
||||
# else
|
||||
# define wxUSE_MDI 0
|
||||
# endif
|
||||
#endif /* !defined(wxUSE_MDI) */
|
||||
|
||||
#ifndef wxUSE_MDI_ARCHITECTURE
|
||||
# ifdef wxABORT_ON_CONFIG_ERROR
|
||||
# error "wxUSE_MDI_ARCHITECTURE must be defined."
|
||||
@@ -1340,6 +1348,15 @@
|
||||
#endif /* wxUSE_PRINTING_ARCHITECTURE */
|
||||
|
||||
#if wxUSE_MDI_ARCHITECTURE
|
||||
# if !wxUSE_MDI
|
||||
# ifdef wxABORT_ON_CONFIG_ERROR
|
||||
# error "MDI requires wxUSE_MDI"
|
||||
# else
|
||||
# undef wxUSE_MDI
|
||||
# define wxUSE_MDI 1
|
||||
# endif
|
||||
# endif
|
||||
|
||||
# if !wxUSE_DOC_VIEW_ARCHITECTURE
|
||||
# ifdef wxABORT_ON_CONFIG_ERROR
|
||||
# error "MDI requires wxUSE_DOC_VIEW_ARCHITECTURE"
|
||||
|
@@ -739,10 +739,21 @@
|
||||
// Big GUI components
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// Set to 0 to disable MDI support.
|
||||
//
|
||||
// Requires wxUSE_NOTEBOOK under platforms other than MSW.
|
||||
//
|
||||
// Default is 1.
|
||||
//
|
||||
// Recommended setting: 1, can be safely set to 0.
|
||||
#define wxUSE_MDI 1
|
||||
|
||||
// Set to 0 to disable document/view architecture
|
||||
#define wxUSE_DOC_VIEW_ARCHITECTURE 1
|
||||
|
||||
// Set to 0 to disable MDI document/view architecture
|
||||
//
|
||||
// Requires wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE
|
||||
#define wxUSE_MDI_ARCHITECTURE 1
|
||||
|
||||
// Set to 0 to disable print/preview architecture code
|
||||
|
@@ -3,7 +3,7 @@
|
||||
|
||||
#include "wx/setup.h"
|
||||
|
||||
#if wxUSE_MDI_ARCHITECTURE
|
||||
#if wxUSE_MDI
|
||||
|
||||
#if defined(__WXUNIVERSAL__)
|
||||
#include "wx/generic/mdig.h"
|
||||
@@ -21,7 +21,7 @@
|
||||
#include "wx/generic/mdig.h"
|
||||
#endif
|
||||
|
||||
#endif // wxUSE_MDI_ARCHITECTURE
|
||||
#endif // wxUSE_MDI
|
||||
|
||||
#endif
|
||||
// _WX_MDI_H_BASE_
|
||||
|
@@ -786,10 +786,21 @@
|
||||
// Big GUI components
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// Set to 0 to disable MDI support.
|
||||
//
|
||||
// Requires wxUSE_NOTEBOOK under platforms other than MSW.
|
||||
//
|
||||
// Default is 1.
|
||||
//
|
||||
// Recommended setting: 1, can be safely set to 0.
|
||||
#define wxUSE_MDI 1
|
||||
|
||||
// Set to 0 to disable document/view architecture
|
||||
#define wxUSE_DOC_VIEW_ARCHITECTURE 1
|
||||
|
||||
// Set to 0 to disable MDI document/view architecture
|
||||
//
|
||||
// Requires wxUSE_MDI && wxUSE_DOC_VIEW_ARCHITECTURE
|
||||
#define wxUSE_MDI_ARCHITECTURE 1
|
||||
|
||||
// Set to 0 to disable print/preview architecture code
|
||||
|
@@ -156,6 +156,8 @@
|
||||
|
||||
#define wxUSE_DOC_VIEW_ARCHITECTURE 1
|
||||
// Set to 0 to disable document/view architecture
|
||||
#define wxUSE_MDI 1
|
||||
|
||||
#define wxUSE_MDI_ARCHITECTURE 1
|
||||
// Set to 0 to disable MDI document/view architecture
|
||||
#define wxUSE_PRINTING_ARCHITECTURE 1
|
||||
|
Reference in New Issue
Block a user