git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45834
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
virtual void StartPage() { }
virtual void EndPage() { }
-protected:
+public:
// implementation
wxCoord XDEV2LOG(wxCoord x) const { return DeviceToLogicalX(x); }
wxCoord XDEV2LOGREL(wxCoord x) const { return DeviceToLogicalXRel(x); }
{
m_ok = FALSE;
- m_mm_to_pix_x = (double)wxGetDisplaySize().GetWidth() /
- (double)wxGetDisplaySizeMM().GetWidth();
- m_mm_to_pix_y = (double)wxGetDisplaySize().GetHeight() /
- (double)wxGetDisplaySizeMM().GetHeight();
-
- m_needComputeScaleX = FALSE; /* not used yet */
- m_needComputeScaleY = FALSE; /* not used yet */
-
m_logicalFunction = wxCOPY;
m_pen = *wxBLACK_PEN;