more OS/2 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -857,7 +857,7 @@ wxString wxNativeFontInfo::ToString() const
|
||||
fa.usCodePage,
|
||||
fa.lMatch,
|
||||
fn.usWeightClass,
|
||||
fa.szFacename);
|
||||
(char *)fa.szFacename);
|
||||
return sStr;
|
||||
} // end of wxNativeFontInfo::ToString
|
||||
|
||||
|
@@ -351,7 +351,7 @@ bool wxOwnerDrawn::OnDrawItem( wxDC& rDC,
|
||||
::GpiCharStringAt( rDC.GetHPS()
|
||||
,&vPntStart
|
||||
,sFullString.length()
|
||||
,sFullString.wx_str()
|
||||
,sFullString.char_str()
|
||||
);
|
||||
if (bFoundMnemonic)
|
||||
{
|
||||
@@ -389,7 +389,7 @@ bool wxOwnerDrawn::OnDrawItem( wxDC& rDC,
|
||||
::GpiCharStringAt( rDC.GetHPS()
|
||||
,&vPntStart
|
||||
,sAccel.length()
|
||||
,sAccel.wx_str()
|
||||
,sAccel.char_str()
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user