WinXP Button Style with wxPython

I noticed that my programs written with wxPython have a Win98 button style. But the Boa Constructor (which is written using wxPython too) got nice buttons.

How to make buttons look like the current style of Windows buttons?

+3
source share
4 answers

Are you writing an application with py2exe?

If so, you may need to specify a manifest file for Python to use the WinXP (Vista?) / Common Controls theme:

http://wiki.wxpython.org/DistributingYourApplication

+3
source

John answer, python.exe pythonw.exe, py2exe.

+1

(, py2exe), .

( ) python 2.6, , .py (Vista Windows7). update_manifest.py, wxPython, , python.exe.

update_manifest.py python.exe wxPython , Windows7 RC1.

0

pythonw.exe python.exe?

-2

Source: https://habr.com/ru/post/1704721/


All Articles