-bool wxButton::Create(wxWindow *parent, wxWindowID id, wxStockItemID stock,
- const wxString& descriptiveLabel,
- const wxPoint& pos, long style,
- const wxValidator& validator, const wxString& name)
-{
-#ifdef __WXGTK20__
- m_widget = gtk_button_new_from_stock(wxStockItemToGTK(stock));
- return Create(parent, id, wxEmptyString,
- pos, wxDefaultSize, style, validator, name);
-#else
- return CreateStock(parent, id, stock, descriptiveLabel,
- pos, style, validator, name);
-#endif
-}