Remove unnecessary wxToolbook::SetImageList() override
This wasn't doing anything and is just unnecessary.
This commit is contained in:
@@ -81,7 +81,6 @@ public:
|
|||||||
int imageId = NO_IMAGE) wxOVERRIDE;
|
int imageId = NO_IMAGE) wxOVERRIDE;
|
||||||
virtual int SetSelection(size_t n) wxOVERRIDE { return DoSetSelection(n, SetSelection_SendEvent); }
|
virtual int SetSelection(size_t n) wxOVERRIDE { return DoSetSelection(n, SetSelection_SendEvent); }
|
||||||
virtual int ChangeSelection(size_t n) wxOVERRIDE { return DoSetSelection(n); }
|
virtual int ChangeSelection(size_t n) wxOVERRIDE { return DoSetSelection(n); }
|
||||||
virtual void SetImageList(wxImageList *imageList) wxOVERRIDE;
|
|
||||||
|
|
||||||
virtual bool DeleteAllPages() wxOVERRIDE;
|
virtual bool DeleteAllPages() wxOVERRIDE;
|
||||||
virtual int HitTest(const wxPoint& pt, long *flags = NULL) const wxOVERRIDE;
|
virtual int HitTest(const wxPoint& pt, long *flags = NULL) const wxOVERRIDE;
|
||||||
|
|||||||
@@ -173,15 +173,6 @@ bool wxToolbook::SetPageImage(size_t n, int imageId)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
|
||||||
// image list stuff
|
|
||||||
// ----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
void wxToolbook::SetImageList(wxImageList *imageList)
|
|
||||||
{
|
|
||||||
wxBookCtrlBase::SetImageList(imageList);
|
|
||||||
}
|
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// selection
|
// selection
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user