]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_window.i
don't crash in dtor if the dialog had never been shown (patch 1723848)
[wxWidgets.git] / wxPython / src / _window.i
index 2935cb31c117ac4326ae687c1f00a594ef3dd3a6..ab8acd6b553efa3d3addffd648cd7ffa44b458d2 100644 (file)
@@ -850,6 +850,9 @@ SetWindowStyleFlag()", "");
         long , GetExtraStyle() const,
         "Returns the extra style bits for the window.", "");
     
+    DocDeclStr(
+        bool , HasExtraStyle(int exFlag) const,
+        "Returns ``True`` if the given extra flag is set.", "");
 
     
     DocDeclStr(
@@ -932,6 +935,11 @@ it.", "");
         "Can this window be assigned focus from keyboard right now?", "");
     
 
+    DocDeclStr(
+        virtual void , SetCanFocus(bool canFocus),
+        "", "");
+    
+
 
     DocDeclAStr(
         virtual bool , NavigateIn(int flags = wxNavigationKeyEvent::IsForward),
@@ -1106,7 +1114,7 @@ handler is handed off to the next one in the chain.", "");
         void , PushEventHandler( wxEvtHandler *handler ),
         "Pushes this event handler onto the event handler stack for the window.
 An event handler is an object that is capable of processing the events
-sent to a window.  (In other words, is able to dispatch the events to
+sent to a window.  (In other words, is able to dispatch the events to a
 handler function.)  By default, the window is its own event handler,
 but an application may wish to substitute another, for example to
 allow central implementation of event-handling for a variety of