Provide versioning for backport of 46117 (wxLog::DoCreateOnDemand).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Elliott
2007-07-13 20:25:10 +00:00
parent ed3c1af165
commit f5d9bc0a49
2 changed files with 3 additions and 0 deletions

View File

@@ -176,9 +176,11 @@ public:
// Set log level. Log messages with level > logLevel will not be logged. // Set log level. Log messages with level > logLevel will not be logged.
static void SetLogLevel(wxLogLevel logLevel) { ms_logLevel = logLevel; } static void SetLogLevel(wxLogLevel logLevel) { ms_logLevel = logLevel; }
#if wxABI_VERSION >= 20805 /* 2.8.5+ only */
// should GetActiveTarget() try to create a new log object if the // should GetActiveTarget() try to create a new log object if the
// current is NULL? // current is NULL?
static void DontCreateOnDemand(); static void DontCreateOnDemand();
#endif
// Make GetActiveTarget() create a new log object again. // Make GetActiveTarget() create a new log object again.
static void DoCreateOnDemand(); static void DoCreateOnDemand();

View File

@@ -34,6 +34,7 @@
*wxAuiNotebook*SetNormalFont*; *wxAuiNotebook*SetNormalFont*;
*wxAuiNotebook*SetSelectedFont*; *wxAuiNotebook*SetSelectedFont*;
*wxDocument*GetUserReadableName*; *wxDocument*GetUserReadableName*;
*wxLog*DoCreateOnDemand*;
*wxLogChain*DetachOldLog*; *wxLogChain*DetachOldLog*;
*wxMemoryFSHandler*AddFileWithMimeType*; *wxMemoryFSHandler*AddFileWithMimeType*;
*wxMetafileDC*DoGetTextExtent*; *wxMetafileDC*DoGetTextExtent*;