Remove unnecessary wxToolbook::SetImageList() override

This wasn't doing anything and is just unnecessary.
This commit is contained in:
Vadim Zeitlin
2021-11-12 17:51:17 +00:00
parent 31cd4b0aea
commit 5d1c79d218
2 changed files with 0 additions and 10 deletions

View File

@@ -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;

View File

@@ -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
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------