]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/imaglist.cpp
added wxUSE_REGKEY checks
[wxWidgets.git] / src / msw / imaglist.cpp
index 317bc0f788f390e55bc011c613c668511d0ee9b8..7548695b8c45884ebbf9feb7c7bdfb3d7a16c3cf 100644 (file)
@@ -278,7 +278,7 @@ bool wxImageList::Draw(int index,
 // Get the bitmap
 wxBitmap wxImageList::GetBitmap(int index) const
 {
-#if wxUSE_WXDIB
+#if wxUSE_WXDIB && wxUSE_IMAGE
     int bmp_width = 0, bmp_height = 0;
     GetSize(index, bmp_width, bmp_height);