]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/private.h
silenced Watcom warning when deleting const pointer
[wxWidgets.git] / include / wx / msw / private.h
index 52c924ae09e89a4d8216211a12f56a9e496343ef..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"));
             }