Added "metal" theme.
Added bool param to wxUniv indicating if the controls takes its background from the parent (such as static texts, radio buttons etc). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user