On Mon, Sep 8, 2008 at 9:12 AM, Mark Hammond <mhammond@...:
> The capability to use themes is usually defined at the C/C++ level by
> defining the ISOLATION_AWARE_ENABLED preprocessor macro (try googling for
> it). Unfortunatly, I don't know enough about wx to know how it manages
> this, but in pywin32 for example, there is a 'winxpgui' module which, if
> used in place of win32gui, will enable theming. Probably the best you can
> do is to ask the wx lists how it manages themeing in the first place, and
> then we might be able to help you work out why py2exe is breaking it.
> [I vaguely recall that under the covers, a manifest ended up in the DLL
> which ultimately controls the behaviour. However, py2exe doesn't touch the
> manifest on the DLLS we find, only on the "top-level" executables and DLLs
> we build - so I don't immediately see how py2exe would cause this]
In wxPython executables, as far as I know you have to add the manifest
manually. Ask on the wxPython list, there are plenty of people there with
the required experience (and with tools to make it easier).
(Although I do use wxPython myself, I don't care for it myself).
> From: py2exe-users-bounces@...
> [mailto:py2exe-users-bounces@...] On Behalf Of A Wain
> Sent: Monday, 8 September 2008 3:26 PM
> To: py2exe-users@...
> Subject: [Py2exe-users] py2exe / wxpython window style problems
> hey guys,
> I'm a bit new to py2exe so please bare with me :P
> I'm running into some odd problems after running one of my applications
> through py2exe. Pre-py2exe, I have a wxpython-based application with a
> of controls which have certain styles set as well as most of my controls
> theme-enabled. My application looks exactly the way I want for Windows XP
> but after compiling with py2exe and running the new .exe file most of my
> controls are appearing as basic controls, no themes, missing style
> etc. Basically my program went from a nice looking XP-style app to a basic
> looking Windows 95 app. :(
> Can anyone shed some light as to why my controls are comming out so bland
> after using py2exe? I am quite new to py2exe and I haven't clue where/how
> correct this issue and my program is looking quite bland atm, which is
> holding me back from releasing it :(
> TIA, Any help would be appreciated :)
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> Build the coolest Linux based applications with Moblin SDK & win great
> Grand prize is a trip for two to an Open Source event anywhere in the world
> Py2exe-users mailing list