]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/wrapshl.h
Fix wxPropertyGrid::GetPropertyRect when the last item is collapsed.
[wxWidgets.git] / include / wx / msw / wrapshl.h
index 472df7511df16089957a39b739f47dbea8d2e07c..8826a039ba850f2b2b1fbea9709e74dcd9f97491 100644 (file)
@@ -4,7 +4,6 @@
 // Author:      Vadim Zeitlin
 // Modified by:
 // Created:     2004-10-19
 // Author:      Vadim Zeitlin
 // Modified by:
 // Created:     2004-10-19
-// RCS-ID:      $Id$
 // Copyright:   (c) 2004 Vadim Zeitlin <vadim@wxwindows.org>
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 // Copyright:   (c) 2004 Vadim Zeitlin <vadim@wxwindows.org>
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
@@ -25,6 +24,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 +71,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 +80,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