wxWidgets/docs/doxygen/overviews
Vadim Zeitlin a7c0de8a98 Fix event handling order in doc/view framework.
Ensure that the events are always (provided there is an open document)
processed in the following order:

1. wxDocument
2. wxView
3. wxDocManager
4. wxDocChildFrame
5. wxDocParentFrame
6. wxApp

Do this by forwarding the events from wxDocParentFrame to wxDocChildFrame
first and forward them from there to wxDocManager which -- and this part
remains unchanged -- in turn forwards them to the active wxView which finally
forwards them to wxDocument. This requires another condition in the event
handling code as we still must forward from wxDocParentFrame to wxDocManager
itself if there are no active children at all, but this is the only way to
have the same event order in all cases, whether the event is originally
received by wxDocChildFrame or wxDocParentFrame.

Document this and add a unit test verifying that things indeed work like this.

See #14314.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-05-04 23:59:56 +00:00
..
app.h Finished adding @tableofcontents to all overviews in the manual. 2012-11-03 18:34:10 +00:00
archive.h Fixed docs footer to bottom, and fixed up TOC on all main pages, and some overviews. 2012-11-03 18:29:28 +00:00
aui.h Fixed docs footer to bottom, and fixed up TOC on all main pages, and some overviews. 2012-11-03 18:29:28 +00:00
backwardcompatibility.h Fixed docs footer to bottom, and fixed up TOC on all main pages, and some overviews. 2012-11-03 18:29:28 +00:00
bitmap.h Fixed docs footer to bottom, and fixed up TOC on all main pages, and some overviews. 2012-11-03 18:29:28 +00:00
bookctrl.h Fixed docs footer to bottom, and fixed up TOC on all main pages, and some overviews. 2012-11-03 18:29:28 +00:00
bufferclasses.h Fixed docs footer to bottom, and fixed up TOC on all main pages, and some overviews. 2012-11-03 18:29:28 +00:00
changes_since28.h Cleanup of wxDataViewCtrl cell activation code. 2011-10-19 16:20:17 +00:00
commondialogs.h Fixed docs footer to bottom, and fixed up TOC on all main pages, and some overviews. 2012-11-03 18:29:28 +00:00
config.h Fixed various typos. 2011-03-22 14:17:38 +00:00
container.h Finished adding @tableofcontents to all overviews in the manual. 2012-11-03 18:34:10 +00:00
cpprttidisabled.h Finished adding @tableofcontents to all overviews in the manual. 2012-11-03 18:34:10 +00:00
customwidgets.h Fixed appearance images to use Doxygen @image command (Doxygen will now copy files automatically), and cleaned up some more overviews. 2012-11-03 18:32:50 +00:00
dataobject.h Fixed appearance images to use Doxygen @image command (Doxygen will now copy files automatically), and cleaned up some more overviews. 2012-11-03 18:32:50 +00:00
datetime.h Fixed appearance images to use Doxygen @image command (Doxygen will now copy files automatically), and cleaned up some more overviews. 2012-11-03 18:32:50 +00:00
dc.h Fixed appearance images to use Doxygen @image command (Doxygen will now copy files automatically), and cleaned up some more overviews. 2012-11-03 18:32:50 +00:00
debugging.h Fixed appearance images to use Doxygen @image command (Doxygen will now copy files automatically), and cleaned up some more overviews. 2012-11-03 18:32:50 +00:00
dialog.h Fixed appearance images to use Doxygen @image command (Doxygen will now copy files automatically), and cleaned up some more overviews. 2012-11-03 18:32:50 +00:00
dnd.h Fixed appearance images to use Doxygen @image command (Doxygen will now copy files automatically), and cleaned up some more overviews. 2012-11-03 18:32:50 +00:00
docview.h Fix event handling order in doc/view framework. 2013-05-04 23:59:56 +00:00
envvars.h Remove wxMGL port. 2012-01-15 14:46:41 +00:00
eventhandling.h Finished adding @tableofcontents to all overviews in the manual. 2012-11-03 18:34:10 +00:00
exceptions.h Finished adding @tableofcontents to all overviews in the manual. 2012-11-03 18:34:10 +00:00
file.h Finished adding @tableofcontents to all overviews in the manual. 2012-11-03 18:34:10 +00:00
filesystem.h Finished adding @tableofcontents to all overviews in the manual. 2012-11-03 18:34:10 +00:00
font.h Finished adding @tableofcontents to all overviews in the manual. 2012-11-03 18:34:10 +00:00
fontencoding.h Finished adding @tableofcontents to all overviews in the manual. 2012-11-03 18:34:10 +00:00
grid.h Finished adding @tableofcontents to all overviews in the manual. 2012-11-03 18:34:10 +00:00
helloworld.h Finished adding @tableofcontents to all overviews in the manual. 2012-11-03 18:34:10 +00:00
html.h Finished adding @tableofcontents to all overviews in the manual. 2012-11-03 18:34:10 +00:00
internationalization.h Miscellaneous spelling and typo fixes in the documentation. 2012-12-01 00:14:31 +00:00
ipc.h Finished adding @tableofcontents to all overviews in the manual. 2012-11-03 18:34:10 +00:00
listctrl.h Finished adding @tableofcontents to all overviews in the manual. 2012-11-03 18:34:10 +00:00
log.h Finished adding @tableofcontents to all overviews in the manual. 2012-11-03 18:34:10 +00:00
mbconvclasses.h Finished adding @tableofcontents to all overviews in the manual. 2012-11-03 18:34:10 +00:00
nonenglish.h Finished adding @tableofcontents to all overviews in the manual. 2012-11-03 18:34:10 +00:00
persistence.h Finished adding @tableofcontents to all overviews in the manual. 2012-11-03 18:34:10 +00:00
printing.h Finished adding @tableofcontents to all overviews in the manual. 2012-11-03 18:34:10 +00:00
propgrid.h Finished adding @tableofcontents to all overviews in the manual. 2012-11-03 18:34:10 +00:00
python.h Finished adding @tableofcontents to all overviews in the manual. 2012-11-03 18:34:10 +00:00
refcount.h Finished adding @tableofcontents to all overviews in the manual. 2012-11-03 18:34:10 +00:00
referencenotes.h Finished adding @tableofcontents to all overviews in the manual. 2012-11-03 18:34:10 +00:00
resyntax.h Finished adding @tableofcontents to all overviews in the manual. 2012-11-03 18:34:10 +00:00
richtextctrl.h Finished adding @tableofcontents to all overviews in the manual. 2012-11-03 18:34:10 +00:00
roughguide.h Finished adding @tableofcontents to all overviews in the manual. 2012-11-03 18:34:10 +00:00
runtimeclass.h Finished adding @tableofcontents to all overviews in the manual. 2012-11-03 18:34:10 +00:00
scrolling.h Finished adding @tableofcontents to all overviews in the manual. 2012-11-03 18:34:10 +00:00
sizer.h Finished adding @tableofcontents to all overviews in the manual. 2012-11-03 18:34:10 +00:00
splitterwindow.h Finished adding @tableofcontents to all overviews in the manual. 2012-11-03 18:34:10 +00:00
stream.h Finished adding @tableofcontents to all overviews in the manual. 2012-11-03 18:34:10 +00:00
string.h Finished adding @tableofcontents to all overviews in the manual. 2012-11-03 18:34:10 +00:00
thread.h Finished adding @tableofcontents to all overviews in the manual. 2012-11-03 18:34:10 +00:00
tips.h Finished adding @tableofcontents to all overviews in the manual. 2012-11-03 18:34:10 +00:00
toolbar.h Finished adding @tableofcontents to all overviews in the manual. 2012-11-03 18:34:10 +00:00
treectrl.h Finished adding @tableofcontents to all overviews in the manual. 2012-11-03 18:34:10 +00:00
unicode.h Finished adding @tableofcontents to all overviews in the manual. 2012-11-03 18:34:10 +00:00
unixprinting.h Finished adding @tableofcontents to all overviews in the manual. 2012-11-03 18:34:10 +00:00
validator.h Finished adding @tableofcontents to all overviews in the manual. 2012-11-03 18:34:10 +00:00
windowdeletion.h Finished adding @tableofcontents to all overviews in the manual. 2012-11-03 18:34:10 +00:00
windowids.h Finished adding @tableofcontents to all overviews in the manual. 2012-11-03 18:34:10 +00:00
windowsizing.h Finished adding @tableofcontents to all overviews in the manual. 2012-11-03 18:34:10 +00:00
windowstyles.h Finished adding @tableofcontents to all overviews in the manual. 2012-11-03 18:34:10 +00:00
xrc_format.h Use flat generic status bar by default and add wxSB_SUNKEN. 2013-03-21 22:36:52 +00:00
xrc.h Finished adding @tableofcontents to all overviews in the manual. 2012-11-03 18:34:10 +00:00