add more wxUSE_XXX checks

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-09-03 07:29:31 +00:00
parent 9da38912d3
commit 6502dc6823
5 changed files with 13 additions and 2 deletions

View File

@@ -12,6 +12,7 @@
#include "wx/image.h"
#if wxUSE_XPM
//-----------------------------------------------------------------------------
// wxXPMHandler
@@ -39,6 +40,7 @@ private:
DECLARE_DYNAMIC_CLASS(wxXPMHandler)
};
#endif // wxUSE_XPM
#endif
// _WX_IMAGXPM_H_

View File

@@ -732,7 +732,7 @@
*/
#ifndef wxUSE_FILECONFIG
# if wxUSE_CONFIG
# if wxUSE_CONFIG && wxUSE_TEXTFILE
# define wxUSE_FILECONFIG 1
# else
# define wxUSE_FILECONFIG 0

View File

@@ -61,8 +61,10 @@ protected:
// specified text file as the source of tips (each line is a tip).
//
// NB: the caller is responsible for deleting the pointer!
#if wxUSE_TEXTFILE
WXDLLIMPEXP_ADV wxTipProvider *wxCreateFileTipProvider(const wxString& filename,
size_t currentTip);
#endif // wxUSE_TEXTFILE
// ----------------------------------------------------------------------------
// wxTipDialog