]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/radiobox.cpp
Use typesafe wxVariantList in wxVariant instead of wxList
[wxWidgets.git] / src / mac / carbon / radiobox.cpp
index da6e2588685f4c460fa39c2ef1d001b05555c308..68ad272a3c62648b4284ca4512f7212c0fcdf9de 100644 (file)
@@ -107,7 +107,7 @@ bool wxRadioBox::Create( wxWindow *parent,
 
     SetMajorDim( majorDim == 0 ? n : majorDim, style );
 
-    m_label = label;
+    m_labelOrig = m_label = label;
 
     Rect bounds = wxMacGetBoundsForControl( this, pos, size );
     if ( bounds.right <= bounds.left )