diff options
Diffstat (limited to 'win32/PlatWin.cxx')
-rw-r--r-- | win32/PlatWin.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index 90f04025e..f710f9fde 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -50,6 +50,8 @@ #include "DBCS.h" #include "FontQuality.h" +#include "PlatWin.h" + #ifndef SPI_GETFONTSMOOTHINGCONTRAST #define SPI_GETFONTSMOOTHINGCONTRAST 0x200C #endif @@ -62,7 +64,7 @@ namespace Scintilla { UINT CodePageFromCharSet(DWORD characterSet, UINT documentCodePage); -static RECT RectFromPRectangle(PRectangle prc) { +RECT RectFromPRectangle(PRectangle prc) { RECT rc = {static_cast<LONG>(prc.left), static_cast<LONG>(prc.top), static_cast<LONG>(prc.right), static_cast<LONG>(prc.bottom)}; return rc; |