From 58c5c7ecd23dd080ca9709dacc140defee3c0bae Mon Sep 17 00:00:00 2001 From: Ryan Norton Date: Tue, 1 Mar 2005 10:42:02 +0000 Subject: [PATCH] wxUSE_IMAGLIST fix (good grief...) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/imaglist.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/generic/imaglist.cpp b/src/generic/imaglist.cpp index 51b6970d5f..3e3f71cd46 100644 --- a/src/generic/imaglist.cpp +++ b/src/generic/imaglist.cpp @@ -14,6 +14,8 @@ // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" +#if wxUSE_IMAGLIST + #ifdef __BORLANDC__ #pragma hdrstop #endif @@ -226,4 +228,5 @@ bool wxGenericImageList::Draw( int index, wxDC &dc, int x, int y, return true; } +#endif // wxUSE_IMAGLIST #endif // __WXPALMOS__ -- 2.45.2