]> git.saurik.com Git - wxWidgets.git/commitdiff
added a note about Windows XP support
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 9 Dec 2001 12:56:28 +0000 (12:56 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 9 Dec 2001 12:56:28 +0000 (12:56 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/msw/winxp.txt [new file with mode: 0644]
docs/readme.txt

diff --git a/docs/msw/winxp.txt b/docs/msw/winxp.txt
new file mode 100644 (file)
index 0000000..6074f13
--- /dev/null
@@ -0,0 +1,62 @@
+Microsoft Windows XP Support in wxWindows 2.3.2
+-----------------------------------------------
+
+Windows XP introduces the themes (called "visual styles" in the Microsoft
+documentation) in Windows world. As wxWindows uses the standard Windows
+controls for most of its classes, it can take advantage of it without
+(almost) any effort from your part. The only thing you need to do if you
+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).
+
+
+For your convinience, below is an example manifest. It should be put in a
+file called "yourapp.exe.manifest" and put in the same directory where
+"yourapp.exe" resides. Alternatively, you can include the manifest in your
+applications resource section. Please see the MSDN documentation at
+
+http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwxp/html/xptheming.asp
+
+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:
+
+--- cut here ---
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
+<assemblyIdentity
+    version="0.64.1.0"
+    processorArchitecture="x86"
+    name="Controls"
+    type="win32"
+/>
+<description>Controls: wxWindows sample application</description>
+<dependency>
+    <dependentAssembly>
+        <assemblyIdentity
+            type="win32"
+            name="Microsoft.Windows.Common-Controls"
+            version="6.0.0.0"
+            processorArchitecture="X86"
+            publicKeyToken="6595b64144ccf1df"
+            language="*"
+        />
+    </dependentAssembly>
+</dependency>
+</assembly>
+--- cut here ---
+
+
+There are a few minor problems with theme support in wxWindows currently
+which will be fixed in the next releases:
+
+- the buttons with non-default colours are owner-drawn and thus don't
+  follow the visual style look but always have the default 3D look of
+  the previous Windows versions - don't change the buttons colours if
+  you want them to look nicely under Windows XP
+
+- wxCheckListBox control doesn't have the same appearance as the native
+  checkboxes in Windows XP
+
index 11c82410ba755f552d19b12870265ddf95694bbf..cfe4a07a0af7ae17a84f76aea2a730a77f9e4d48 100644 (file)
@@ -33,7 +33,7 @@ Platforms supported
 
 wxWindows 2 currently supports the following platforms:
 
-- Windows 95/98/ME, Windows NT, Windows 2000, Windows XP
+- Windows 95/98/ME, Windows NT, Windows 2000, Windows XP (see msw/winxp.txt)
 - Most Unix variants with Motif/Lesstif
 - Most Unix variants with GTK+
 - MacOS