X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eef1a0cc63093cdffdc0f718c80f413c33c0562d..16d4ffde1e56eb0701210c7ff5d47185df065297:/src/univ/theme.cpp?ds=sidebyside diff --git a/src/univ/theme.cpp b/src/univ/theme.cpp index 985bc527ac..8997f255a8 100644 --- a/src/univ/theme.cpp +++ b/src/univ/theme.cpp @@ -47,8 +47,8 @@ wxTheme *wxTheme::ms_theme = (wxTheme *)NULL; // ---------------------------------------------------------------------------- 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 @@ -152,7 +152,7 @@ wxTheme::~wxTheme() // wxDelegateTheme // ---------------------------------------------------------------------------- -wxDelegateTheme::wxDelegateTheme(const wxChar *theme) +wxDelegateTheme::wxDelegateTheme(const wxString& theme) { m_themeName = theme; m_theme = NULL;