]> git.saurik.com Git - wxWidgets.git/commitdiff
Blind guess fix for wxRB_SINGLE
authorRobert Roebling <robert@roebling.de>
Thu, 9 Oct 2008 18:09:11 +0000 (18:09 +0000)
committerRobert Roebling <robert@roebling.de>
Thu, 9 Oct 2008 18:09:11 +0000 (18:09 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/radiobut.cpp

index fc095b65387bd132d8410927d678f7bc3eb47c71..3e7cea5d980c2445d4cb66da783fe7d26d55944e 100644 (file)
@@ -66,7 +66,7 @@ bool wxRadioButton::Create( wxWindow *parent,
     }
 
     GSList* radioButtonGroup = NULL;
-    if (!HasFlag(wxRB_GROUP))
+    if (!HasFlag(wxRB_GROUP) && !HasFlag(wxRB_SINGLE))
     {
         // search backward for last group start
         wxWindowList::compatibility_iterator node = parent->GetChildren().GetLast();