Factor out common code from most wxBookCtrl-related XRC handlers

Add new wxBookCtrlXmlHandlerBase and inherit the XRC handlers of all the
wxBookCtrlBase-derived classes except for wxTreebookXmlHandler, which
will require special handling, from it to avoid duplicating the same
code in all of them.

This commit is best viewed with --color-moved git option.
This commit is contained in:
Vadim Zeitlin 2022-02-24 01:07:21 +00:00
parent 1d3149292c
commit 1549aafdc9
24 changed files with 801 additions and 857 deletions

View file

@ -3111,6 +3111,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
src/xrc/xh_wizrd.cpp
src/xrc/xmlres.cpp
src/xrc/xmlrsall.cpp
src/xrc/xh_bookctrlbase.cpp
</set>
<set var="XRC_HDR" hints="files">
wx/xrc/xh_activityindicator.h
@ -3181,6 +3182,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/xrc/xh_unkwn.h
wx/xrc/xh_wizrd.h
wx/xrc/xmlres.h
wx/xrc/xh_bookctrlbase.h
</set>