]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/wrapshl.h
Don't create multiple parent-less top level frames in layout sample.
[wxWidgets.git] / include / wx / msw / wrapshl.h
index 472df7511df16089957a39b739f47dbea8d2e07c..25585112e1a28bcd444a6a497ad5cd48ca2bba5d 100644 (file)
@@ -25,6 +25,8 @@
 
 #include "wx/msw/winundef.h"
 
 
 #include "wx/msw/winundef.h"
 
+#include "wx/log.h"
+
 // ----------------------------------------------------------------------------
 // wxItemIdList implements RAII on top of ITEMIDLIST
 // ----------------------------------------------------------------------------
 // ----------------------------------------------------------------------------
 // wxItemIdList implements RAII on top of ITEMIDLIST
 // ----------------------------------------------------------------------------
@@ -70,7 +72,7 @@ public:
         wxString path;
         if ( !SHGetPathFromIDList(m_pidl, wxStringBuffer(path, MAX_PATH)) )
         {
         wxString path;
         if ( !SHGetPathFromIDList(m_pidl, wxStringBuffer(path, MAX_PATH)) )
         {
-            wxLogLastError(_T("SHGetPathFromIDList"));
+            wxLogLastError(wxT("SHGetPathFromIDList"));
         }
 
         return path;
         }
 
         return path;
@@ -79,7 +81,7 @@ public:
 private:
     LPITEMIDLIST m_pidl;
 
 private:
     LPITEMIDLIST m_pidl;
 
-    DECLARE_NO_COPY_CLASS(wxItemIdList)
+    wxDECLARE_NO_COPY_CLASS(wxItemIdList);
 };
 
 // enable autocompleting filenames in the text control with given HWND
 };
 
 // enable autocompleting filenames in the text control with given HWND