X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c37dd6dad7f53b8f5f4c4a8d6434c2851cd2b9e4..66c2bf7b1d9326fb650acfaae22ec50528cfbf7c:/include/wx/gtk/bmpbuttn.h diff --git a/include/wx/gtk/bmpbuttn.h b/include/wx/gtk/bmpbuttn.h index 47ee62fc2b..f70e28ceb7 100644 --- a/include/wx/gtk/bmpbuttn.h +++ b/include/wx/gtk/bmpbuttn.h @@ -2,7 +2,6 @@ // Name: wx/gtk/bmpbutton.h // Purpose: // Author: Robert Roebling -// Id: $Id$ // Copyright: (c) 1998 Robert Roebling // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -38,18 +37,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) };