Applied patch [ 1443707 ] kill "cast truncates constant value" warnings

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2006-03-11 14:33:25 +00:00
parent 388aa6e289
commit de63b922ca

View File

@@ -63,6 +63,15 @@ extern WXDLLIMPEXP_CORE const wxChar *wxCanvasClassName;
LRESULT WXDLLIMPEXP_CORE APIENTRY _EXPORT wxWndProc(HWND hWnd, UINT message,
WPARAM wParam, LPARAM lParam);
//---------------------------------------------------------------------------
// Killed MSVC warnings
//---------------------------------------------------------------------------
//disable "cast truncates constant value" for VARIANT_BOOL values
//passed as parameters in VC5 and up
#ifdef _MSC_VER
#pragma warning (disable:4310)
#endif
//===========================================================================
// BACKEND DECLARATIONS
//===========================================================================