X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/26b833297883b4cbfdc9fd09d9882efe16f13f97..7b9da2077d0975db6c965a85c91d5aca671ab5e3:/src/msw/tooltip.cpp diff --git a/src/msw/tooltip.cpp b/src/msw/tooltip.cpp index 458fd7626b..ebf490177d 100644 --- a/src/msw/tooltip.cpp +++ b/src/msw/tooltip.cpp @@ -47,10 +47,9 @@ WXHWND wxToolTip::hwndTT = (WXHWND)NULL; // private classes // ---------------------------------------------------------------------------- - // a simple wrapper around TOOLINFO Win32 structure #ifdef __VISUALC__ - #pragma warning( disable : 4097 ) + #pragma warning( disable : 4097 ) // we inherit from a typedef - so what? #endif class wxToolInfo : public TOOLINFO { @@ -58,11 +57,7 @@ public: wxToolInfo(wxWindow *win) { // initialize all members -#if __GNUWIN32__ && !defined(wxUSE_NORLANDER_HEADERS) - memset(this, 0, sizeof(TOOLINFO)); -#else ::ZeroMemory(this, sizeof(TOOLINFO)); -#endif cbSize = sizeof(TOOLINFO); uFlags = TTF_IDISHWND;