projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix discrepancy between different ways of measuring text extents under Mac.
[wxWidgets.git]
/
src
/
os2
/
toolbar.cpp
diff --git
a/src/os2/toolbar.cpp
b/src/os2/toolbar.cpp
index ebceb00abba3f819b8f9391dade7dd5b22c5a94b..8ebc9a0f3e5eea37a8f867792b04c7f59fdb41fe 100644
(file)
--- a/
src/os2/toolbar.cpp
+++ b/
src/os2/toolbar.cpp
@@
-935,7
+935,7
@@
void wxToolBar::SetRows(
int nRows
)
{
int nRows
)
{
- wxCHECK_RET( nRows != 0,
_
T("max number of rows must be > 0") );
+ wxCHECK_RET( nRows != 0,
wx
T("max number of rows must be > 0") );
m_maxCols = (GetToolsCount() + nRows - 1) / nRows;
Refresh();
m_maxCols = (GetToolsCount() + nRows - 1) / nRows;
Refresh();