+
+ // trying to get as close as possible to flags
+ if ( style & wxBORDER_NONE )
+ {
+ [v setBezelStyle:NSShadowlessSquareBezelStyle];
+ }
+ else
+ {
+ if ( style & wxBU_AUTODRAW )
+ [v setBezelStyle:NSShadowlessSquareBezelStyle];
+ else
+ [v setBezelStyle:NSRegularSquareBezelStyle];
+ }
+
+ if (bitmap.Ok())
+ [v setImage:bitmap.GetNSImage() ];