Replaced incorrect or inefficient usage of char_str() by wx_str().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -41,8 +41,8 @@ wxPrinterDC::wxPrinterDC( const wxString& rsDriverName,
|
||||
bool bInteractive,
|
||||
int nOrientation )
|
||||
{
|
||||
DEVOPENSTRUC vDevOpen = { rsDeviceName.char_str()
|
||||
,rsDriverName.char_str()
|
||||
DEVOPENSTRUC vDevOpen = { (char*)rsDeviceName.wx_str()
|
||||
,(char*)rsDriverName.wx_str()
|
||||
,NULL
|
||||
,NULL
|
||||
,NULL
|
||||
|
Reference in New Issue
Block a user