From: Vadim Zeitlin Date: Sun, 7 Jul 2013 00:39:05 +0000 (+0000) Subject: Don't pretend that wxAnyButton::SetBitmap() supports invalid bitmaps. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8ac8eb6fdabaded7fe14a949464c192fbf2c0d88 Don't pretend that wxAnyButton::SetBitmap() supports invalid bitmaps. Because it doesn't under MSW. See #13569. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/interface/wx/anybutton.h b/interface/wx/anybutton.h index 448ddd5742..064bce757e 100644 --- a/interface/wx/anybutton.h +++ b/interface/wx/anybutton.h @@ -103,8 +103,9 @@ public: states. @param bitmap - The bitmap to display in the button. May be invalid to remove any - currently displayed bitmap. + The bitmap to display in the button. Under wxGTK the bitmap can be + invalid to remove the currently displayed bitmap, however this is + not supported in wxMSW currently. @param dir The position of the bitmap inside the button. By default it is positioned to the left of the text, near to the left button border.