diff options
Diffstat (limited to 'win32/PlatWin.cxx')
-rw-r--r-- | win32/PlatWin.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index ae0161f84..371edc957 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -3815,11 +3815,11 @@ void Menu::Show(Point pt, const Window &w) { } ColourRGBA Platform::Chrome() { - return ColourRGBA::FromRGB(::GetSysColor(COLOR_3DFACE)); + return ColourRGBA::FromRGB(static_cast<int>(::GetSysColor(COLOR_3DFACE))); } ColourRGBA Platform::ChromeHighlight() { - return ColourRGBA::FromRGB(::GetSysColor(COLOR_3DHIGHLIGHT)); + return ColourRGBA::FromRGB(static_cast<int>(::GetSysColor(COLOR_3DHIGHLIGHT))); } const char *Platform::DefaultFont() { |