Allow the MustHaveApp exception feature to be inherited
authorRobin Dunn <robin@alldunn.com>
Tue, 29 Jun 2004 19:29:17 +0000 (19:29 +0000)
committerRobin Dunn <robin@alldunn.com>
Tue, 29 Jun 2004 19:29:17 +0000 (19:29 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/_window.i

index 7a10cf71c5f436d8b7ec2e90a78ddcd36cce6182..47c67a979a30dea492ed416d7bc7970ce8c4ef5a 100644 (file)
@@ -190,7 +190,9 @@ Extra Styles
 MustHaveApp(wxWindow);
 MustHaveApp(wxWindow::FindFocus);
 MustHaveApp(wxWindow::GetCapture);
-MustHaveApp(wxWindow::GetClassDefaultAttributes);
+
+// This one is not restricted to wxWindow
+MustHaveApp(GetClassDefaultAttributes);
 
 class wxWindow : public wxEvtHandler
 {