git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15400
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
inline wxDC* GetSelectedInto() const
{ return (GetBitmapData() ? GetBitmapData()->m_pSelectedInto : (wxDC*) NULL); }
inline wxDC* GetSelectedInto() const
{ return (GetBitmapData() ? GetBitmapData()->m_pSelectedInto : (wxDC*) NULL); }
+ inline bool IsMono(void) const { return m_bIsMono; }
+
// An OS/2 version that probably doesn't do anything like the msw version
wxBitmap GetBitmapForDC(wxDC& rDc) const;
// An OS/2 version that probably doesn't do anything like the msw version
wxBitmap GetBitmapForDC(wxDC& rDc) const;
private:
bool CopyFromIconOrCursor(const wxGDIImage& rIcon);
private:
bool CopyFromIconOrCursor(const wxGDIImage& rIcon);
DECLARE_DYNAMIC_CLASS(wxBitmap)
}; // end of CLASS wxBitmap
DECLARE_DYNAMIC_CLASS(wxBitmap)
}; // end of CLASS wxBitmap
#define wxICON_IS_BITMAP 1
#endif
#define wxICON_IS_BITMAP 1
#endif
#define wxIconRefDataBase wxBitmapRefData
#define wxIconBase wxBitmap
#define wxIconRefDataBase wxBitmapRefData
#define wxIconBase wxBitmap
inline void SetHICON(WXHICON hIcon) { SetHandle((WXHANDLE)hIcon); }
inline WXHICON GetHICON() const { return (WXHICON)GetHandle(); }
inline void SetHICON(WXHICON hIcon) { SetHandle((WXHANDLE)hIcon); }
inline WXHICON GetHICON() const { return (WXHICON)GetHandle(); }
+ inline bool IsXpm(void) const { return m_bIsXpm; };
+ inline const wxBitmap& GetXpmSrc(void) const { return m_vXpmSrc; }
void CopyFromBitmap(const wxBitmap& rBmp);
protected:
void CopyFromBitmap(const wxBitmap& rBmp);
protected:
void CreateIconFromXpm(const char **ppData);
private:
void CreateIconFromXpm(const char **ppData);
private:
+ bool m_bIsXpm;
+ wxBitmap m_vXpmSrc;
+
DECLARE_DYNAMIC_CLASS(wxIcon)
};
DECLARE_DYNAMIC_CLASS(wxIcon)
};