X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c37dd6dad7f53b8f5f4c4a8d6434c2851cd2b9e4..9fa99f045e39341d64b4ecffbaab6385d9982cee:/include/wx/gtk/bmpbuttn.h diff --git a/include/wx/gtk/bmpbuttn.h b/include/wx/gtk/bmpbuttn.h index 47ee62fc2b..15966f3f41 100644 --- a/include/wx/gtk/bmpbuttn.h +++ b/include/wx/gtk/bmpbuttn.h @@ -38,18 +38,9 @@ public: const wxSize& size = wxDefaultSize, long style = 0, const wxValidator& validator = wxDefaultValidator, - const wxString& name = wxButtonNameStr) - { - if ( !wxBitmapButtonBase::Create(parent, id, "", - pos, size, style, - validator, name) ) - return false; - - SetBitmapLabel(bitmap); - - return true; - } + const wxString& name = wxButtonNameStr); +private: DECLARE_DYNAMIC_CLASS(wxBitmapButton) };