Updates to fix Watcom C/C++ 11.0 compiler warning problems. Now compiles
clean with this compiler. Hopefully I did this without breaking other compilers. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -302,7 +302,7 @@ wxListCtrl::~wxListCtrl()
|
||||
delete m_textCtrl;
|
||||
m_textCtrl = NULL;
|
||||
}
|
||||
|
||||
|
||||
if (m_ownsImageListNormal) delete m_imageListNormal;
|
||||
if (m_ownsImageListSmall) delete m_imageListSmall;
|
||||
if (m_ownsImageListState) delete m_imageListState;
|
||||
@@ -730,7 +730,7 @@ bool wxListCtrl::SetItemState(long item, long state, long stateMask)
|
||||
}
|
||||
|
||||
// Sets the item image
|
||||
bool wxListCtrl::SetItemImage(long item, int image, int selImage)
|
||||
bool wxListCtrl::SetItemImage(long item, int image, int WXUNUSED(selImage))
|
||||
{
|
||||
wxListItem info;
|
||||
|
||||
@@ -1058,7 +1058,7 @@ wxTextCtrl* wxListCtrl::EditLabel(long item, wxClassInfo* textControlClass)
|
||||
}
|
||||
|
||||
// End label editing, optionally cancelling the edit
|
||||
bool wxListCtrl::EndEditLabel(bool cancel)
|
||||
bool wxListCtrl::EndEditLabel(bool WXUNUSED(cancel))
|
||||
{
|
||||
wxFAIL;
|
||||
|
||||
@@ -1844,7 +1844,7 @@ void wxListItem::ClearAttributes()
|
||||
m_attr = NULL;
|
||||
}
|
||||
|
||||
static void wxConvertFromMSWListItem(const wxListCtrl *ctrl, wxListItem& info, LV_ITEM& lvItem, HWND getFullInfo)
|
||||
static void wxConvertFromMSWListItem(const wxListCtrl *WXUNUSED(ctrl), wxListItem& info, LV_ITEM& lvItem, HWND getFullInfo)
|
||||
{
|
||||
info.m_data = lvItem.lParam;
|
||||
info.m_mask = 0;
|
||||
|
Reference in New Issue
Block a user