]> git.saurik.com Git - wxWidgets.git/commit
Explicitly cast size_t to int to suppress MSVC warnings.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 19 Mar 2012 12:53:21 +0000 (12:53 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 19 Mar 2012 12:53:21 +0000 (12:53 +0000)
commit9de49b112f4d1c87f818ab9c62331dbb81f23937
treee7bbd27ebec6fa07a822b510fe8d5433fa3eecfb
parent148d83b59f6b0ad0d436305bdcb5c83489b19694
Explicitly cast size_t to int to suppress MSVC warnings.

Implicit size_t-to-int conversions provoke warnings when building 64 bit
version (in which sizeof(size_t) > sizeof(int)) with MSVC, so make them
explicit as the size_t values used here will always fit in int range.

Closes #14113.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/generic/grid.h
include/wx/headerctrl.h
include/wx/propgrid/props.h