X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d7e1a3227440c2910124edfc8896bbe23d6d0ab3..dfdd617b4b213033453944e19902a6f86b99b795:/include/wx/os2/dc.h diff --git a/include/wx/os2/dc.h b/include/wx/os2/dc.h index debf4df06b..85d37c6593 100644 --- a/include/wx/os2/dc.h +++ b/include/wx/os2/dc.h @@ -148,9 +148,17 @@ public: m_bOwnsDC = bOwnsDC; } + HPS GetHPS(void) const { return m_hPS; } + void SetHPS(HPS hPS) + { + HDC hDC = ::GpiQueryDevice(hPS); + m_hPS = hPS; + } const wxBitmap& GetSelectedBitmap(void) const { return m_vSelectedBitmap; } wxBitmap& GetSelectedBitmap(void) { return m_vSelectedBitmap; } + void UpdateClipBox(); + protected: virtual void DoFloodFill( wxCoord vX ,wxCoord vY @@ -281,9 +289,6 @@ protected: ,int nFillStyle = wxODDEVEN_RULE ); -#if wxUSE_SPLINES - virtual void DoDrawSpline(wxList* pPoints); -#endif // wxUSE_SPLINES // // common part of DoDrawText() and DoDrawRotatedText() @@ -316,11 +321,9 @@ public: bool m_bOwnsDC:1; // - // our HDC and its usage count: we only free it when the usage count drops - // to 0 + // our HDC // WXHDC m_hDC; - int m_nDCCount; // // Store all old GDI objects when do a SelectObject, so we can select them