X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/16f6dfd814b863ab5ca5b579eee7190fdb209771..68ad65f8569c6fef3a3fb906becaaf161c77fb85:/src/msw/tooltip.cpp diff --git a/src/msw/tooltip.cpp b/src/msw/tooltip.cpp index 7829ec50e9..199c42a0a1 100644 --- a/src/msw/tooltip.cpp +++ b/src/msw/tooltip.cpp @@ -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;