X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab6b6b15e0790bf3fd9e5b58da7077ac5592d8d3..94c162795e6ebff164bcfc7bb9aa0138dd83b194:/include/wx/univ/window.h?ds=sidebyside diff --git a/include/wx/univ/window.h b/include/wx/univ/window.h index fa1aaec62a..d3a845d84a 100644 --- a/include/wx/univ/window.h +++ b/include/wx/univ/window.h @@ -200,6 +200,9 @@ public: // erase part of the control virtual void EraseBackground(wxDC& dc, const wxRect& rect); + + // see below + bool HasDialogBackground() { return m_hasDialogBackground; } // overridden base class methods // ----------------------------- @@ -266,6 +269,10 @@ protected: // the renderer we use wxRenderer *m_renderer; + + // background like a dialog (e.g. wxStaticText, + // wxRadioButton), not with a surface (wxButton) + bool m_hasDialogBackground; // background bitmap info wxBitmap m_bitmapBg;