wxDC* m_pSelectedInto;
HPS m_hPresentationSpace;
+ LONG m_lId;
// optional mask for transparent drawing
wxMask* m_pBitmapMask;
// An OS/2 version that probably doesn't do anything like the msw version
wxBitmap GetBitmapForDC(wxDC& rDc) const;
+ inline LONG GetId() const
+ { return (GetBitmapData() ? GetBitmapData()->m_lId : 0L); }
+
+
protected:
// common part of all ctors
void Init();
private:
bool CopyFromIconOrCursor(const wxGDIImage& rIcon);
- HDC m_hDc;
- HPS m_hPs;
DECLARE_DYNAMIC_CLASS(wxBitmap)
};
protected:
WXHBITMAP m_hMaskBitmap;
DECLARE_DYNAMIC_CLASS(wxMask)
+private:
+ HDC m_hDc;
+ HPS m_hPs;
};
// ----------------------------------------------------------------------------
);
virtual bool LoadFile( wxBitmap* pBitmap
,const wxString& rName
+ ,HPS hPs
,long lFlags
,int nDesiredWidth
,int nDesiredHeight
);
virtual bool Load( wxGDIImage* pImage
,const wxString& rName
+ ,HPS hPs
,long lFlags
,int nDesiredWidth
,int nDesiredHeight