X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a21175918ecedbae7d04a58acca5e90a6b59633d..8e77fd8bca165aab9709649d79a7cbc6a172d4e1:/include/wx/gtk/bmpbuttn.h?ds=inline diff --git a/include/wx/gtk/bmpbuttn.h b/include/wx/gtk/bmpbuttn.h index a0a17b3ac0..15966f3f41 100644 --- a/include/wx/gtk/bmpbuttn.h +++ b/include/wx/gtk/bmpbuttn.h @@ -38,19 +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 | wxBU_NOTEXT, - validator, name) ) - return false; - - SetBitmapLabel(bitmap); - - return true; - } + const wxString& name = wxButtonNameStr); +private: DECLARE_DYNAMIC_CLASS(wxBitmapButton) };