]> git.saurik.com Git - wxWidgets.git/commit - src/propgrid/editors.cpp
Use wxDynamicCast() instead of IsKindOf() checks.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 1 Jun 2012 11:01:18 +0000 (11:01 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 1 Jun 2012 11:01:18 +0000 (11:01 +0000)
commit345c78ca5fa57ea6c7dc7e6a05496a8e82aa2b50
tree6b32ed7eb87bd81264738d44be2db91da5e8cbfd
parent7e8a20edc8a023787dc77d770c0a7409a7641c96
Use wxDynamicCast() instead of IsKindOf() checks.

wxDynamicCast() is less verbose (due to the absence of "CLASSINFO") and more
compatible with the standard dynamic_cast<>, so prefer to use it when possible.

See #14356.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
29 files changed:
src/aui/auibook.cpp
src/aui/framemanager.cpp
src/common/combocmn.cpp
src/common/fs_arc.cpp
src/common/sckipc.cpp
src/common/utilscmn.cpp
src/common/valgen.cpp
src/common/valtext.cpp
src/common/wincmn.cpp
src/generic/dragimgg.cpp
src/generic/laywin.cpp
src/generic/logg.cpp
src/generic/odcombo.cpp
src/generic/sashwin.cpp
src/gtk/renderer.cpp
src/html/helpfrm.cpp
src/msw/dragimag.cpp
src/msw/listctrl.cpp
src/msw/mdi.cpp
src/msw/window.cpp
src/propgrid/advprops.cpp
src/propgrid/editors.cpp
src/propgrid/propgrid.cpp
src/propgrid/props.cpp
src/richtext/richtextbuffer.cpp
src/richtext/richtextctrl.cpp
src/richtext/richtextformatdlg.cpp
src/richtext/richtextstyledlg.cpp
src/richtext/richtextstylepage.cpp