hi there,
platform : Windows 7 64 bits SP1
compiler: TDM-GCC-64, gcc 4.8.1 (tdm64-2)
wxWidgets 3.0.1
I ported my application from Mac to Windows.
I can see my controls look like win95's, my app seem to emerge from the deep 20th century …
the sample/controls app has a nicer look, how can it achieve that ?
I couln't find something in its source.
[Windows] why are my widgets so ugly ?
- xaviou
- Super wx Problem Solver
- Posts: 437
- Joined: Mon Aug 21, 2006 3:18 pm
- Location: Annecy - France
- Contact:
Re: [Windows] why are my widgets so ugly ?
Hi.
It is a Windows manifest problem.
If you don't have any, add a resources files with the following :
Regards
Xav'
It is a Windows manifest problem.
If you don't have any, add a resources files with the following :
Code: Select all
#include "wx/msw/wx.rc"
Xav'
My wxWidgets stuff web page : X@v's wxStuff
Re: [Windows] why are my widgets so ugly ?
seems easy,
but in what file do I include it ?
I couln't find documentation about manifests in WX - what they are, how to use...
I'm new to Windows and somewhat lost
but in what file do I include it ?
I couln't find documentation about manifests in WX - what they are, how to use...
I'm new to Windows and somewhat lost
Re: [Windows] why are my widgets so ugly ?
Documentation describing how to use a manifest in a wxWidgets application is contained in $WXWIN\docs\msw\winxp.txt file, you can also read it here:
http://svn.wxwidgets.org/viewvc/wx/wxWi ... iew=markup
http://svn.wxwidgets.org/viewvc/wx/wxWi ... iew=markup
Re: [Windows] why are my widgets so ugly ?
You can take an example in "samples/samples.rc".
Copy it to your own folder, rename it, modify it.
If you use Mingw (or TDM) compile it using 'winres':
windres.exe -IwxFullPathInclude -J rc -O coff -i theFile.rc -o theFile.res
Add the .res file to rest of files to be linked.
Copy it to your own folder, rename it, modify it.
If you use Mingw (or TDM) compile it using 'winres':
windres.exe -IwxFullPathInclude -J rc -O coff -i theFile.rc -o theFile.res
Add the .res file to rest of files to be linked.
Re: [Windows] why are my widgets so ugly ?
all right
thank you everybody.
Gilles.
thank you everybody.
Gilles.