]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/font.cpp
replaced T() makro with wxT() due to namespace probs, _T() exists, too
[wxWidgets.git] / src / msw / font.cpp
index 6f1ea88cf84a9b4d4d86b21b3fa6c527ecd0f030..9f3858a2bdf8c409fc335baaedb4a4531453e9cd 100644 (file)
@@ -200,7 +200,7 @@ bool wxFont::RealizeResource()
     {
         // VZ: the old code returned FALSE in this case, but it doesn't seem
         //     to make sense because the font _was_ created
-        wxLogDebug(T("Calling wxFont::RealizeResource() twice"));
+        wxLogDebug(wxT("Calling wxFont::RealizeResource() twice"));
 
         return TRUE;
     }
@@ -212,7 +212,7 @@ bool wxFont::RealizeResource()
     {
         case wxSCRIPT:
             ff_family = FF_SCRIPT ;
-            ff_face = T("Script") ;
+            ff_face = wxT("Script") ;
             break ;
 
         case wxDECORATIVE:
@@ -221,24 +221,24 @@ bool wxFont::RealizeResource()
 
         case wxROMAN:
             ff_family = FF_ROMAN;
-            ff_face = T("Times New Roman") ;
+            ff_face = wxT("Times New Roman") ;
             break;
 
         case wxTELETYPE:
         case wxMODERN:
             ff_family = FF_MODERN;
-            ff_face = T("Courier New") ;
+            ff_face = wxT("Courier New") ;
             break;
 
         case wxSWISS:
             ff_family = FF_SWISS;
-            ff_face = T("Arial") ;
+            ff_face = wxT("Arial") ;
             break;
 
         case wxDEFAULT:
         default:
             ff_family = FF_SWISS;
-            ff_face = T("Arial") ; 
+            ff_face = wxT("Arial") ; 
     }
 
     BYTE ff_italic;
@@ -250,7 +250,7 @@ bool wxFont::RealizeResource()
             break;
 
         default:
-            wxFAIL_MSG(T("unknown font slant"));
+            wxFAIL_MSG(wxT("unknown font slant"));
             // fall through
 
         case wxNORMAL:
@@ -261,7 +261,7 @@ bool wxFont::RealizeResource()
     switch ( M_FONTDATA->m_weight )
     {
         default:
-            wxFAIL_MSG(T("unknown font weight"));
+            wxFAIL_MSG(wxT("unknown font weight"));
             // fall through
 
         case wxNORMAL:
@@ -383,7 +383,7 @@ bool wxFont::RealizeResource()
             break;
 
         default:
-            wxFAIL_MSG(T("unsupported encoding"));
+            wxFAIL_MSG(wxT("unsupported encoding"));
             // fall through
 
         case wxFONTENCODING_SYSTEM: