]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/scrolbar.cpp
Output the extracted number from wxString::ToXXX() even if it returns false.
[wxWidgets.git] / src / msw / scrolbar.cpp
index a3868bbb021bc42dca8200a7f81dc50a34045e18..c9830b7754c2e353b8f8e01211ac47d84a76bcd4 100644 (file)
@@ -131,7 +131,7 @@ bool wxScrollBar::MSWOnScroll(int WXUNUSED(orientation), WXWORD wParam,
 
         if ( !::GetScrollInfo(GetHwnd(), SB_CTL, &scrollInfo) )
         {
-            wxLogLastError(_T("GetScrollInfo"));
+            wxLogLastError(wxT("GetScrollInfo"));
         }
 
         trackPos = scrollInfo.nTrackPos;
@@ -255,7 +255,7 @@ int wxScrollBar::GetThumbPosition(void) const
 
     if ( !::GetScrollInfo(GetHwnd(), SB_CTL, &scrollInfo) )
     {
-        wxLogLastError(_T("GetScrollInfo"));
+        wxLogLastError(wxT("GetScrollInfo"));
     }
     return scrollInfo.nPos;
 //    return ::GetScrollPos((HWND)m_hWnd, SB_CTL);