]> git.saurik.com Git - wxWidgets.git/commitdiff
Mention that you cannot call wxRadioButton::SetValue(false) if that radiobutton belon...
authorRobert Roebling <robert@roebling.de>
Wed, 18 Aug 2010 21:36:40 +0000 (21:36 +0000)
committerRobert Roebling <robert@roebling.de>
Wed, 18 Aug 2010 21:36:40 +0000 (21:36 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

interface/wx/radiobut.h

index 76a63a9b1a82c3400917867e7ca0bad8cc7f0a52..26366ecdc3954345ca3f5b7fa7515203d93bea1c 100644 (file)
@@ -107,6 +107,10 @@ public:
     /**
         Sets the radio button to selected or deselected status. This does not cause a
         @c wxEVT_COMMAND_RADIOBUTTON_SELECTED event to get emitted.
+        
+        If the radio button belongs to a group you can only select a radio button
+        (which will deselect the previously selected button) and you therefore
+        must not call this method with value set to @false in that case.
 
         @param value
             @true to select, @false to deselect.