]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/panelg.h
1. We don't need GetTopLevelParent() here, we already have wxGetTopLevelParent()
[wxWidgets.git] / include / wx / generic / panelg.h
index 1cb6a708ec9348889c7de97bfd5986776fd107e6..be02bf70e2721f463d4b12761504d8176311bd0a 100644 (file)
@@ -58,7 +58,8 @@ public:
     }
 
     // Pseudo ctor
-    bool Create(wxWindow *parent, wxWindowID winid,
+    bool Create(wxWindow *parent,
+                wxWindowID winid = wxID_ANY,
                 const wxPoint& pos = wxDefaultPosition,
                 const wxSize& size = wxDefaultSize,
                 long style = wxTAB_TRAVERSAL | wxNO_BORDER,