]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/tglbtn.cpp
check that the version of __sync_sub_and_fetch that returns a value is supported...
[wxWidgets.git] / src / mac / carbon / tglbtn.cpp
index 3e974ca9a479dedeebb7707adda5af44f4bcf6fe..27bb8c15e6e6aeb764c9ca2a76ff2c3193548efd 100644 (file)
@@ -54,7 +54,7 @@ bool wxToggleButton::Create(wxWindow *parent, wxWindowID id,
     if ( !wxControl::Create(parent, id, pos, size, style, validator, name) )
         return false;
     
-    m_label = label ;
+    m_labelOrig = m_label = label ;
 
     Rect bounds = wxMacGetBoundsForControl( this , pos , size ) ;