X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f45fac95d6067ed7d08b890b98e9bc6033bbb05e..cdef03346586b83cb87ed1e9d239f236ce8baaf7:/src/generic/imaglist.cpp diff --git a/src/generic/imaglist.cpp b/src/generic/imaglist.cpp index 51b6970d5f..0e3d1c01bd 100644 --- a/src/generic/imaglist.cpp +++ b/src/generic/imaglist.cpp @@ -7,13 +7,11 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation "imaglist.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" +#if wxUSE_IMAGLIST + #ifdef __BORLANDC__ #pragma hdrstop #endif @@ -226,4 +224,5 @@ bool wxGenericImageList::Draw( int index, wxDC &dc, int x, int y, return true; } +#endif // wxUSE_IMAGLIST #endif // __WXPALMOS__