Disable creation of wxDIB from wxBitmap in non-wxMSW ports.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 17 Jun 2012 21:35:10 +0000 (21:35 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 17 Jun 2012 21:35:10 +0000 (21:35 +0000)
commit954fd05108895d26b0d3f7a298673179a1dcdbaa
tree64a58f2c510a6643393d5e741fadd2273a165b11
parent598fe99d56158319f6b5f817c4670748f98bc70a
Disable creation of wxDIB from wxBitmap in non-wxMSW ports.

wxDIB can now be used with wxGTK under Windows, i.e. when not using wxMSW
version of wxBitmap but it can't be created from wxBitmap then as it doesn't
have a corresponding HBITMAP.

Simply disable this functionality when not using wxMSW.

Closes #14414.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/msw/dib.h
src/msw/dib.cpp