From 26b833297883b4cbfdc9fd09d9882efe16f13f97 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 18 Oct 1999 14:57:21 +0000 Subject: [PATCH] include/wx/choice.hpragma warning is only for VC++ git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/tooltip.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/msw/tooltip.cpp b/src/msw/tooltip.cpp index cbe06c1711..458fd7626b 100644 --- a/src/msw/tooltip.cpp +++ b/src/msw/tooltip.cpp @@ -49,7 +49,9 @@ WXHWND wxToolTip::hwndTT = (WXHWND)NULL; // a simple wrapper around TOOLINFO Win32 structure -#pragma warning( disable : 4097 ) +#ifdef __VISUALC__ + #pragma warning( disable : 4097 ) +#endif class wxToolInfo : public TOOLINFO { public: @@ -67,7 +69,9 @@ public: uId = (UINT)win->GetHWND(); } }; -#pragma warning( default : 4097 ) +#ifdef __VISUALC__ + #pragma warning( default : 4097 ) +#endif // ---------------------------------------------------------------------------- // private functions -- 2.45.2