Windows 7 theme

12 views
Skip to first unread message

Kenneth Porter

unread,
Mar 19, 2012, 7:40:57 PM3/19/12
to wx-u...@googlegroups.com
I just built my app for the first time on Win 7 and it's very flat-looking,
just simple outlines around buttons, with no raised look or drop shadows.
Did I forget to do something to theme the controls?

Eran Ifrah

unread,
Mar 20, 2012, 2:24:16 AM3/20/12
to wx-u...@googlegroups.com
This is usually happens when you don't add .rc file to your application (Windows resource file)
I usually add a single .rc file with this content:

#include "wx/msw/wx.rc" 
1 24 "wx/msw/wx.manifest"

which does the trick for me

On Tue, Mar 20, 2012 at 1:40 AM, Kenneth Porter <sh...@sewingwitch.com> wrote:
I just built my app for the first time on Win 7 and it's very flat-looking, just simple outlines around buttons, with no raised look or drop shadows. Did I forget to do something to theme the controls?



--
Eran Ifrah
Author of the cross platform, open source C++ IDE: http://www.codelite.org
YTubePlayer http://www.ytubeplayer.com

Kenneth Porter

unread,
Mar 20, 2012, 4:34:25 PM3/20/12
to wx-u...@googlegroups.com
On Tuesday, March 20, 2012 8:24 AM +0200 Eran Ifrah <eran....@gmail.com>
wrote:

> This is usually happens when you don't add .rc file to your application
> (Windows resource file)
> I usually add a single .rc file with this content:
>
>
>

># include "wx/msw/wx.rc" 


> 1 24 "wx/msw/wx.manifest"
>
>
> which does the trick for me

It looks like I'm not getting the manifest file included, because I'm not
explicitly doing so, and wx.rc only does it for Visual Studio older than
2005. I'll try forcing that.


Reply all
Reply to author
Forward
0 new messages