Lines Matching defs:theme
2 // Name: univ/theme.cpp
7 // RCS-ID: $Id: theme.cpp 42455 2006-10-26 15:33:10Z VS $
36 #include "wx/univ/theme.h"
46 // "dynamic" theme creation
61 // find the theme in the list by name
77 // the default theme (called by wxApp::OnInitGui)
84 // we already have a theme
97 else // use native theme by default
103 wxTheme *theme = Create(nameDefTheme);
106 if ( !theme && ms_allThemes )
108 theme = ms_allThemes->ctor();
112 if ( !theme )
119 // Set the theme as current.
120 wxTheme::Set(theme);
125 /* static */ wxTheme *wxTheme::Set(wxTheme *theme)
128 ms_theme = theme;
132 // automatically start using the art provider of the new theme if it
155 wxDelegateTheme::wxDelegateTheme(const wxChar *theme)
157 m_themeName = theme;