]> git.saurik.com Git - wxWidgets.git/commit
Add virtual wxSizer::DoInsert() to replace Insert().
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 23 Jan 2010 13:44:46 +0000 (13:44 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 23 Jan 2010 13:44:46 +0000 (13:44 +0000)
commite556b6123603004f45cf694c375aee613c2e9be7
tree5eb794372f8b26074810a0abc4ddf0ddf6f2d2b9
parent7ca106e860dd06773f1b1d286cccfeb69d78468e
Add virtual wxSizer::DoInsert() to replace Insert().

This allows to avoid problems with hiding all but the overridden overloads of
Insert() in wxSizer-derived classes, see #11616, without having to explicitly
write any using statements.

Keep Insert(size_t, wxSizerItem) virtual to allow the existing code overriding
it to keep working.

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