X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2c24e7adf051b2b522bcfc70d3ca70b07c206275..fe79f76ba9aa2f89165481d7ed796f69df979875:/include/wx/os2/dc.h?ds=sidebyside diff --git a/include/wx/os2/dc.h b/include/wx/os2/dc.h index edeb7d1489..aff30c67ea 100644 --- a/include/wx/os2/dc.h +++ b/include/wx/os2/dc.h @@ -97,7 +97,7 @@ public: // this is an ABC: use one of the derived classes to create a DC associated // with a window, screen, printer and so on -class WXDLLEXPORT wxPMDCImpl : public wxDCImpl +class WXDLLIMPEXP_CORE wxPMDCImpl : public wxDCImpl { DECLARE_DYNAMIC_CLASS(wxDC) @@ -196,23 +196,23 @@ public: protected: void Init() { - m_pCanvas = NULL; - m_hOldBitmap = 0; - m_hOldPen = 0; - m_hOldBrush = 0; - m_hOldFont = 0; + m_pCanvas = NULL; + m_hOldBitmap = 0; + m_hOldPen = 0; + m_hOldBrush = 0; + m_hOldFont = 0; #if wxUSE_PALETTE m_hOldPalette = 0; #endif // wxUSE_PALETTE - m_bOwnsDC = false; - m_hDC = 0; - m_hOldPS = NULL; - m_hPS = NULL; - m_bIsPaintTime = false; // True at Paint Time + m_bOwnsDC = false; + m_hDC = 0; + m_hOldPS = NULL; + m_hPS = NULL; + m_bIsPaintTime = false; // True at Paint Time - m_pen.SetColour(*wxBLACK); - m_brush.SetColour(*wxWHITE); + m_pen.SetColour(*wxBLACK); + m_brush.SetColour(*wxWHITE); } // create an uninitialized DC: this should be only used by the derived @@ -321,12 +321,12 @@ public: ,wxCoord vYsrcMask = -1 ); - virtual void DoSetClippingRegionAsRegion(const wxRegion& rRegion); virtual void DoSetClippingRegion( wxCoord vX ,wxCoord vY ,wxCoord vWidth ,wxCoord vHeight ); + virtual void DoSetDeviceClippingRegion(const wxRegion& rRegion); virtual void DoGetSize( int* pWidth ,int* pHeight