]> git.saurik.com Git - wxWidgets.git/commitdiff
removed no-longer-needed hack
authorVáclav Slavík <vslavik@fastmail.fm>
Fri, 15 Mar 2002 23:29:48 +0000 (23:29 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Fri, 15 Mar 2002 23:29:48 +0000 (23:29 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/dialup.cpp

index 60dd7bfd70be4014cab6af00ff69cfce1fab959f..cbdd14594e7f6855a8dd8e203e7afd755c375b9f 100644 (file)
@@ -841,17 +841,10 @@ 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 )