]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/tooltip.cpp
typos in error messages corrected
[wxWidgets.git] / src / msw / tooltip.cpp
index 7829ec50e957bc18b4a1489b41b525fea6c120b3..199c42a0a1a292fab7c3bab9324a6e2386886fde 100644 (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;