From 328bfc22243e3d4672ddf626db4f78e4269c7275 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 6 Jul 2001 18:09:08 +0000 Subject: [PATCH] compilation fix for broken OS/2 compiler git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/dcbase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/dcbase.cpp b/src/common/dcbase.cpp index c18a9ddc87..a0214a5cff 100644 --- a/src/common/dcbase.cpp +++ b/src/common/dcbase.cpp @@ -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); -- 2.47.2