X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8e4c2912462461f9a2133ac39475457d668d1686..9e9574fe45b176ee74bba8fad7574cf9906145d1:/src/gtk/bmpbuttn.cpp?ds=sidebyside diff --git a/src/gtk/bmpbuttn.cpp b/src/gtk/bmpbuttn.cpp index a99810f993..cf429bd2fe 100644 --- a/src/gtk/bmpbuttn.cpp +++ b/src/gtk/bmpbuttn.cpp @@ -2,7 +2,6 @@ // Name: src/gtk/bmpbuttn.cpp // Purpose: // Author: Robert Roebling -// Id: $Id$ // Copyright: (c) 1998 Robert Roebling // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -14,8 +13,6 @@ #include "wx/bmpbuttn.h" -IMPLEMENT_DYNAMIC_CLASS(wxBitmapButton,wxButton) - bool wxBitmapButton::Create(wxWindow *parent, wxWindowID id, const wxBitmap& bitmap, @@ -25,14 +22,6 @@ bool wxBitmapButton::Create(wxWindow *parent, const wxValidator& validator, const wxString& name) { - // we use wxBU_NOTEXT to let the base class Create() know that we are not - // going to show the label -- this is a hack, but like this it can support - // bitmaps with all GTK+ versions, not just 2.6+ which support both labels - // and bitmaps - // - // and we also use wxBU_EXACTFIT to avoid being resized up to the standard - // button size as this doesn't make sense for bitmap buttons which are not - // standard anyhow if ( !wxBitmapButtonBase::Create(parent, id, pos, size, style, validator, name) ) return false;