]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/theme.cpp
fix Get(Sub)ItemRect() after changes of r54437; added test for it (see #10175)
[wxWidgets.git] / src / univ / theme.cpp
index 985bc527acbd1dc7c1548e0fc320e221f933a364..8997f255a8859873449ff0337c94160a657c774a 100644 (file)
@@ -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;