X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6de97a3b945c99fb942209df48be26f43c1b436d..e895ec451398f039d577e3e77b0b626531c901d9:/include/wx/gtk/bmpbuttn.h diff --git a/include/wx/gtk/bmpbuttn.h b/include/wx/gtk/bmpbuttn.h index 41ef3b5077..bcb31a9e90 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,13 @@ 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; } + + // implementation + + void ApplyWidgetStyle(); public: