Finally removes occurences of OnMenuCommand and closes bug #1164678
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -912,11 +912,11 @@ class View(wx.EvtHandler):
|
||||
Call this from your view frame's OnActivate member to tell the
|
||||
framework which view is currently active. If your windowing system
|
||||
doesn't call OnActivate, you may need to call this function from
|
||||
OnMenuCommand or any place where you know the view must be active, and
|
||||
any place where you know the view must be active, and
|
||||
the framework will need to get the current view.
|
||||
|
||||
The prepackaged view frame wxDocChildFrame calls wxView.Activate from
|
||||
its OnActivate member and from its OnMenuCommand member.
|
||||
its OnActivate member.
|
||||
"""
|
||||
if self.GetDocument() and self.GetDocumentManager():
|
||||
self.OnActivateView(activate, self, self.GetDocumentManager().GetCurrentView())
|
||||
|
Reference in New Issue
Block a user