X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f45fac95d6067ed7d08b890b98e9bc6033bbb05e..dde4740fe1dddbb2738a0afd054f493cb0dd67d1:/src/generic/imaglist.cpp 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__