Hello, I begin with Wx and have a problem… I have a Windows 10 PC with the following configuration :
Python 3.8.8rc1 (tags/v3.8.8rc1:dfd7d68, Feb 17 2021, 11:01:21) [MSC v.1928 64 bit (AMD64)] on win32
Wx 4.1.1 installed using PIP
First you should provide an ‘id’ for frame. id=wx.ID_ANY
Second, there are plenty of buttons available - see the wxpython demo code.
Thrid, the control look depends on the OS. In my case I use linux and I have rounded corners.
Johnf
The button looks fine. It’s a native Windows button. It’s being displayed with a blue border as it has the keyboard focus. Add a second one and you’ll see at least one without a border.
For starting into wxPython you may want to have a look at wxGlade. It will save you from typing such code.