X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/68c957045a3919d9ac241a1e775c233bb6d1a793..5a1e0e91a1ca5ec98b0eeb335cda757d1261ed08:/src/cocoa/font.cpp?ds=sidebyside diff --git a/src/cocoa/font.cpp b/src/cocoa/font.cpp index ed1fac7b70..bfbed70f38 100644 --- a/src/cocoa/font.cpp +++ b/src/cocoa/font.cpp @@ -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