X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/20e05ffbd3eff02a4c643e412d4f600cdea26952..8cfc5426cf50da368022813a04e29cf8ec5478a4:/include/wx/gtk1/bmpbuttn.h?ds=sidebyside diff --git a/include/wx/gtk1/bmpbuttn.h b/include/wx/gtk1/bmpbuttn.h index 3f1c684d63..233e8d90e8 100644 --- a/include/wx/gtk1/bmpbuttn.h +++ b/include/wx/gtk1/bmpbuttn.h @@ -74,6 +74,10 @@ public: void SetBitmapLabel( const wxBitmap& bitmap ); void SetBitmapSelected( const wxBitmap& bitmap ); + void SetMargins(int x, int y) { m_marginX = x; m_marginY = y; } + int GetMarginX() const { return m_marginX; } + int GetMarginY() const { return m_marginY; } + virtual bool Enable(bool enable); // implementation @@ -93,6 +97,10 @@ public: wxBitmap m_focus; wxBitmap m_selected; +protected: + int m_marginX; + int m_marginY; + private: DECLARE_DYNAMIC_CLASS(wxBitmapButton) };