]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/dcprint.cpp
compile fix
[wxWidgets.git] / src / os2 / dcprint.cpp
index 807340d397979131b225e6c6bc5c602ec238322e..1c4a11c248532c2686c41a3b6f1a14321291d8e7 100644 (file)
@@ -41,8 +41,8 @@ wxPrinterDC::wxPrinterDC( const wxString& rsDriverName,
                           bool bInteractive,
                           int nOrientation )
 {
                           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
                                 ,NULL
                                 ,NULL
                                 ,NULL