You need to use methods like SetWindowStyle()
or SetWindowStyleFlag()
, which are implemented by wx.Window
, a common ancestor for all wxWidgets windows, and documented here.
For example, for the border, try this:
btn.SetWindowStyleFlag(wx.SIMPLE_BORDER)
# or
btn.SetWindowStyleFlag(wx.NO_BORDER)