Refactor wxDocParentFrame and wxDocMDIParentFrame to share common base class.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 12 May 2010 14:34:18 +0000 (14:34 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 12 May 2010 14:34:18 +0000 (14:34 +0000)
commitc48bdb0c28dd146b89bcbfeda43db1b48d4a343b
treed625334c3084641437285184f103c8e0a1a93180
parent8329f1d1d6c4b2c8d6cf061308b3096cc71f894b
Refactor wxDocParentFrame and wxDocMDIParentFrame to share common base class.

Use the same approach as for the child frames: add a base template class which
allows wxDocParentFrame to inherit from wxFrame and wxDocMDIParentFrame from
wxMDIParentFrame while still allowing to reuse the common code.

This reduces code duplication and should make implementing parent AUI document
frame easier as well, see #8945.

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