]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/tooltip.cpp
VTK wrapper of vtkRenderWindow for wxPython. Tested on MSW so far.
[wxWidgets.git] / src / msw / tooltip.cpp
index 458fd7626be527766c8c34c8ea525d27605def8f..ebf490177d85aa6c3f8b657192bfb94f0075a236 100644 (file)
@@ -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;