Project lost XP styling Topic is solved

If you are using wxDev-C++ for your wxWidgets design, please ask your questions here instead of in IDE Related.
Post Reply
Sof_T
Can't get richer than this
Can't get richer than this
Posts: 864
Joined: Thu Jul 28, 2005 9:48 pm
Location: New Forest, United Kingdom
Contact:

Project lost XP styling

Post by Sof_T »

I have recently encountered a problem on the project I am working on. I am developing on Windows XP using Version 6.8. Up to today I have had no real problems, but today when I recompiled my project it is rendered as a Windows 9x project, not as a Windows XP project. I have not changed any settings in the project the only change between one compilation and the next was to add a new wxDialog to the project. Any ideas why it no longer looks like an XP program? :?:
Ugly!
Earned some good credits
Earned some good credits
Posts: 113
Joined: Mon May 09, 2005 5:11 am
Location: Argentina - BS AS

Post by Ugly! »

what compiler are u using? wx-dev? mingw? visual c++?
Just a newbie - Too many interests, not too many time.

Windows XP SP2
Kubuntu GNU/Linux - Feisty
wxActiveRecordGenerator (aka wxARG) maintainer
Find it at wxCode
Sof_T
Can't get richer than this
Can't get richer than this
Posts: 864
Joined: Thu Jul 28, 2005 9:48 pm
Location: New Forest, United Kingdom
Contact:

Post by Sof_T »

Sorry if I sound vague. I am using wxDev-CPP with the standard compiler.
leio
Can't get richer than this
Can't get richer than this
Posts: 802
Joined: Mon Dec 27, 2004 10:46 am
Location: Estonia, Tallinn
Contact:

Post by leio »

The XP styling disappears if the manifest file that wx/msw/wx.rc is supposed to include doesn't get included.
Why this could be the case, I do not know
Compilers: gcc-3.3.6, gcc-3.4.5, gcc-4.0.2, gcc-4.1.0 and MSVC6
OS's: Gentoo Linux, WinXP; WX: CVS HEAD

Project Manager of wxMUD - http://wxmud.sf.net/
Developer of wxGTK;
gtk+ port maintainer of OMGUI - http://www.omgui.org/
Sof_T
Can't get richer than this
Can't get richer than this
Posts: 864
Joined: Thu Jul 28, 2005 9:48 pm
Location: New Forest, United Kingdom
Contact:

Post by Sof_T »

That was my first thought, but the manifest file is listed as an include file and the compiler makes no complaints about not being able to find it. It has me stumped.
gururamnath
Super wx Problem Solver
Super wx Problem Solver
Posts: 466
Joined: Sat Sep 18, 2004 2:49 am
Location: California, USA

Post by gururamnath »

You can include .manifest file by opening the dev-cpp project Options (right click on the project name)and set the "Support Windows XP Themes" option under the General tab.

Let us know if this solves your problem.

-Guru Kathiresan
Sof_T
Can't get richer than this
Can't get richer than this
Posts: 864
Joined: Thu Jul 28, 2005 9:48 pm
Location: New Forest, United Kingdom
Contact:

Post by Sof_T »

Thanks Guru that was exactly the problem. I never even noticed that option before. I've no idea how I turned it off though. Just goes to prove that 99% of problems are user errors.

Sof.T
Post Reply