OS/2 compilation fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2007-04-30 09:46:44 +00:00
parent 42a505eae0
commit 0fd26ccb31

View File

@@ -1756,7 +1756,7 @@ void wxDC::DrawAnyText( const wxString& rsText,
::GpiMove(m_hPS, &vPtlStart); ::GpiMove(m_hPS, &vPtlStart);
lHits = ::GpiCharString( m_hPS lHits = ::GpiCharString( m_hPS
,rsText.length() ,rsText.length()
,rsText.wx_str() ,rsText.char_str()
); );
if (lHits != GPI_OK) if (lHits != GPI_OK)
{ {
@@ -2176,7 +2176,7 @@ void wxDC::DoGetTextExtent(
// //
bRc = ::GpiQueryTextBox( m_hPS bRc = ::GpiQueryTextBox( m_hPS
,l ,l
,(char *)rsString.wx_str() ,rsString.char_str()
,TXTBOX_COUNT // return maximum information ,TXTBOX_COUNT // return maximum information
,avPoint // array of coordinates points ,avPoint // array of coordinates points
); );