X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/58b1642453c5858a4dd29425b065e9215cb8ec79..91dd52fe3ba8275366cf26a729f00a6a59d34855:/include/wx/os2/bitmap.h diff --git a/include/wx/os2/bitmap.h b/include/wx/os2/bitmap.h index a9946995d9..6eccf80a0c 100644 --- a/include/wx/os2/bitmap.h +++ b/include/wx/os2/bitmap.h @@ -219,8 +219,6 @@ protected: private: bool CopyFromIconOrCursor(const wxGDIImage& rIcon); - HDC m_hDc; - HPS m_hPs; DECLARE_DYNAMIC_CLASS(wxBitmap) }; @@ -272,6 +270,9 @@ public: protected: WXHBITMAP m_hMaskBitmap; DECLARE_DYNAMIC_CLASS(wxMask) +private: + HDC m_hDc; + HPS m_hPs; }; // ---------------------------------------------------------------------------- @@ -305,6 +306,7 @@ public: ); virtual bool LoadFile( wxBitmap* pBitmap ,const wxString& rName + ,HPS hPs ,long lFlags ,int nDesiredWidth ,int nDesiredHeight @@ -324,6 +326,7 @@ public: ); virtual bool Load( wxGDIImage* pImage ,const wxString& rName + ,HPS hPs ,long lFlags ,int nDesiredWidth ,int nDesiredHeight