summaryrefslogtreecommitdiff
path: root/wx+/font_size.h
diff options
context:
space:
mode:
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