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:
Václav Slavík
2007-05-02 20:38:52 +00:00
parent 4aae00c69c
commit fb2c90cab8
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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()
);
}