]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/font.cpp
Allow app to call SetWindowVariant before creation of control
[wxWidgets.git] / src / x11 / font.cpp
index bc698ba148965a6324970058d356977bf35ba0f9..4eaee81f00b6781b7356924922cab9006fb38b69 100644 (file)
@@ -770,6 +770,7 @@ bool wxFont::IsFixedWidth() const
     wxCHECK_MSG( Ok(), FALSE, wxT("invalid font") );
 
 #if wxUSE_UNICODE
+   return wxFontBase::IsFixedWidth();
 #else
     // Robert, is this right? HasNativeFont doesn't exist.
     if ( TRUE )
@@ -781,9 +782,10 @@ bool wxFont::IsFixedWidth() const
 
         return spacing.Upper() == _T('M');
     }
+   // Unreaceable code for now
+   // return wxFontBase::IsFixedWidth();
 #endif
 
-    return wxFontBase::IsFixedWidth();
 }
 
 // ----------------------------------------------------------------------------