X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d7e1a3227440c2910124edfc8896bbe23d6d0ab3..bd52bee1062faef26287d2f5a2595a9d8ee4d85a:/include/wx/os2/dc.h diff --git a/include/wx/os2/dc.h b/include/wx/os2/dc.h index debf4df06b..d673f3cf33 100644 --- a/include/wx/os2/dc.h +++ b/include/wx/os2/dc.h @@ -148,6 +148,12 @@ 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; } @@ -281,9 +287,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 +319,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