X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/178a12204bcdb9d98af14cc133432c7359b1b969..ab67e8874db324fab5223cc8d5dff8a8de3e2b77:/include/wx/gtk1/bmpbuttn.h?ds=sidebyside diff --git a/include/wx/gtk1/bmpbuttn.h b/include/wx/gtk1/bmpbuttn.h index c71501e59a..726d4babcb 100644 --- a/include/wx/gtk1/bmpbuttn.h +++ b/include/wx/gtk1/bmpbuttn.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: wx/gtk/bmpbutton.h +// Name: wx/gtk1/bmpbutton.h // Purpose: // Author: Robert Roebling // Id: $Id$ @@ -11,15 +11,11 @@ #ifndef __BMPBUTTONH__ #define __BMPBUTTONH__ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface -#endif - // ---------------------------------------------------------------------------- // wxBitmapButton // ---------------------------------------------------------------------------- -class wxBitmapButton: public wxBitmapButtonBase +class WXDLLIMPEXP_CORE wxBitmapButton: public wxBitmapButtonBase { public: wxBitmapButton() { Init(); } @@ -48,20 +44,18 @@ public: const wxString& name = wxButtonNameStr); void SetLabel( const wxString &label ); - wxString GetLabel() const; virtual void SetLabel( const wxBitmap& bitmap ) { SetBitmapLabel(bitmap); } - virtual void SetDefault(); virtual bool Enable(bool enable = TRUE); // implementation // -------------- - void HasFocus(); - void NotFocus(); + void GTKSetHasFocus(); + void GTKSetNotFocus(); void StartSelect(); void EndSelect(); - void ApplyWidgetStyle(); + void DoApplyWidgetStyle(GtkRcStyle *style); bool m_hasFocus:1; bool m_isSelected:1;