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
The following sample code
import wx
app = wx.App()
mystyles = wx.SYSTEM_MENU | wx.CLOSE_BOX | wx.CAPTION | wx.MINIMIZE_BOX
fra = wx.Frame(None, title=“learning”, style=mystyles, size=(200, 200))
panel = wx.Panel(fra)
button = wx.Button(panel, label=“Press Me”)
fra.Show()
app.MainLoop()
And the result is
As you can see, the button look is more Windows 98 or XP than W 7 or 10.
Am I missed something ?
Thanks in advance for your replies !
Franck