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:
@@ -63,6 +63,15 @@ extern WXDLLIMPEXP_CORE const wxChar *wxCanvasClassName;
|
|||||||
LRESULT WXDLLIMPEXP_CORE APIENTRY _EXPORT wxWndProc(HWND hWnd, UINT message,
|
LRESULT WXDLLIMPEXP_CORE APIENTRY _EXPORT wxWndProc(HWND hWnd, UINT message,
|
||||||
WPARAM wParam, LPARAM lParam);
|
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
|
// BACKEND DECLARATIONS
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
Reference in New Issue
Block a user