Index: core/fxge/win32/fx_win32_device.cpp |
diff --git a/core/fxge/win32/fx_win32_device.cpp b/core/fxge/win32/fx_win32_device.cpp |
index 2df5c1c4ce74d5d4bf336d1ad4a4a963f2760a86..9087478837511e5119160ad9654a174c4895a646 100644 |
--- a/core/fxge/win32/fx_win32_device.cpp |
+++ b/core/fxge/win32/fx_win32_device.cpp |
@@ -755,7 +755,7 @@ CGdiDeviceDriver::CGdiDeviceDriver(HDC hDC, int device_class) { |
CGdiDeviceDriver::~CGdiDeviceDriver() {} |
-int CGdiDeviceDriver::GetDeviceCaps(int caps_id) { |
+int CGdiDeviceDriver::GetDeviceCaps(int caps_id) const { |
switch (caps_id) { |
case FXDC_DEVICE_CLASS: |
return m_DeviceClass; |