]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/ole/activex.cpp
allow to specify the value for unknown ids in GetXRCID() (patch 1448981)
[wxWidgets.git] / src / msw / ole / activex.cpp
index 4b5a415e64389781ff6f7e4162037c69869c0da1..0c8ec070f418e07da520cc63c1d20cff4cafa5bb 100644 (file)
@@ -946,7 +946,7 @@ void wxActiveXContainer::CreateActiveX(REFIID iid, IUnknown* pUnk)
                 hret = cp->Advise(new wxActiveXEvents(this, ta->guid),
                                   &adviseCookie);
                 wxASSERT_MSG( SUCCEEDED(hret),
-                    wxString::Format(wxT("Cannot connect!\nHRESULT:%X"), hret)
+                    wxString::Format(wxT("Cannot connect!\nHRESULT:%X"), (unsigned int)hret)
                             );
             }
         }