+#ifdef __WXMAC__
+ int major,minor;
+ wxGetOsVersion( &major, &minor );
+
+ if (major >= 10)
+ {
+ Refresh();
+ return;
+ }
+#endif
+
+ wxRect rect;
+ GetFieldRect(number, rect);
+ wxClientDC dc(this);
+
+ dc.SetBackground( wxBrush(GetBackgroundColour(), wxSOLID) );
+ dc.SetClippingRegion( rect.x+1, rect.y+1, rect.width-1, rect.height-1 );
+ dc.Clear();
+ dc.DestroyClippingRegion();
+
+ DrawFieldText( dc, number );