]> git.saurik.com Git - wxWidgets.git/commitdiff
wxUSE_IMAGLIST fix (good grief...)
authorRyan Norton <wxprojects@comcast.net>
Tue, 1 Mar 2005 10:42:02 +0000 (10:42 +0000)
committerRyan Norton <wxprojects@comcast.net>
Tue, 1 Mar 2005 10:42:02 +0000 (10:42 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/imaglist.cpp

index 51b6970d5ffbbc71f7ed23c3ae195cff4f6bc032..3e3f71cd4692ffc4196f8a58e6f51c620c39ffec 100644 (file)
@@ -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__