From f45fac95d6067ed7d08b890b98e9bc6033bbb05e Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Sun, 27 Feb 2005 10:54:09 +0000 Subject: [PATCH] Fixes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/generic/imaglist.h | 1 + src/generic/imaglist.cpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/wx/generic/imaglist.h b/include/wx/generic/imaglist.h index 11e51fbe9d..3717de96b0 100644 --- a/include/wx/generic/imaglist.h +++ b/include/wx/generic/imaglist.h @@ -17,6 +17,7 @@ #include "wx/defs.h" #include "wx/list.h" +#include "wx/icon.h" class WXDLLEXPORT wxDC; class WXDLLEXPORT wxBitmap; diff --git a/src/generic/imaglist.cpp b/src/generic/imaglist.cpp index f1ab5376d5..51b6970d5f 100644 --- a/src/generic/imaglist.cpp +++ b/src/generic/imaglist.cpp @@ -117,7 +117,7 @@ const wxBitmap *wxGenericImageList::GetBitmapPtr( int index ) const } // Get the bitmap -wxBitmap wxImageList::GetBitmap(int index) const +wxBitmap wxGenericImageList::GetBitmap(int index) const { const wxBitmap* bmp = GetBitmapPtr(index); if (bmp) @@ -127,7 +127,7 @@ wxBitmap wxImageList::GetBitmap(int index) const } // Get the icon -wxIcon wxImageList::GetIcon(int index) const +wxIcon wxGenericImageList::GetIcon(int index) const { const wxBitmap* bmp = GetBitmapPtr(index); if (bmp) -- 2.45.2