X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..8a7e4b38b8fa4d31b805a0cf1779a9b95142f05b:/include/wx/generic/panelg.h diff --git a/include/wx/generic/panelg.h b/include/wx/generic/panelg.h index c43ab9848e..be02bf70e2 100644 --- a/include/wx/generic/panelg.h +++ b/include/wx/generic/panelg.h @@ -21,7 +21,7 @@ class WXDLLEXPORT wxControlContainer; -extern WXDLLEXPORT_DATA(const wxChar*) wxPanelNameStr; +extern WXDLLEXPORT_DATA(const wxChar) wxPanelNameStr[]; // ---------------------------------------------------------------------------- // wxPanel contains other controls and implements TAB traversal between them @@ -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,