First pass at adding MicroWindows support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -16,6 +16,11 @@
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
#ifdef __WXMICROWIN__
|
||||
/* Extra prototypes and symbols not defined by MicroWindows */
|
||||
#include "wx/msw/microwin.h"
|
||||
#endif
|
||||
|
||||
// undefine conflicting symbols which were defined in windows.h
|
||||
#include "wx/msw/winundef.h"
|
||||
|
||||
@@ -184,7 +189,7 @@ extern LONG APIENTRY _EXPORT
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
// a wrapper macro for ZeroMemory()
|
||||
#ifdef __WIN32__
|
||||
#if defined(__WIN32__) && !defined(__WXMICROWIN__)
|
||||
#define wxZeroMemory(obj) ::ZeroMemory(&obj, sizeof(obj))
|
||||
#else
|
||||
#define wxZeroMemory(obj) memset((void*) & obj, 0, sizeof(obj))
|
||||
|
Reference in New Issue
Block a user