X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/545176521071a4edd242a2cd4163b363e818ec56..f96ac56ad3cc1961e41a6130335d7b89a21a76e4:/src/gtk/radiobox.cpp diff --git a/src/gtk/radiobox.cpp b/src/gtk/radiobox.cpp index d96aff1a1d..53796108d5 100644 --- a/src/gtk/radiobox.cpp +++ b/src/gtk/radiobox.cpp @@ -277,7 +277,11 @@ bool wxRadioBox::Show( bool show ) { wxCHECK_MSG( m_widget != NULL, FALSE, wxT("invalid radiobox") ); - wxWindow::Show( show ); + if (!wxControl::Show(show)) + { + // nothing to do + return FALSE; + } if ((m_windowStyle & wxNO_BORDER) != 0) gtk_widget_hide( m_widget );