]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/icon.cpp
Private gsocket files were using 'typedef int bool', removed this
[wxWidgets.git] / src / msw / icon.cpp
index 80fb47d87683278b14cd23ff1a179f2e645fca5b..fa2c11ffaf175c81eb77ea5c4f8f64e9e3356dc4 100644 (file)
@@ -35,6 +35,7 @@
     #include "wx/app.h"
     #include "wx/icon.h"
     #include "wx/bitmap.h"
+    #include "wx/log.h"
 #endif
 
 #include "wx/msw/private.h"
@@ -126,7 +127,7 @@ void wxIcon::CopyFromBitmap(const wxBitmap& bmp)
     HICON hicon = ::CreateIconIndirect(&iconInfo);
     if ( !hicon )
     {
-        wxLogLastError("CreateIconIndirect");
+        wxLogLastError(wxT("CreateIconIndirect"));
     }
     else
     {