]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/imaglist.h
extend GetAsBitmap with an optional subrect
[wxWidgets.git] / include / wx / generic / imaglist.h
index 157a6ff05cd84a13f6720c86289688518f2e3be9..92db6dc87210fb69015dd1461cdaec88062b5fb4 100644 (file)
@@ -57,7 +57,8 @@ private:
     DECLARE_DYNAMIC_CLASS(wxGenericImageList)
 };
 
-#if !defined(__WXMSW__) && !defined(__WXMAC__)
+#ifndef wxHAS_NATIVE_IMAGELIST
+
 /*
  * wxImageList has to be a real class or we have problems with
  * the run-time information.
@@ -75,7 +76,7 @@ public:
     {
     }
 };
-#endif // !HAVE_NATIVE_IMAGELIST
+#endif // !wxHAS_NATIVE_IMAGELIST
 
 #endif  // __IMAGELISTH_G__