new stock buttons API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -39,7 +39,8 @@ class wxButton: public wxButtonBase
|
||||
{
|
||||
public:
|
||||
wxButton();
|
||||
wxButton(wxWindow *parent, wxWindowID id, const wxString& label,
|
||||
wxButton(wxWindow *parent, wxWindowID id,
|
||||
const wxString& label = wxEmptyString,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize, long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
@@ -47,31 +48,15 @@ public:
|
||||
{
|
||||
Create(parent, id, label, pos, size, style, validator, name);
|
||||
}
|
||||
|
||||
wxButton(wxWindow *parent, wxWindowID id, wxStockItemID stock,
|
||||
const wxString& descriptiveLabel = wxEmptyString,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = wxButtonNameStr)
|
||||
{
|
||||
Create(parent, id, stock, descriptiveLabel, pos, style, validator, name);
|
||||
}
|
||||
|
||||
virtual ~wxButton();
|
||||
|
||||
bool Create(wxWindow *parent, wxWindowID id, const wxString& label,
|
||||
bool Create(wxWindow *parent, wxWindowID id,
|
||||
const wxString& label = wxEmptyString,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize, long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = wxButtonNameStr);
|
||||
|
||||
bool Create(wxWindow *parent, wxWindowID id, wxStockItemID stock,
|
||||
const wxString& descriptiveLabel = wxEmptyString,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = wxButtonNameStr);
|
||||
|
||||
virtual void SetDefault();
|
||||
virtual void SetLabel( const wxString &label );
|
||||
|
Reference in New Issue
Block a user