diff options
Diffstat (limited to 'library/customButton.h')
-rw-r--r-- | library/customButton.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/library/customButton.h b/library/customButton.h index 1f3f50ec..ce43828a 100644 --- a/library/customButton.h +++ b/library/customButton.h @@ -23,16 +23,18 @@ public: const wxValidator& validator = wxDefaultValidator, const wxString& name = wxButtonNameStr); - void setBitmapFront(const wxBitmap& bitmap); + void setBitmapFront(const wxBitmap& bitmap, unsigned spaceAfter = 0); void setTextLabel( const wxString& text); - void setBitmapBack( const wxBitmap& bitmap); + void setBitmapBack( const wxBitmap& bitmap, unsigned spaceBefore = 0); private: wxBitmap createBitmapFromText(const wxString& text); void refreshButtonLabel(); wxBitmap bitmapFront; + unsigned m_spaceAfter; wxString textLabel; + unsigned m_spaceBefore; wxBitmap bitmapBack; }; |