From: Vadim Zeitlin Date: Mon, 18 Oct 1999 14:57:21 +0000 (+0000) Subject: include/wx/choice.hpragma warning is only for VC++ X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/26b833297883b4cbfdc9fd09d9882efe16f13f97?ds=sidebyside;hp=3f1c6a14cb362d5a9cf56f1a4bd0f47f417c193e 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 --- 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