]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/private/dc.h
Fix wxPropertyGrid::GetPropertyRect when the last item is collapsed.
[wxWidgets.git] / include / wx / msw / private / dc.h
index 85b4140f6bee38475368c53375def6c8971612e8..303cd19df65d5945692be3599c63b2f3f1b8a7ff 100644 (file)
@@ -1,9 +1,8 @@
 ///////////////////////////////////////////////////////////////////////////////
-// Name:        msw/private/dc.h
+// Name:        wx/msw/private/dc.h
 // Purpose:     private wxMSW helpers for working with HDCs
 // Author:      Vadim Zeitlin
 // Created:     2009-06-16 (extracted from src/msw/dc.cpp)
-// RCS-ID:      $Id$
 // Copyright:   (c) 2009 Vadim Zeitlin <vadim@wxwidgets.org>
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
@@ -72,7 +71,7 @@ protected:
             m_oldColFg = ::SetTextColor(m_hdc, colFg);
             if ( m_oldColFg == CLR_INVALID )
             {
-                wxLogLastError(_T("SetTextColor"));
+                wxLogLastError(wxT("SetTextColor"));
             }
         }
         else
@@ -85,7 +84,7 @@ protected:
             m_oldColBg = ::SetBkColor(m_hdc, colBg);
             if ( m_oldColBg == CLR_INVALID )
             {
-                wxLogLastError(_T("SetBkColor"));
+                wxLogLastError(wxT("SetBkColor"));
             }
         }
         else
@@ -131,7 +130,7 @@ protected:
                                         : OPAQUE);
         if ( !m_oldMode )
         {
-            wxLogLastError(_T("SetBkMode"));
+            wxLogLastError(wxT("SetBkMode"));
         }
     }