]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/font.cpp
blind OS/2 compilation fix in wxSetWorkingDirectory()
[wxWidgets.git] / src / cocoa / font.cpp
index ed1fac7b70aeb04b2a96244adc158044819d8a5d..bfbed70f383bba9336cc9e8016613ba4ac883d69 100644 (file)
@@ -60,7 +60,10 @@ int wxFont::GetPointSize() const
 
 bool wxFont::GetUnderlined() const
 {
-    return false;
+    if(M_FONTDATA)
+        return M_FONTDATA->m_underlined;
+    else
+        return false;
 }
 
 int wxFont::GetStyle() const