]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/tbar95.cpp
Separated out book control sizing code
[wxWidgets.git] / src / msw / tbar95.cpp
index 1b69f1db05b3ac85a5093ca42d09c32dc05080df..04141cf01ffca61fc1f7ccba5fe1d1b363c8c14b 100644 (file)
@@ -656,7 +656,7 @@ bool wxToolBar::Realize()
                 if ( m_disabledImgList )
                 {
                     wxBitmap bmpDisabled = tool->GetDisabledBitmap();
-#if wxUSE_IMAGE
+#if wxUSE_IMAGE && wxUSE_WXDIB
                     if ( !bmpDisabled.Ok() )
                     {
                         // no disabled bitmap specified but we still need to