GnuWin32 corrections (::ZeroMemory doesn't exist)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1999-02-15 13:05:58 +00:00
parent c7f49969d6
commit cf0b3979bc
3 changed files with 10 additions and 1 deletions

View File

@@ -47,7 +47,11 @@ public:
wxToolInfo(wxWindow *win)
{
// initialize all members
#ifdef __GNUWIN32__
memset(this, 0, sizeof(TOOLINFO));
#else
::ZeroMemory(this, sizeof(TOOLINFO));
#endif
cbSize = sizeof(TOOLINFO);
uFlags = TTF_IDISHWND;