summaryrefslogtreecommitdiff
path: root/wx+/font_size.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:29:28 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:29:28 +0200
commit75c07011b7c4d06acd7b45dabdcd60ab9d80f385 (patch)
tree8853c3978dd152ef377e652239448b1352320206 /wx+/font_size.h
parent5.22 (diff)
downloadFreeFileSync-75c07011b7c4d06acd7b45dabdcd60ab9d80f385.tar.gz
FreeFileSync-75c07011b7c4d06acd7b45dabdcd60ab9d80f385.tar.bz2
FreeFileSync-75c07011b7c4d06acd7b45dabdcd60ab9d80f385.zip
5.23
Diffstat (limited to 'wx+/font_size.h')
-rw-r--r--wx+/font_size.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wx+/font_size.h b/wx+/font_size.h
index 7bfc62fc..4639d194 100644
--- a/wx+/font_size.h
+++ b/wx+/font_size.h
@@ -48,7 +48,7 @@ void setMainInstructionFont(wxWindow& control)
{
wxFont font = control.GetFont();
#ifdef ZEN_WIN //http://msdn.microsoft.com/de-DE/library/windows/desktop/aa974176#fonts
- font.SetPointSize(numeric::round(wxNORMAL_FONT->GetPointSize() * 4.0 / 3));
+ font.SetPointSize(wxNORMAL_FONT->GetPointSize() * 4 / 3); //integer round down
//get main instruction color: don't hard-code, respect accessibility!
typedef HTHEME (WINAPI* OpenThemeDataFun )(HWND hwnd, LPCWSTR pszClassList);
bgstack15