+
+ void GetLayoutInset(int &left , int &top , int &right, int &bottom) const
+ {
+ left = top = right = bottom = 0;
+ NSControlSize size = size = [(wxNSProgressIndicator*)m_osxView controlSize];
+
+ switch( size )
+ {
+ case NSRegularControlSize:
+ left = right = 2;
+ top = 0;
+ bottom = 4;
+ break;
+ case NSMiniControlSize:
+ case NSSmallControlSize:
+ left = right = 1;
+ top = 0;
+ bottom = 2;
+ break;
+ }
+ }