]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/mdig.h
Don't infinitely recurse when setting the child focus. Without
[wxWidgets.git] / include / wx / generic / mdig.h
index 007ab2e4e48bcbb6637202f02e1998e0ff71ad72..6a9ecbf146e8de3af935f5d68849105a7d65eb72 100644 (file)
@@ -282,9 +282,9 @@ public:
                      const wxSize& size = wxDefaultSize,
                      long style = wxDEFAULT_FRAME_STYLE | wxVSCROLL | wxHSCROLL,
                      const wxString& name = wxFrameNameStr)
-        :wxGenericMDIParentFrame(parent, winid, title, pos, size, style, name)
-    {
-    }
+         :wxGenericMDIParentFrame(parent, winid, title, pos, size, style, name)
+     {
+     }
 
     wxMDIChildFrame * GetActiveChild() const ;
     
@@ -309,10 +309,9 @@ public:
                      const wxSize& size = wxDefaultSize,
                      long style = wxDEFAULT_FRAME_STYLE,
                      const wxString& name = wxFrameNameStr )
-        :wxGenericMDIChildFrame(parent, winid, title, pos, size, style, name)
-    {
-    }
-
+         :wxGenericMDIChildFrame(parent, winid, title, pos, size, style, name)
+     {
+     }
 private:
     DECLARE_DYNAMIC_CLASS(wxMDIChildFrame)
 };