]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/scrolwin.cpp
Output the extracted number from wxString::ToXXX() even if it returns false.
[wxWidgets.git] / src / gtk1 / scrolwin.cpp
index 3cfc31fd0bf782cd3bee130a86a0d1937e29a716..e771fd7f0f681a8e92bf0ebab2a82c0f53c4597f 100644 (file)
@@ -171,7 +171,7 @@ void wxScrollHelper::DoScrollOneDir(int orient,
 
 void wxScrollHelper::DoScroll( int x_pos, int y_pos )
 {
-    wxCHECK_RET( m_targetWindow != 0, _T("No target window") );
+    wxCHECK_RET( m_targetWindow != 0, wxT("No target window") );
 
     DoScrollOneDir(wxHORIZONTAL, m_win->m_hAdjust, x_pos, m_xScrollPixelsPerLine,
                 &m_xScrollPosition);