| Index: core/fxge/win32/win32_int.h
|
| diff --git a/core/fxge/win32/win32_int.h b/core/fxge/win32/win32_int.h
|
| index 923aa84f330ea7872d352914faca1d56108d5bca..d903d3abf5f1d8d1b4e8108e051af0d6c372128c 100644
|
| --- a/core/fxge/win32/win32_int.h
|
| +++ b/core/fxge/win32/win32_int.h
|
| @@ -145,7 +145,7 @@ class CGdiDeviceDriver : public IFX_RenderDeviceDriver {
|
| void* pIccTransform,
|
| int blend_type) override;
|
| FX_BOOL GetClipBox(FX_RECT* pRect) override;
|
| - void* GetPlatformSurface() override { return (void*)m_hDC; }
|
| + void* GetPlatformSurface() const override { return (void*)m_hDC; }
|
|
|
| virtual void* GetClipRgn();
|
| virtual FX_BOOL SetClipRgn(void* pRgn);
|
| @@ -352,7 +352,7 @@ class CPSPrinterDriver : public IFX_RenderDeviceDriver {
|
| FX_DWORD color,
|
| int alpha_flag,
|
| void* pIccTransform) override;
|
| - void* GetPlatformSurface() override { return (void*)m_hDC; }
|
| + void* GetPlatformSurface() const override { return (void*)m_hDC; }
|
|
|
| HDC m_hDC;
|
| FX_BOOL m_bCmykOutput;
|
|
|