Make wxGTK1.2 compile again.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2007-05-05 15:52:53 +00:00
parent cfa87e8121
commit e8b86d2538
2 changed files with 1 additions and 9 deletions

View File

@@ -38,7 +38,7 @@ public:
virtual void StartPage() { } virtual void StartPage() { }
virtual void EndPage() { } virtual void EndPage() { }
protected: public:
// implementation // implementation
wxCoord XDEV2LOG(wxCoord x) const { return DeviceToLogicalX(x); } wxCoord XDEV2LOG(wxCoord x) const { return DeviceToLogicalX(x); }
wxCoord XDEV2LOGREL(wxCoord x) const { return DeviceToLogicalXRel(x); } wxCoord XDEV2LOGREL(wxCoord x) const { return DeviceToLogicalXRel(x); }

View File

@@ -25,14 +25,6 @@ wxDC::wxDC()
{ {
m_ok = FALSE; 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_logicalFunction = wxCOPY;
m_pen = *wxBLACK_PEN; m_pen = *wxBLACK_PEN;