projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ae8162c
)
cleanup image after application
author
Ryan Norton
<wxprojects@comcast.net>
Sun, 26 Sep 2004 01:27:25 +0000
(
01:27
+0000)
committer
Ryan Norton
<wxprojects@comcast.net>
Sun, 26 Sep 2004 01:27:25 +0000
(
01:27
+0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29370
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/mac/carbon/taskbar.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/mac/carbon/taskbar.cpp
b/src/mac/carbon/taskbar.cpp
index 494e0aa48d246cbf56419fe7fa9e707112b5f35b..b122b034a2e9af0b2efbd656e2213c00c1ab047f 100644
(file)
--- a/
src/mac/carbon/taskbar.cpp
+++ b/
src/mac/carbon/taskbar.cpp
@@
-165,6
+165,9
@@
bool wxTaskBarIcon::SetIcon(const wxIcon& icon, const wxString& tooltip)
err = SetApplicationDockTileImage(pImage);
wxASSERT(err == 0);
+
+ if (pImage != NULL)
+ CGImageRelease(pImage);
m_iconAdded = true;
return true;