Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: freepro on November 19, 2012, 03:11:44 pm
-
I use CodeBlocks complied a wxWidgets GUI program in windows 7, but the GUI's style is XP. What i should to do?
-
Most likely you've not given the correct OS version in your manifest file (or don't have one at all).
(not related to Code::Blocks)
-
Can you tell me what i should to do?
-
Can you tell me what i should to do?
Search for "manifest file" using your favourite search engine. There are plenty of examples around explaining what you have to do. And it depends on what you have in mind, so there is no general solution. You may use the "xpmanifest" plugin, too. However - this is for XP.
-
Problem is resolved. :)
I found the file 'sample.rc' in wxWidgets directory. There are brief descriptions:
// set this to 1 if you don't want to use manifest resource (manifest resource
// is needed to enable visual styles on Windows XP - see docs/msw/winxp.txt
// for more information)
#define wxUSE_NO_MANIFEST 0
So i add '#define wxUSE_NO_MANIFEST 0' in my resource.rc. That's great, the problem is resolved! ;D