]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/fontutil.cpp
don't mention GUI-only changes in the base section
[wxWidgets.git] / src / unix / fontutil.cpp
index 08a6f769c332dd80471b2d53f2bfca41dc1d4d12..e826a295a26f6da2c744a0e53de507e8ecc68525 100644 (file)
@@ -385,7 +385,13 @@ bool wxNativeFontInfo::FromXFontName(const wxString& fontname)
     }
 
     // this should be all
-    return !tokenizer.HasMoreTokens();
+    if ( tokenizer.HasMoreTokens() )
+        return FALSE;
+
+    // we're initialized now
+    m_isDefault = FALSE;
+
+    return TRUE;
 }
 
 wxString wxNativeFontInfo::GetXFontName() const
@@ -1040,4 +1046,3 @@ void wxFontModule::OnExit()
 
 #endif
   // not GTK 2.0
-  
\ No newline at end of file