Index: core/fxge/win32/fx_win32_print.cpp |
diff --git a/core/fxge/win32/fx_win32_print.cpp b/core/fxge/win32/fx_win32_print.cpp |
index 0e89e71889aca765b5baf246f435341dc53234a6..02569edc38c5fc3a6a0dc45e4c5d9297d252f754 100644 |
--- a/core/fxge/win32/fx_win32_print.cpp |
+++ b/core/fxge/win32/fx_win32_print.cpp |
@@ -23,7 +23,7 @@ CGdiPrinterDriver::CGdiPrinterDriver(HDC hDC) |
CGdiPrinterDriver::~CGdiPrinterDriver() {} |
-int CGdiPrinterDriver::GetDeviceCaps(int caps_id) { |
+int CGdiPrinterDriver::GetDeviceCaps(int caps_id) const { |
if (caps_id == FXDC_HORZ_SIZE) |
return m_HorzSize; |
if (caps_id == FXDC_VERT_SIZE) |