X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/af49c4b8a2d3553e733e71c7dd3911881f4c1a2a..ed39ff57b30a70a2395e07887a70bc01e7a3b7ec:/include/wx/mac/bitmap.h diff --git a/include/wx/mac/bitmap.h b/include/wx/mac/bitmap.h index dae1493b87..0e1af6ead4 100644 --- a/include/wx/mac/bitmap.h +++ b/include/wx/mac/bitmap.h @@ -193,16 +193,14 @@ public: inline bool operator != (const wxBitmap& bitmap) const { return m_refData != bitmap.m_refData; } static void InitStandardHandlers(); -protected: - - // TODO: Implementation public: - void SetHBITMAP(WXHBITMAP bmp); WXHBITMAP GetHBITMAP() const; - void SetHICON(WXHICON ico); inline WXHICON GetHICON() const { return (M_BITMAPDATA ? M_BITMAPDATA->m_hIcon : 0); } - - WXHMETAFILE GetPict() const; + WXHMETAFILE GetPict(bool *created = NULL ) const; + + void SetHBITMAP(WXHBITMAP bmp); + void SetHICON(WXHICON ico); + void SetPict( WXHMETAFILE pict ) ; bool FreeResource(bool force = FALSE); };