]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/radiobut.cpp
In wxComboCtrlBase::DrawButton(), let the button background rendering changes also...
[wxWidgets.git] / src / gtk / radiobut.cpp
index f465958df1210d3c451af3b5e9ea3c267f12bbaa..d5c28e4574801bcc9e39f0a0ac35db15f9ca7afc 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        radiobut.cpp
+// Name:        src/gtk/radiobut.cpp
 // Purpose:
 // Author:      Robert Roebling
 // Id:          $Id$
@@ -99,6 +99,9 @@ void wxRadioButton::SetLabel( const wxString& label )
 {
     wxCHECK_RET( m_widget != NULL, wxT("invalid radiobutton") );
 
+    // save the original label
+    wxControlBase::SetLabel(label);
+
     GTKSetLabelForLabel(GTK_LABEL(GTK_BIN(m_widget)->child), label);
 }