Remove unnecessary dynamic cast in wxComboPopupWindow.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 1 Jun 2012 11:01:09 +0000 (11:01 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 1 Jun 2012 11:01:09 +0000 (11:01 +0000)
commit31a33b67c0f6a6e6bf9cd084f64b7aa57db3dd0d
tree3bd0ac7589f99c4839c5026793a7bb70ad877463
parent0cafb0786ef8e0c33d2ea34e97c1b89ffc3fb70a
Remove unnecessary dynamic cast in wxComboPopupWindow.

Objects of this type are either always of wxPopupTransientWindow type, in
which case just a static_cast<> is enough and we don't need a dynamic one, or
is never of its type in which case this code shouldn't be compiled and if it
is, then static_cast<> will correctly fail preventing it from compiling.

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