]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dialup.cpp
corrected CodeWarrior project target names and generated application names
[wxWidgets.git] / src / msw / dialup.cpp
index 5d94d8d8dfa9ca6bfa8885a5b1b69765f82804ed..e7a00a506b984db8399bbd74be19962806cad3ae 100644 (file)
@@ -864,9 +864,17 @@ bool wxDialUpManagerMSW::Dial(const wxString& nameOfISP,
 
     if ( dwRet != 0 )
     {
+#if wxUSE_UNICODE
+        // can't pass a wxWCharBuffer through ( ... )
+        wxLogError(_("Failed to %s dialup connection: %s").data(),
+                   async ? _("initiate").data() : _("establish").data(),
+                   GetErrorString(dwRet).c_str());
+#else
+        // can't pass a wxWCharBuffer through ( ... )
         wxLogError(_("Failed to %s dialup connection: %s"),
                    wxString(async ? _("initiate") : _("establish")).c_str(),
                    GetErrorString(dwRet).c_str());
+#endif
 
         // we should still call RasHangUp() if we got a non 0 connection
         if ( ms_hRasConnection )