X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b4a4eafbcc77d758d064a52873f5032e25d6020d..14b44999eb335f3fc84b4362980b1730b8887588:/include/wx/gtk/button.h diff --git a/include/wx/gtk/button.h b/include/wx/gtk/button.h index 2b7f9a0278..8116c10f3b 100644 --- a/include/wx/gtk/button.h +++ b/include/wx/gtk/button.h @@ -67,7 +67,13 @@ protected: virtual void DoSetBitmap(const wxBitmap& bitmap, State which); virtual void DoSetBitmapPosition(wxDirection dir); +#if wxUSE_MARKUP + virtual bool DoSetLabelMarkup(const wxString& markup); +#endif // wxUSE_MARKUP + private: + typedef wxButtonBase base_type; + // common part of all ctors void Init() { @@ -89,6 +95,9 @@ private: // show the given bitmap (must be valid) void GTKDoShowBitmap(const wxBitmap& bitmap); + // Return the GtkLabel used by this button. + GtkLabel *GTKGetLabel() const; + // the bitmaps for the different state of the buttons, all of them may be // invalid and the button only shows a bitmap at all if State_Normal bitmap @@ -101,7 +110,6 @@ private: // true iff the button is in pressed state bool m_isPressed; - DECLARE_DYNAMIC_CLASS(wxButton) };