From 8ac8eb6fdabaded7fe14a949464c192fbf2c0d88 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 7 Jul 2013 00:39:05 +0000 Subject: [PATCH] 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 --- interface/wx/anybutton.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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. -- 2.47.2