X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a4294b7832a5aed3c1cccc06aecd227d43da8830..687d733769cc797102a52c7cad8edd32be5a2f89:/include/wx/motif/bmpbuttn.h?ds=sidebyside diff --git a/include/wx/motif/bmpbuttn.h b/include/wx/motif/bmpbuttn.h index bb5ea2f503..66e0ed7713 100644 --- a/include/wx/motif/bmpbuttn.h +++ b/include/wx/motif/bmpbuttn.h @@ -63,11 +63,21 @@ class WXDLLEXPORT wxBitmapButton: public wxButton inline int GetMarginX() { return m_marginX; } inline int GetMarginY() { return m_marginY; } +// Implementation + void DoSetBitmap(); + virtual void ChangeBackgroundColour(); + protected: + wxBitmap m_buttonBitmapFocus; wxBitmap m_buttonBitmap; + wxBitmap m_buttonBitmapOriginal; // May be different from m_buttonBitmap + // if m_buttonBitmap has been changed + // to reflect button background colour wxBitmap m_buttonBitmapSelected; - wxBitmap m_buttonBitmapFocus; + wxBitmap m_buttonBitmapSelectedOriginal; + wxBitmap m_buttonBitmapDisabled; + wxBitmap m_buttonBitmapDisabledOriginal; int m_marginX; int m_marginY;