// headers
// ----------------------------------------------------------------------------
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma implementation "button.h"
-#endif
-
#include "wx/wxprec.h"
#if wxUSE_TOGGLEBTN
#include "wx/mac/uma.h"
// Button
-static const int kMacOSXHorizontalBorder = 2 ;
-static const int kMacOSXVerticalBorder = 4 ;
-
// ----------------------------------------------------------------------------
// macros
// ----------------------------------------------------------------------------
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 ) ;