projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
don't leak wxImageList if wxHF_CONTENTS is not used in wxHtmlHelpWindow
[wxWidgets.git]
/
include
/
wx
/
bitmap.h
diff --git
a/include/wx/bitmap.h
b/include/wx/bitmap.h
index cbe474153dd06e4957083c882b653ca8547fe5ae..1e39569846e8944e46fccd6b0a85b44fa165bb25 100644
(file)
--- a/
include/wx/bitmap.h
+++ b/
include/wx/bitmap.h
@@
-140,7
+140,9
@@
public:
virtual int GetWidth() const = 0;
virtual int GetDepth() const = 0;
+#if wxUSE_IMAGE
virtual wxImage ConvertToImage() const = 0;
+#endif // wxUSE_IMAGE
virtual wxMask *GetMask() const = 0;
virtual void SetMask(wxMask *mask) = 0;