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:
@@ -506,7 +506,7 @@ void wxDCBase::DrawLabel(const wxString& text,
|
|||||||
}
|
}
|
||||||
else // not end of line
|
else // not end of line
|
||||||
{
|
{
|
||||||
if ( pc - text == indexAccel )
|
if ( pc - text.c_str() == indexAccel )
|
||||||
{
|
{
|
||||||
// remeber to draw underscore here
|
// remeber to draw underscore here
|
||||||
GetTextExtent(curLine, &startUnderscore, NULL);
|
GetTextExtent(curLine, &startUnderscore, NULL);
|
||||||
|
Reference in New Issue
Block a user