X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6de97a3b945c99fb942209df48be26f43c1b436d..3efb01df7b4f5d6adb165119aa219c9ffde3cf42:/include/wx/gtk/bmpbuttn.h diff --git a/include/wx/gtk/bmpbuttn.h b/include/wx/gtk/bmpbuttn.h index 41ef3b5077..380642dc6a 100644 --- a/include/wx/gtk/bmpbuttn.h +++ b/include/wx/gtk/bmpbuttn.h @@ -2,9 +2,8 @@ // Name: bmpbutton.h // Purpose: // Author: Robert Roebling -// Created: 01/02/97 -// Id: -// Copyright: (c) 1998 Robert Roebling, Julian Smart and Markus Holzem +// Id: $Id$ +// Copyright: (c) 1998 Robert Roebling // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -60,6 +59,9 @@ class wxBitmapButton: public wxControl void SetDefault(void); void SetLabel( const wxString &label ); wxString GetLabel(void) const; + virtual void SetLabel(const wxBitmap& bitmap) { SetBitmapLabel(bitmap); } + virtual void SetBitmapLabel( const wxBitmap& bitmap ); + wxBitmap& GetBitmapLabel(void) const { return (wxBitmap&) m_bitmap; } public: