removed unused wxUSE_XXX options (patch 1759328)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -186,7 +186,7 @@ wxSaveFileSelector(const wxString& what,
|
||||
|
||||
|
||||
#if defined (__WXUNIVERSAL__)
|
||||
#define wxUSE_GENERIC_FILEDIALOG
|
||||
#define wxHAS_GENERIC_FILEDIALOG
|
||||
#include "wx/generic/filedlgg.h"
|
||||
#elif defined(__WXMSW__)
|
||||
#include "wx/msw/filedlg.h"
|
||||
@@ -195,7 +195,7 @@ wxSaveFileSelector(const wxString& what,
|
||||
#elif defined(__WXGTK24__)
|
||||
#include "wx/gtk/filedlg.h" // GTK+ > 2.4 has native version
|
||||
#elif defined(__WXGTK20__)
|
||||
#define wxUSE_GENERIC_FILEDIALOG
|
||||
#define wxHAS_GENERIC_FILEDIALOG
|
||||
#include "wx/generic/filedlgg.h"
|
||||
#elif defined(__WXGTK__)
|
||||
#include "wx/gtk1/filedlg.h"
|
||||
|
||||
@@ -124,7 +124,7 @@ private:
|
||||
static bool ms_lastShowHidden; // did we show hidden files?
|
||||
};
|
||||
|
||||
#ifdef wxUSE_GENERIC_FILEDIALOG
|
||||
#ifdef wxHAS_GENERIC_FILEDIALOG
|
||||
|
||||
class WXDLLEXPORT wxFileDialog: public wxGenericFileDialog
|
||||
{
|
||||
@@ -146,7 +146,7 @@ private:
|
||||
DECLARE_DYNAMIC_CLASS(wxFileDialog)
|
||||
};
|
||||
|
||||
#endif // wxUSE_GENERIC_FILEDIALOG
|
||||
#endif // wxHAS_GENERIC_FILEDIALOG
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// wxFileData - a class to hold the file info for the wxFileCtrl
|
||||
|
||||
@@ -146,14 +146,3 @@
|
||||
//
|
||||
// Recommended setting: 1, set to 0 if your programs never crash
|
||||
#define wxUSE_CRASHREPORT 1
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// obsolete settings
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// NB: all settings in this section are obsolete and should not be used/changed
|
||||
// at all, they will disappear
|
||||
|
||||
// Define 1 to use bitmap messages.
|
||||
#define wxUSE_BITMAP_MESSAGE 1
|
||||
|
||||
|
||||
@@ -361,15 +361,6 @@
|
||||
// Recommended setting: 1
|
||||
#define wxUSE_DATETIME 1
|
||||
|
||||
// wxUSE_TIMEDATE enables compilation of the old wxDate and wxTime classes (not
|
||||
// the same as wxDateTime!). These classes are obsolete and shouldn't be used
|
||||
// in new code
|
||||
//
|
||||
// Default is 0
|
||||
//
|
||||
// Recommended setting: 0 unless you have legacy code which uses these classes
|
||||
#define wxUSE_TIMEDATE 0
|
||||
|
||||
// Set wxUSE_TIMER to 1 to compile wxTimer class
|
||||
//
|
||||
// Default is 1
|
||||
@@ -543,20 +534,6 @@
|
||||
// Recommended setting: 1
|
||||
#define wxUSE_MEDIACTRL 1
|
||||
|
||||
// Use QuickTime
|
||||
//
|
||||
// Default is 0
|
||||
//
|
||||
// Recommended setting: 1 if you have the QT SDK installed and you need it, else 0
|
||||
#define wxUSE_QUICKTIME 0
|
||||
|
||||
// Use DirectShow
|
||||
//
|
||||
// Default is 0
|
||||
//
|
||||
// Recommended setting: 1 if the DirectX 7 SDK is installed (highly recommended), else 0
|
||||
#define wxUSE_DIRECTSHOW 0
|
||||
|
||||
// Use wxWidget's XRC XML-based resource system. Recommended.
|
||||
//
|
||||
// Default is 1
|
||||
@@ -765,9 +742,6 @@
|
||||
//
|
||||
#define wxUSE_GRID 1
|
||||
|
||||
// wxProperty[Value/Form/List] classes, used by Dialog Editor
|
||||
#define wxUSE_PROPSHEET 1
|
||||
|
||||
// wxComboCtrl and related classes: combobox with custom popup window and
|
||||
// not necessarily a listbox.
|
||||
//
|
||||
@@ -1043,9 +1017,6 @@
|
||||
// smaller library.
|
||||
#define wxUSE_RICHTEXT 1
|
||||
|
||||
// wxTreeLayout class
|
||||
#define wxUSE_TREELAYOUT 1
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// Data transfer
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -1303,10 +1274,6 @@
|
||||
// unknown settings
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// If 1, enables provision of run-time type information.
|
||||
// NOW MANDATORY: don't change.
|
||||
#define wxUSE_DYNAMIC_CLASSES 1
|
||||
|
||||
//??????
|
||||
#if defined(__WIN32__)
|
||||
#define wxUSE_DDE_FOR_IPC 0
|
||||
|
||||
Reference in New Issue
Block a user