X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/738f9e5a12b8bb3936cc10347be98390602d3660..99f73df9b4865aa3276319fb206127da9027fa63:/include/wx/gtk/bmpbuttn.h?ds=sidebyside diff --git a/include/wx/gtk/bmpbuttn.h b/include/wx/gtk/bmpbuttn.h index dfcf70ce73..233e8d90e8 100644 --- a/include/wx/gtk/bmpbuttn.h +++ b/include/wx/gtk/bmpbuttn.h @@ -74,10 +74,15 @@ 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 - + // implementation + // -------------- + void HasFocus(); void NotFocus(); void StartSelect(); @@ -92,6 +97,10 @@ public: wxBitmap m_focus; wxBitmap m_selected; +protected: + int m_marginX; + int m_marginY; + private: DECLARE_DYNAMIC_CLASS(wxBitmapButton) };