]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mgl/popupwin.h
fixed "toolbar getting focus" bug for the (N+1)-th time
[wxWidgets.git] / include / wx / mgl / popupwin.h
index bebd35d9fe26813ac7643c13ddc9dabec122a29b..fd56a9b5cb336f121df88f2faf4b1737a67a6f2a 100644 (file)
@@ -20,7 +20,8 @@ class WXDLLEXPORT wxPopupWindow : public wxPopupWindowBase
 public:
     wxPopupWindow() { }
 
-    wxPopupWindow(wxWindow *parent) { (void)Create(parent); }
+    wxPopupWindow(wxWindow *parent, int flags = wxBORDER_NONE)
+        { (void)Create(parent, flags); }
 
     bool Create(wxWindow *parent, int flags = wxBORDER_NONE)
     {