#pragma hdrstop
#endif
-#include "wx/dcclient.h"
-#include "wx/math.h"
+#ifndef WX_PRECOMP
+ #include "wx/dcclient.h"
+ #include "wx/math.h"
+#endif
// I don't know why members of tagVARIANT aren't found when compiling
// with Wine
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)
);
}
}