gave default value of wxID_ANY to id parameter of wxStaticLine ctor as nobody uses anything else for it anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -27,7 +27,7 @@ class WXDLLEXPORT wxStaticLine: public wxStaticLineBase// , protected wxCocoaNSB
|
||||
// ------------------------------------------------------------------------
|
||||
public:
|
||||
wxStaticLine() { }
|
||||
wxStaticLine(wxWindow *parent, wxWindowID winid,
|
||||
wxStaticLine(wxWindow *parent, wxWindowID winid = wxID_ANY,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = 0, const wxString& name = wxStaticTextNameStr)
|
||||
@@ -35,7 +35,7 @@ public:
|
||||
Create(parent, winid, pos, size, style, name);
|
||||
}
|
||||
|
||||
bool Create(wxWindow *parent, wxWindowID winid,
|
||||
bool Create(wxWindow *parent, wxWindowID winid = wxID_ANY,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = 0, const wxString& name = wxStaticTextNameStr);
|
||||
|
Reference in New Issue
Block a user