added wxUSE_STDPATHS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -80,9 +80,11 @@ public:
|
||||
// NB: returned pointer will be deleted by the caller
|
||||
virtual wxRendererNative *CreateRenderer() = 0;
|
||||
|
||||
#if wxUSE_STDPATHS
|
||||
// wxStandardPaths object is normally the same for wxBase and wxGUI
|
||||
// except in the case of wxMac and wxCocoa
|
||||
virtual wxStandardPathsBase& GetStandardPaths();
|
||||
#endif // wxUSE_STDPATHS
|
||||
|
||||
// functions abstracting differences between GUI and console modes
|
||||
// ------------------------------------------------------------------------
|
||||
|
@@ -170,6 +170,14 @@
|
||||
# endif
|
||||
#endif /* !defined(wxUSE_REGEX) */
|
||||
|
||||
#ifndef wxUSE_STDPATHS
|
||||
# ifdef wxABORT_ON_CONFIG_ERROR
|
||||
# error "wxUSE_STDPATHS must be defined."
|
||||
# else
|
||||
# define wxUSE_STDPATHS 1
|
||||
# endif
|
||||
#endif /* !defined(wxUSE_STDPATHS) */
|
||||
|
||||
#ifndef wxUSE_XML
|
||||
# ifdef wxABORT_ON_CONFIG_ERROR
|
||||
# error "wxUSE_XML must be defined."
|
||||
|
@@ -296,6 +296,14 @@
|
||||
// Recommended setting: 1 (but may be safely disabled if you don't use it)
|
||||
#define wxUSE_FSVOLUME 1
|
||||
|
||||
// Use wxStandardPaths class which allows to retrieve some standard locations
|
||||
// in the file system
|
||||
//
|
||||
// Default is 1
|
||||
//
|
||||
// Recommended setting: 1 (may be disabled to save space, but not much)
|
||||
#define wxUSE_STDPATHS 1
|
||||
|
||||
// use wxTextBuffer class: required by wxTextFile
|
||||
#define wxUSE_TEXTBUFFER 1
|
||||
|
||||
|
@@ -295,6 +295,14 @@
|
||||
// Recommended setting: 1 (but may be safely disabled if you don't use it)
|
||||
#define wxUSE_FSVOLUME 1
|
||||
|
||||
// Use wxStandardPaths class which allows to retrieve some standard locations
|
||||
// in the file system
|
||||
//
|
||||
// Default is 1
|
||||
//
|
||||
// Recommended setting: 1 (may be disabled to save space, but not much)
|
||||
#define wxUSE_STDPATHS 1
|
||||
|
||||
// use wxTextBuffer class: required by wxTextFile
|
||||
#define wxUSE_TEXTBUFFER 1
|
||||
|
||||
|
@@ -280,6 +280,14 @@
|
||||
// Recommended setting: 1 (but may be safely disabled if you don't use it)
|
||||
#define wxUSE_FSVOLUME 1
|
||||
|
||||
// Use wxStandardPaths class which allows to retrieve some standard locations
|
||||
// in the file system
|
||||
//
|
||||
// Default is 1
|
||||
//
|
||||
// Recommended setting: 1 (may be disabled to save space, but not much)
|
||||
#define wxUSE_STDPATHS 1
|
||||
|
||||
// use wxTextBuffer class: required by wxTextFile
|
||||
#define wxUSE_TEXTBUFFER 1
|
||||
|
||||
|
@@ -12,6 +12,10 @@
|
||||
#ifndef _WX_STDPATHS_H_
|
||||
#define _WX_STDPATHS_H_
|
||||
|
||||
#include "wx/defs.h"
|
||||
|
||||
#if wxUSE_STDPATHS
|
||||
|
||||
#include "wx/string.h"
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -93,5 +97,7 @@ protected:
|
||||
#include "wx/palmos/stdpaths.h"
|
||||
#endif
|
||||
|
||||
#endif // wxUSE_STDPATHS
|
||||
|
||||
#endif // _WX_STDPATHS_H_
|
||||
|
||||
|
Reference in New Issue
Block a user