]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/imaglist.cpp
Don't always maximize top-level windows on Smartphone
[wxWidgets.git] / 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__