From: David Webster Date: Wed, 31 Jan 2001 05:32:23 +0000 (+0000) Subject: Add a Get and Set for an OS/2 PS X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d8fcb5e835b137e73f4332c4f231ea131e3f0872 Add a Get and Set for an OS/2 PS git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/os2/dc.h b/include/wx/os2/dc.h index debf4df06b..0b5fe10aaf 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; }