Activate the view of a newly created document.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 30 May 2010 20:05:44 +0000 (20:05 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 30 May 2010 20:05:44 +0000 (20:05 +0000)
commit8325504f4bf9dc557745f4dcb26b43c029d5106d
tree703d1874a4495c208e20177310ec29e8e8c0547c
parentb99017ce201dc312c75354a74810cc07ca49ea17
Activate the view of a newly created document.

This appears to be necessary under Mac where views are top level windows and
should do no harm elsewhere.

Also factor out the activation code in a new wxDocManager::ActivateDocument()
method to avoid duplicating it.

Closes #11417.

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