]> git.saurik.com Git - wxWidgets.git/blobdiff - src/aui/tabmdi.cpp
capture mouse to be notified when it exists the popup rect (bug 1372228)
[wxWidgets.git] / src / aui / tabmdi.cpp
index 10c129d730e0fc9938d89872a467bea056bcc243..38ced9bfe495f81a0df2a082a6e510c7f1bd3d95 100644 (file)
@@ -601,10 +601,10 @@ bool wxAuiMDIClientWindow::CreateClient(wxAuiMDIParentFrame* parent, long style)
     SetWindowStyleFlag(style);
 
     if (!wxAuiNotebook::Create(parent,
     SetWindowStyleFlag(style);
 
     if (!wxAuiNotebook::Create(parent,
-                                    wxID_ANY,
-                                    wxPoint(0,0),
-                                    wxSize(100, 100),
-                                    wxNO_BORDER))
+                               wxID_ANY,
+                               wxPoint(0,0),
+                               wxSize(100, 100),
+                               wxAUI_NB_DEFAULT_STYLE | wxNO_BORDER))
     {
         return false;
     }
     {
         return false;
     }