]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/imaglist.cpp
OpenGL off by default on Mac, correct scripts to
[wxWidgets.git] / src / generic / imaglist.cpp
index 4aea721b374064b8ee054e0213bab4e2b4a6cfdb..b70f3e23bf21b418f4903d67890db42d803a403e 100644 (file)
 
 IMPLEMENT_DYNAMIC_CLASS(wxGenericImageList, wxObject)
 
+#if !defined(__WXMSW__) || defined(__WIN16__) || defined(__WXUNIVERSAL__)
+/*
+ * wxImageList has to be a real class or we have problems with
+ * the run-time information.
+ */
+
+IMPLEMENT_DYNAMIC_CLASS(wxImageList, wxGenericImageList)
+#endif
+
 wxGenericImageList::wxGenericImageList( int width, int height, bool mask, int initialCount )
 {
     (void)Create(width, height, mask, initialCount);