]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/private.h
Don't include <CoreFoundation/CFBase.h> because it in turn includes MacTypes.h which...
[wxWidgets.git] / include / wx / msw / private.h
index b11c9c455a2f0d9fe36001465aed91a5583bb688..22049abda79f65510d7c0c68bf64f55736134b87 100644 (file)
@@ -692,7 +692,7 @@ public:
     {
         if ( IsRegistered() )
         {
-            if ( !::UnregisterClass(m_clsname, wxhInstance) )
+            if ( !::UnregisterClass(m_clsname.wx_str(), wxhInstance) )
             {
                 wxLogLastError(_T("UnregisterClass"));
             }
@@ -824,7 +824,8 @@ enum wxWinVersion
     wxWinVersion_2003 = 0x0502,
 
     wxWinVersion_6 = 0x0600,
-    wxWinVersion_NT6 = 0x0600
+    wxWinVersion_Vista = wxWinVersion_6,
+    wxWinVersion_NT6 = wxWinVersion_6
 };
 
 WXDLLIMPEXP_BASE wxWinVersion wxGetWinVersion();