From: Václav Slavík Date: Thu, 7 Aug 2003 08:16:26 +0000 (+0000) Subject: XP manifest is in wx.rc now X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/86c529a9d4d0af5c2156d32c79e066a598b5c0b1 XP manifest is in wx.rc now git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/msw/winxp.txt b/docs/msw/winxp.txt index b584381ab5..f892999a83 100644 --- a/docs/msw/winxp.txt +++ b/docs/msw/winxp.txt @@ -1,5 +1,5 @@ -Microsoft Windows XP Support from wxWindows 2.3.2 -------------------------------------------------- +Microsoft Windows XP Support from wxWindows +------------------------------------------- Windows XP introduces the themes (called "visual styles" in the Microsoft documentation) in Windows world. As wxWindows uses the standard Windows @@ -9,6 +9,9 @@ want your program to honour the visual style setting of Windows XP is to add the manifest file to your program (this is not at all specific to wxWindows programs but is required for all Windows applications). +wxWindows now includes manifest resources in wx.rc, so it should be enough to +include "wx/msw/wx.rc" in your application's resource file and you get +XP look automatically. If it doesn't work, follow the instructions below: For your convenience, below is an example manifest. It should be put in a file called "yourapp.exe.manifest" and put in the same directory where @@ -19,7 +22,6 @@ http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwxp/html/xpth for more details. - Here is the example manifest which you can put into controls.exe.manifest file to test theme support using the controls sample: