wxpython on Mac - button style

I am using wxPython3.0-osx-cocoa-py2.7 on Mac 10.11.5 with python 2.7.11.

Looking at the documentation, for wxmac it show the buttons looking like this (nice and rounded with a glow):

enter image description here

But my buttons look like this (not rounded and no glow):

enter image description here

I am using this code:

closeBtn = wx.Button(self, -1, "Close")
closeBtn.Bind(wx.EVT_BUTTON, self.OnClose)

How can I get mey buttons to look like the wxmac example?

kevjwells wrote:

I am using wxPython3.0-osx-cocoa-py2.7 on Mac 10.11.5 with python 2.7.11.

Looking at the documentation, for wxmac it show the buttons looking like this (nice and
rounded with a glow):

enter image description here

But my buttons look like this (not rounded and no glow):

enter image description here

I am using this code:

closeBtn = wx.Button(self, -1, "Close")
closeBtn.Bind(wx.EVT_BUTTON, self.OnClose)

How can I get mey buttons to look like the wxmac example?

Install an old version of OSX, something like 10.7 or so. Apple has a habit of making big UI look and feel changes in the stock widgets in each OSX release, and those screen shots were taken a few versions back.

···


Robin Dunn

Software Craftsman

http://wxPython.org