]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/dcprint.cpp
vc6 did not like this (void function returning a value)
[wxWidgets.git] / src / os2 / dcprint.cpp
index 30ba0d7c3a2782b32ab8e5b1d58a92d51ca95232..1c4a11c248532c2686c41a3b6f1a14321291d8e7 100644 (file)
@@ -41,8 +41,8 @@ wxPrinterDC::wxPrinterDC( const wxString& rsDriverName,
                           bool bInteractive,
                           int nOrientation )
 {
-    DEVOPENSTRUC    vDevOpen = { (char*)rsDeviceName.c_str()
-                                ,(char*)rsDriverName.c_str()
+    DEVOPENSTRUC    vDevOpen = { (char*)rsDeviceName.wx_str()
+                                ,(char*)rsDriverName.wx_str()
                                 ,NULL
                                 ,NULL
                                 ,NULL