Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -687,7 +687,7 @@ private:
|
||||
CallBackAction doubleClickAction;
|
||||
void* doubleClickActionData;
|
||||
public:
|
||||
wxSTCListBoxWin(wxWindow* parent, wxWindowID id, Point location) :
|
||||
wxSTCListBoxWin(wxWindow* parent, wxWindowID id, Point WXUNUSED(location)) :
|
||||
wxPopupWindow(parent, wxBORDER_NONE)
|
||||
{
|
||||
SetBackgroundColour(*wxBLACK); // for our simple border
|
||||
@@ -1055,7 +1055,7 @@ void ListBoxImpl::Append(const wxString& text, int type) {
|
||||
long count = GETLB(id)->GetItemCount();
|
||||
long itemID = GETLB(id)->InsertItem(count, wxEmptyString);
|
||||
GETLB(id)->SetItem(itemID, 1, text);
|
||||
maxStrWidth = wxMax(maxStrWidth, text.Length());
|
||||
maxStrWidth = wxMax(maxStrWidth, text.length());
|
||||
if (type != -1) {
|
||||
wxCHECK_RET(imgTypeMap, wxT("Unexpected NULL imgTypeMap"));
|
||||
long idx = imgTypeMap->Item(type);
|
||||
@@ -1396,9 +1396,3 @@ const wxWX2MBbuf wx2stc(const wxString& str)
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -687,7 +687,7 @@ private:
|
||||
CallBackAction doubleClickAction;
|
||||
void* doubleClickActionData;
|
||||
public:
|
||||
wxSTCListBoxWin(wxWindow* parent, wxWindowID id, Point location) :
|
||||
wxSTCListBoxWin(wxWindow* parent, wxWindowID id, Point WXUNUSED(location)) :
|
||||
wxPopupWindow(parent, wxBORDER_NONE)
|
||||
{
|
||||
SetBackgroundColour(*wxBLACK); // for our simple border
|
||||
@@ -1055,7 +1055,7 @@ void ListBoxImpl::Append(const wxString& text, int type) {
|
||||
long count = GETLB(id)->GetItemCount();
|
||||
long itemID = GETLB(id)->InsertItem(count, wxEmptyString);
|
||||
GETLB(id)->SetItem(itemID, 1, text);
|
||||
maxStrWidth = wxMax(maxStrWidth, text.Length());
|
||||
maxStrWidth = wxMax(maxStrWidth, text.length());
|
||||
if (type != -1) {
|
||||
wxCHECK_RET(imgTypeMap, wxT("Unexpected NULL imgTypeMap"));
|
||||
long idx = imgTypeMap->Item(type);
|
||||
@@ -1396,9 +1396,3 @@ const wxWX2MBbuf wx2stc(const wxString& str)
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user