Add wxUSE_PREFERENCES_EDITOR and the corresponding configure option.
This was somehow forgotten when wxPreferencesEditor was added. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -936,6 +936,14 @@
|
||||
# endif
|
||||
#endif /* !defined(wxUSE_POPUPWIN) */
|
||||
|
||||
#ifndef wxUSE_PREFERENCES_EDITOR
|
||||
# ifdef wxABORT_ON_CONFIG_ERROR
|
||||
# error "wxUSE_PREFERENCES_EDITOR must be defined, please read comment near the top of this file."
|
||||
# else
|
||||
# define wxUSE_PREFERENCES_EDITOR 0
|
||||
# endif
|
||||
#endif /* !defined(wxUSE_PREFERENCES_EDITOR) */
|
||||
|
||||
#ifndef wxUSE_PRINTING_ARCHITECTURE
|
||||
# ifdef wxABORT_ON_CONFIG_ERROR
|
||||
# error "wxUSE_PRINTING_ARCHITECTURE must be defined, please read comment near the top of this file."
|
||||
@@ -2192,6 +2200,26 @@
|
||||
# endif
|
||||
#endif /* wxUSE_WEBVIEW && !any web view backend */
|
||||
|
||||
#if wxUSE_PREFERENCES_EDITOR
|
||||
/*
|
||||
We can use either a generic implementation, using wxNotebook, or a
|
||||
native one under wxOSX/Cocoa but then we must be using the native
|
||||
toolbar.
|
||||
*/
|
||||
# if !wxUSE_NOTEBOOK
|
||||
# ifdef __WXOSX_COCOA__
|
||||
# if !wxUSE_TOOLBAR || !wxOSX_USE_NATIVE_TOOLBAR
|
||||
# error "wxUSE_PREFERENCES_EDITOR requires native toolbar in wxOSX"
|
||||
# endif
|
||||
# else
|
||||
# error "wxUSE_PREFERENCES_EDITOR requires wxNotebook"
|
||||
# endif
|
||||
# else
|
||||
# undef wxUSE_PREFERENCES_EDITOR
|
||||
# define wxUSE_PREFERENCES_EDITOR 0
|
||||
# endif
|
||||
#endif /* wxUSE_PREFERENCES_EDITOR */
|
||||
|
||||
#endif /* wxUSE_GUI */
|
||||
|
||||
#endif /* _WX_CHKCONF_H_ */
|
||||
|
@@ -1098,6 +1098,16 @@
|
||||
// Recommended setting: 1
|
||||
#define wxUSE_NOTIFICATION_MESSAGE 1
|
||||
|
||||
// wxPreferencesEditor provides a common API for different ways of presenting
|
||||
// the standard "Preferences" or "Properties" dialog under different platforms
|
||||
// (e.g. some use modal dialogs, some use modeless ones; some apply the changes
|
||||
// immediately while others require an explicit "Apply" button).
|
||||
//
|
||||
// Default is 1.
|
||||
//
|
||||
// Recommended setting: 1 (but can be safely disabled if you don't use it)
|
||||
#define wxUSE_PREFERENCES_EDITOR 1
|
||||
|
||||
// wxRichToolTip is a customizable tooltip class which has more functionality
|
||||
// than the stock (but native, unlike this class) wxToolTip.
|
||||
//
|
||||
|
@@ -1098,6 +1098,16 @@
|
||||
// Recommended setting: 1
|
||||
#define wxUSE_NOTIFICATION_MESSAGE 1
|
||||
|
||||
// wxPreferencesEditor provides a common API for different ways of presenting
|
||||
// the standard "Preferences" or "Properties" dialog under different platforms
|
||||
// (e.g. some use modal dialogs, some use modeless ones; some apply the changes
|
||||
// immediately while others require an explicit "Apply" button).
|
||||
//
|
||||
// Default is 1.
|
||||
//
|
||||
// Recommended setting: 1 (but can be safely disabled if you don't use it)
|
||||
#define wxUSE_PREFERENCES_EDITOR 1
|
||||
|
||||
// wxRichToolTip is a customizable tooltip class which has more functionality
|
||||
// than the stock (but native, unlike this class) wxToolTip.
|
||||
//
|
||||
|
@@ -1098,6 +1098,16 @@
|
||||
// Recommended setting: 1
|
||||
#define wxUSE_NOTIFICATION_MESSAGE 1
|
||||
|
||||
// wxPreferencesEditor provides a common API for different ways of presenting
|
||||
// the standard "Preferences" or "Properties" dialog under different platforms
|
||||
// (e.g. some use modal dialogs, some use modeless ones; some apply the changes
|
||||
// immediately while others require an explicit "Apply" button).
|
||||
//
|
||||
// Default is 1.
|
||||
//
|
||||
// Recommended setting: 1 (but can be safely disabled if you don't use it)
|
||||
#define wxUSE_PREFERENCES_EDITOR 1
|
||||
|
||||
// wxRichToolTip is a customizable tooltip class which has more functionality
|
||||
// than the stock (but native, unlike this class) wxToolTip.
|
||||
//
|
||||
|
@@ -1098,6 +1098,16 @@
|
||||
// Recommended setting: 1
|
||||
#define wxUSE_NOTIFICATION_MESSAGE 1
|
||||
|
||||
// wxPreferencesEditor provides a common API for different ways of presenting
|
||||
// the standard "Preferences" or "Properties" dialog under different platforms
|
||||
// (e.g. some use modal dialogs, some use modeless ones; some apply the changes
|
||||
// immediately while others require an explicit "Apply" button).
|
||||
//
|
||||
// Default is 1.
|
||||
//
|
||||
// Recommended setting: 1 (but can be safely disabled if you don't use it)
|
||||
#define wxUSE_PREFERENCES_EDITOR 1
|
||||
|
||||
// wxRichToolTip is a customizable tooltip class which has more functionality
|
||||
// than the stock (but native, unlike this class) wxToolTip.
|
||||
//
|
||||
|
@@ -1098,6 +1098,16 @@
|
||||
// Recommended setting: 1
|
||||
#define wxUSE_NOTIFICATION_MESSAGE 1
|
||||
|
||||
// wxPreferencesEditor provides a common API for different ways of presenting
|
||||
// the standard "Preferences" or "Properties" dialog under different platforms
|
||||
// (e.g. some use modal dialogs, some use modeless ones; some apply the changes
|
||||
// immediately while others require an explicit "Apply" button).
|
||||
//
|
||||
// Default is 1.
|
||||
//
|
||||
// Recommended setting: 1 (but can be safely disabled if you don't use it)
|
||||
#define wxUSE_PREFERENCES_EDITOR 1
|
||||
|
||||
// wxRichToolTip is a customizable tooltip class which has more functionality
|
||||
// than the stock (but native, unlike this class) wxToolTip.
|
||||
//
|
||||
|
@@ -1099,6 +1099,16 @@
|
||||
// Recommended setting: 1
|
||||
#define wxUSE_NOTIFICATION_MESSAGE 1
|
||||
|
||||
// wxPreferencesEditor provides a common API for different ways of presenting
|
||||
// the standard "Preferences" or "Properties" dialog under different platforms
|
||||
// (e.g. some use modal dialogs, some use modeless ones; some apply the changes
|
||||
// immediately while others require an explicit "Apply" button).
|
||||
//
|
||||
// Default is 1.
|
||||
//
|
||||
// Recommended setting: 1 (but can be safely disabled if you don't use it)
|
||||
#define wxUSE_PREFERENCES_EDITOR 1
|
||||
|
||||
// wxRichToolTip is a customizable tooltip class which has more functionality
|
||||
// than the stock (but native, unlike this class) wxToolTip.
|
||||
//
|
||||
|
@@ -12,6 +12,9 @@
|
||||
#define _WX_PREFERENCES_H_
|
||||
|
||||
#include "wx/defs.h"
|
||||
|
||||
#if wxUSE_PREFERENCES_EDITOR
|
||||
|
||||
#include "wx/bitmap.h"
|
||||
#include "wx/vector.h"
|
||||
|
||||
@@ -138,4 +141,6 @@ private:
|
||||
wxDECLARE_NO_COPY_CLASS(wxPreferencesEditor);
|
||||
};
|
||||
|
||||
#endif // wxUSE_PREFERENCES_EDITOR
|
||||
|
||||
#endif // _WX_PREFERENCES_H_
|
||||
|
@@ -1094,6 +1094,16 @@
|
||||
// Recommended setting: 1
|
||||
#define wxUSE_NOTIFICATION_MESSAGE 1
|
||||
|
||||
// wxPreferencesEditor provides a common API for different ways of presenting
|
||||
// the standard "Preferences" or "Properties" dialog under different platforms
|
||||
// (e.g. some use modal dialogs, some use modeless ones; some apply the changes
|
||||
// immediately while others require an explicit "Apply" button).
|
||||
//
|
||||
// Default is 1.
|
||||
//
|
||||
// Recommended setting: 1 (but can be safely disabled if you don't use it)
|
||||
#define wxUSE_PREFERENCES_EDITOR 1
|
||||
|
||||
// wxRichToolTip is a customizable tooltip class which has more functionality
|
||||
// than the stock (but native, unlike this class) wxToolTip.
|
||||
//
|
||||
|
@@ -1097,6 +1097,16 @@
|
||||
// Recommended setting: 1
|
||||
#define wxUSE_NOTIFICATION_MESSAGE 1
|
||||
|
||||
// wxPreferencesEditor provides a common API for different ways of presenting
|
||||
// the standard "Preferences" or "Properties" dialog under different platforms
|
||||
// (e.g. some use modal dialogs, some use modeless ones; some apply the changes
|
||||
// immediately while others require an explicit "Apply" button).
|
||||
//
|
||||
// Default is 1.
|
||||
//
|
||||
// Recommended setting: 1 (but can be safely disabled if you don't use it)
|
||||
#define wxUSE_PREFERENCES_EDITOR 1
|
||||
|
||||
// wxRichToolTip is a customizable tooltip class which has more functionality
|
||||
// than the stock (but native, unlike this class) wxToolTip.
|
||||
//
|
||||
|
Reference in New Issue
Block a user