removed no-longer-needed hack
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -841,17 +841,10 @@ bool wxDialUpManagerMSW::Dial(const wxString& nameOfISP,
|
|||||||
|
|
||||||
if ( dwRet != 0 )
|
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 ( ... )
|
// can't pass a wxWCharBuffer through ( ... )
|
||||||
wxLogError(_("Failed to %s dialup connection: %s"),
|
wxLogError(_("Failed to %s dialup connection: %s"),
|
||||||
wxString(async ? _("initiate") : _("establish")).c_str(),
|
wxString(async ? _("initiate") : _("establish")).c_str(),
|
||||||
GetErrorString(dwRet).c_str());
|
GetErrorString(dwRet).c_str());
|
||||||
#endif
|
|
||||||
|
|
||||||
// we should still call RasHangUp() if we got a non 0 connection
|
// we should still call RasHangUp() if we got a non 0 connection
|
||||||
if ( ms_hRasConnection )
|
if ( ms_hRasConnection )
|
||||||
|
Reference in New Issue
Block a user