Use __WINDOWS__ for OS kind checks and reserve __WXMSW__ for GUI toolkit.
This change prepares the way for using wxGTK under Windows as this would still define __WINDOWS__ but use __WXGTK__ instead of __WXMSW__. Closes #14064. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -29,7 +29,7 @@ typedef unsigned long wxLogLevel;
|
||||
#define wxTraceResAlloc 0x0004 // trace GDI resource allocation
|
||||
#define wxTraceRefCount 0x0008 // trace various ref counting operations
|
||||
|
||||
#ifdef __WXMSW__
|
||||
#ifdef __WINDOWS__
|
||||
#define wxTraceOleCalls 0x0100 // OLE interface calls
|
||||
#endif
|
||||
|
||||
@@ -128,7 +128,7 @@ enum wxLogLevelValues
|
||||
#define wxTRACE_ResAlloc wxT("resalloc") // trace GDI resource allocation
|
||||
#define wxTRACE_RefCount wxT("refcount") // trace various ref counting operations
|
||||
|
||||
#ifdef __WXMSW__
|
||||
#ifdef __WINDOWS__
|
||||
#define wxTRACE_OleCalls wxT("ole") // OLE interface calls
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user