]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/themes/metal.cpp
Add wxRTTI to generic wxDirDialog.
[wxWidgets.git] / src / univ / themes / metal.cpp
index 9cc918b5bf2ec8b8867325383eef10bb08ea28b4..3e78e383919e6a51338a53951957bf221776b8f5 100644 (file)
@@ -157,8 +157,8 @@ private:
     bool GetOrCreateTheme()
     {
         if ( !m_win32Theme )
-            m_win32Theme = wxTheme::Create("win32");
-        return m_win32Theme;
+            m_win32Theme = wxTheme::Create( wxT("win32") );
+        return m_win32Theme != NULL;
     }
 private:
     wxTheme *m_win32Theme;