class wxDelegateTheme : public wxTheme
{
public:
- wxDelegateTheme(const wxChar *theme);
+ wxDelegateTheme(const wxString& theme);
virtual ~wxDelegateTheme();
virtual wxRenderer *GetRenderer();
wxThemeInfo *next;
// constructor for the struct itself
- wxThemeInfo(Constructor ctor, const wxChar *name, const wxChar *desc);
+ wxThemeInfo(Constructor ctor, const wxString& name, const wxString& desc);
};
// ----------------------------------------------------------------------------
// GUI-specific command line options handling
// ----------------------------------------------------------------------------
-#define OPTION_THEME _T("theme")
-#define OPTION_MODE _T("mode")
+#define OPTION_THEME "theme"
+#define OPTION_MODE "mode"
void wxAppBase::OnInitCmdLine(wxCmdLineParser& parser)
{
// ----------------------------------------------------------------------------
wxThemeInfo::wxThemeInfo(Constructor c,
- const wxChar *n,
- const wxChar *d)
+ const wxString& n,
+ const wxString& d)
: name(n), desc(d), ctor(c)
{
// insert us (in the head of) the linked list
// wxDelegateTheme
// ----------------------------------------------------------------------------
-wxDelegateTheme::wxDelegateTheme(const wxChar *theme)
+wxDelegateTheme::wxDelegateTheme(const wxString& theme)
{
m_themeName = theme;
m_theme = NULL;