X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/38400bb46b1477680ec08ed04f2bcafa8de5e3bf..982d7f931701e2d65182f798e9182139efd67ed7:/src/os2/toolbar.cpp?ds=sidebyside diff --git a/src/os2/toolbar.cpp b/src/os2/toolbar.cpp index e07ee3e356..8ebc9a0f3e 100644 --- a/src/os2/toolbar.cpp +++ b/src/os2/toolbar.cpp @@ -935,7 +935,7 @@ void wxToolBar::SetRows( int nRows ) { - wxCHECK_RET( nRows != 0, _T("max number of rows must be > 0") ); + wxCHECK_RET( nRows != 0, wxT("max number of rows must be > 0") ); m_maxCols = (GetToolsCount() + nRows - 1) / nRows; Refresh(); @@ -979,7 +979,7 @@ wxToolBarToolBase* wxToolBar::FindToolForPosition( } node = node->GetNext(); } - return (wxToolBarToolBase *)NULL; + return NULL; } // end of wxToolBar::FindToolForPosition // ----------------------------------------------------------------------------