projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
670d017
)
Suppress harmless mingw32 warning about unused value.
author
Vadim Zeitlin
<vadim@wxwidgets.org>
Wed, 23 Sep 2009 14:29:04 +0000
(14:29 +0000)
committer
Vadim Zeitlin
<vadim@wxwidgets.org>
Wed, 23 Sep 2009 14:29:04 +0000
(14:29 +0000)
Add an explicit cast to void to Header_SetImageList() call to avoid "warning:
value computed is not used".
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62038
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/msw/headerctrl.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/msw/headerctrl.cpp
b/src/msw/headerctrl.cpp
index 921a97d1cadcc2864f042b42ee33d7bca3c9b714..4983a1dcf45ade8f2c68fb72f7bebdc4ba2cbbf3 100644
(file)
--- a/
src/msw/headerctrl.cpp
+++ b/
src/msw/headerctrl.cpp
@@
-285,6
+285,7
@@
void wxHeaderCtrl::DoInsertItem(const wxHeaderColumn& col, unsigned int idx)
if ( !m_imageList )
{
m_imageList = new wxImageList(bmpWidth, bmpHeight);
+ (void) // suppress mingw32 warning about unused computed value
Header_SetImageList(GetHwnd(), GetHimagelistOf(m_imageList));
}
else // already have an image list