compilation fix for broken OS/2 compiler

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-07-06 18:09:08 +00:00
parent 7e3a5de30f
commit 328bfc2224

View File

@@ -506,7 +506,7 @@ void wxDCBase::DrawLabel(const wxString& text,
}
else // not end of line
{
if ( pc - text == indexAccel )
if ( pc - text.c_str() == indexAccel )
{
// remeber to draw underscore here
GetTextExtent(curLine, &startUnderscore, NULL);