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:
Robert Roebling
2002-04-10 20:38:15 +00:00
parent 7de5bdf4b3
commit 67d947ba89
17 changed files with 4691 additions and 78 deletions

View File

@@ -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;