]> git.saurik.com Git - wxWidgets.git/commit
Fix wxGrid compilation with MSVC7.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 24 Sep 2009 00:21:57 +0000 (00:21 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 24 Sep 2009 00:21:57 +0000 (00:21 +0000)
commit7a0a6cc8f61cb53ce1c76897489e1e363d1a1fa5
tree4c69522c89e338eac6a330ba17d71d78f9c6a915
parent0661eb625efa701a8395777526f6b1371caeac46
Fix wxGrid compilation with MSVC7.

Due to what seems a compiler bug, MSVC tries to instantiate objects of
abstract wxGridXXXHeaderRenderer classes when compiling operators ?: using
references to them. Add explicit static_cast<>s to help it do the right thing.

Fixes compilation with this compiler broken in r62037.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/generic/grid.cpp