__WXBASE__ -> wxUSE_BASE

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-06-26 23:46:00 +00:00
parent 882b369df3
commit ec67cff1f6
7 changed files with 14 additions and 14 deletions

View File

@@ -74,7 +74,7 @@ class MemFSHashObj : public wxObject
} }
}; };
#ifdef __WXBASE__ #if wxUSE_BASE
//-------------------------------------------------------------------------------- //--------------------------------------------------------------------------------
@@ -201,7 +201,7 @@ bool wxMemoryFSHandlerBase::CheckHash(const wxString& filename)
delete m_Hash -> Delete(filename); delete m_Hash -> Delete(filename);
} }
#endif // __WXBASE__ #endif // wxUSE_BASE
#if wxUSE_GUI #if wxUSE_GUI

View File

@@ -48,7 +48,7 @@
// implementation // implementation
// =========================================================================== // ===========================================================================
#ifdef __WXBASE__ #if wxUSE_BASE
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// wxMessageOutput // wxMessageOutput
@@ -146,7 +146,7 @@ void wxMessageOutputLog::Printf(const wxChar* format, ...)
::wxLogMessage(wxT("%s"), out.c_str()); ::wxLogMessage(wxT("%s"), out.c_str());
} }
#endif // __WXBASE__ #endif // wxUSE_BASE
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// wxMessageOutputMessageBox // wxMessageOutputMessageBox

View File

@@ -89,7 +89,7 @@
#include "wx/msw/private.h" #include "wx/msw/private.h"
#endif #endif
#if 1 // def __WXBASE__ #if wxUSE_BASE
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// common data // common data
@@ -530,7 +530,7 @@ bool wxYieldIfNeeded()
return wxTheApp && wxTheApp->Yield(TRUE); return wxTheApp && wxTheApp->Yield(TRUE);
} }
#endif // __WXBASE__ #endif // wxUSE_BASE
// ============================================================================ // ============================================================================
// GUI-only functions from now on // GUI-only functions from now on

View File

@@ -127,7 +127,7 @@ DllMain(HANDLE hModule, DWORD fdwReason, LPVOID WXUNUSED(lpReserved))
// global HINSTANCE // global HINSTANCE
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
#ifdef __WXBASE__ #if wxUSE_BASE
HINSTANCE wxhInstance = 0; HINSTANCE wxhInstance = 0;
@@ -141,5 +141,5 @@ void wxSetInstance(HINSTANCE hInst)
wxhInstance = hInst; wxhInstance = hInst;
} }
#endif // __WXBASE__ #endif // wxUSE_BASE

View File

@@ -131,7 +131,7 @@ WXDLLEXPORT int wxMSLU_GetSaveFileNameW(void *ofn)
// Missing libc file manipulation functions in Win9x // Missing libc file manipulation functions in Win9x
//------------------------------------------------------------------------ //------------------------------------------------------------------------
#ifdef __WXBASE__ #if wxUSE_BASE
WXDLLEXPORT int wxMSLU__trename(const wxChar *oldname, const wxChar *newname) WXDLLEXPORT int wxMSLU__trename(const wxChar *oldname, const wxChar *newname)
{ {
@@ -200,6 +200,6 @@ WXDLLEXPORT int wxMSLU__wstat(const wxChar *name, struct _stat *buffer)
#endif // compilers having wopen() &c #endif // compilers having wopen() &c
#endif // __WXBASE__ #endif // wxUSE_BASE
#endif // wxUSE_UNICODE_MSLU #endif // wxUSE_UNICODE_MSLU

View File

@@ -44,7 +44,7 @@
#include <shellapi.h> #include <shellapi.h>
#include "wx/msw/missing.h" #include "wx/msw/missing.h"
#ifdef __WXBASE__ #if wxUSE_BASE
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// Dynamic library function defs. // Dynamic library function defs.
@@ -538,7 +538,7 @@ int wxFSVolumeBase::GetFlags() const
return itr->second.m_flags; return itr->second.m_flags;
} // GetFlags } // GetFlags
#endif // __WXBASE__ #endif // wxUSE_BASE
// ============================================================================ // ============================================================================
// wxFSVolume // wxFSVolume

View File

@@ -39,7 +39,7 @@
#endif // wxUSE_STREAMS #endif // wxUSE_STREAMS
#ifdef __WXBASE__ #if wxUSE_BASE
#if defined( __MWERKS__ ) && defined(__MACH__) #if defined( __MWERKS__ ) && defined(__MACH__)
#define WXWIN_OS_DESCRIPTION "MacOS X" #define WXWIN_OS_DESCRIPTION "MacOS X"
@@ -1049,7 +1049,7 @@ void wxFatalError( const wxString &msg, const wxString &title )
#endif // WXWIN_COMPATIBILITY_2_2 #endif // WXWIN_COMPATIBILITY_2_2
#endif // __WXBASE__ #endif // wxUSE_BASE
#if wxUSE_GUI #if wxUSE_GUI