X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/57c208c5759da71a637f0f0f5b7d3dc3eda09c02..50ef256ed3e52defe91655da5e3f6a9e913c9e2a:/src/msw/dcprint.cpp?ds=inline diff --git a/src/msw/dcprint.cpp b/src/msw/dcprint.cpp index 43a6be9b8d..23593c665a 100644 --- a/src/msw/dcprint.cpp +++ b/src/msw/dcprint.cpp @@ -108,7 +108,7 @@ wxPrinterDC::wxPrinterDC(const wxString& driver_name, const wxString& device_nam { // int width = GetDeviceCaps(m_hDC, VERTRES); // int height = GetDeviceCaps(m_hDC, HORZRES); - SetMapMode(MM_TEXT); + SetMapMode(wxMM_TEXT); } SetBrush(*wxBLACK_BRUSH); SetPen(*wxBLACK_PEN); @@ -124,7 +124,7 @@ wxPrinterDC::wxPrinterDC(WXHDC theDC) { // int width = GetDeviceCaps(m_hDC, VERTRES); // int height = GetDeviceCaps(m_hDC, HORZRES); - SetMapMode(MM_TEXT); + SetMapMode(wxMM_TEXT); } SetBrush(*wxBLACK_BRUSH); SetPen(*wxBLACK_PEN);