X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae3c17b4013e80b99976c750c19fca47729517f6..2a8312bced9d3f3415383a79a15cad2acf447b7e:/interface/wx/imaglist.h diff --git a/interface/wx/imaglist.h b/interface/wx/imaglist.h index ca3711c418..c90ee4cccc 100644 --- a/interface/wx/imaglist.h +++ b/interface/wx/imaglist.h @@ -8,7 +8,6 @@ /** @class wxImageList - @wxheader{imaglist.h} A wxImageList contains a list of images, which are stored in an unspecified form. Images can have masks for transparent @@ -139,9 +138,9 @@ public: For optimisation - drawing can be faster if the function is told that the background is solid. */ - bool Draw(int index, wxDC& dc, int x, int y, - int flags = wxIMAGELIST_DRAW_NORMAL, - bool solidBackground = false); + virtual bool Draw(int index, wxDC& dc, int x, int y, + int flags = wxIMAGELIST_DRAW_NORMAL, + bool solidBackground = false); /** Returns the bitmap corresponding to the given index. @@ -156,7 +155,7 @@ public: /** Returns the number of images in the list. */ - int GetImageCount() const; + virtual int GetImageCount() const; /** Retrieves the size of the images in the list. Currently, the @a index @@ -172,7 +171,7 @@ public: @return @true if the function succeeded, @false if it failed (for example, if the image list was not yet initialized). */ - bool GetSize(int index, int& width, int& height) const; + virtual bool GetSize(int index, int& width, int& height) const; /** Removes the image at the given position.