]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_window.i
removed invalid restriction
[wxWidgets.git] / wxPython / src / _window.i
index 83bccaaf2c359ad99b9d21bd668f850f028c8fcb..1248073fb7478d37270c3c766bee68832f73319f 100644 (file)
@@ -187,6 +187,10 @@ Extra Styles
 ");
 
 
 ");
 
 
+MustHaveApp(wxWindow);
+MustHaveApp(wxWindow::FindFocus);
+MustHaveApp(wxWindow::GetCapture);
+MustHaveApp(wxWindow::GetClassDefaultAttributes);
 
 class wxWindow : public wxEvtHandler
 {
 
 class wxWindow : public wxEvtHandler
 {
@@ -487,7 +491,7 @@ the borders, scrollbars, other decorations...)", "");
 
     
     DocStr(GetBestSize,
 
     
     DocStr(GetBestSize,
-           "This functions returns the best acceptable minimal size for the
+           "This function returns the best acceptable minimal size for the
 window, if applicable. For example, for a static text control, it will
 be the minimal size such that the control label is not truncated. For
 windows containing subwindows (suzh aswx.Panel), the size returned by
 window, if applicable. For example, for a static text control, it will
 be the minimal size such that the control label is not truncated. For
 windows containing subwindows (suzh aswx.Panel), the size returned by
@@ -1850,6 +1854,10 @@ non-None, the search will be limited to the given window
 hierarchy. The search is recursive in both cases.", "");
 
 
 hierarchy. The search is recursive in both cases.", "");
 
 
+MustHaveApp(wxFindWindowById);
+MustHaveApp(wxFindWindowByName);
+MustHaveApp(wxFindWindowByLabel);
+
 %inline %{
 wxWindow* wxFindWindowById( long id, const wxWindow *parent = NULL ) {
     return wxWindow::FindWindowById(id, parent);
 %inline %{
 wxWindow* wxFindWindowById( long id, const wxWindow *parent = NULL ) {
     return wxWindow::FindWindowById(id, parent);