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:
bdb148e
)
unused variable
author
Paul Cornett
<paulcor@bullseye.com>
Sat, 9 Dec 2006 19:49:02 +0000
(19:49 +0000)
committer
Paul Cornett
<paulcor@bullseye.com>
Sat, 9 Dec 2006 19:49:02 +0000
(19:49 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43883
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/msw/dragimag.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/msw/dragimag.cpp
b/src/msw/dragimag.cpp
index 469d3954b028dd0fa960d960e8a5d63bd6801f41..2cb08d63d31c44396e6837fd2026c7cfe4b969da 100644
(file)
--- a/
src/msw/dragimag.cpp
+++ b/
src/msw/dragimag.cpp
@@
-182,9
+182,8
@@
bool wxDragImage::Create(const wxIcon& image, const wxCursor& cursor)
else
flags = ILC_COLOR32;
#endif
- bool mask = true;
- if ( mask )
- flags |= ILC_MASK;
+
+ flags |= ILC_MASK;
m_hImageList = (WXHIMAGELIST) ImageList_Create(image.GetWidth(), image.GetHeight(), flags, 1, 1);