]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/toolbar.cpp
No changes, just remove duplicate flags checks in wxUniv wxTLW.
[wxWidgets.git] / src / gtk / toolbar.cpp
index aeb1dff25172ee8db0b14984d4d1d16a0a56373f..3050ca96c2a63ac2d2d88f5ad29c503dde64bc19 100644 (file)
@@ -502,7 +502,7 @@ bool wxToolBar::DoInsertTool(size_t pos, wxToolBarToolBase *toolBase)
                     break;
                 case wxITEM_RADIO:
                     radioGroup = GetRadioGroup(pos);
-                    if (radioGroup)
+                    if (!radioGroup)
                     {
                         // this is the first button in the radio button group,
                         // it will be toggled automatically by GTK so bring the