]> git.saurik.com Git - wxWidgets.git/commitdiff
use wxSTRINGIZE_T instead of _T(wxSTRINGIZE())
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 8 Oct 2006 11:11:48 +0000 (11:11 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 8 Oct 2006 11:11:48 +0000 (11:11 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/univ/theme.cpp

index aa8be8e2d9faa5d1c6463b20c9bb36d923492069..4f89ceb076b311cd9d7b83ae465c0510d2446449 100644 (file)
@@ -93,12 +93,12 @@ wxThemeInfo::wxThemeInfo(Constructor c,
     {
         nameDefTheme = p;
     }
+#ifdef wxUNIV_DEFAULT_THEME
     else // use native theme by default
     {
-#ifdef wxUNIV_DEFAULT_THEME
-        nameDefTheme = _T(wxSTRINGIZE(wxUNIV_DEFAULT_THEME));
-#endif
+        nameDefTheme = wxSTRINGIZE_T(wxUNIV_DEFAULT_THEME);
     }
+#endif // wxUNIV_DEFAULT_THEME
 
     wxTheme *theme = Create(nameDefTheme);