Added missing wxGetFullHostName() and wxNO_DEFAULT for generic msgdialog

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Karsten Ballüder
1999-06-13 16:04:54 +00:00
parent 91b8de8dee
commit 96c5bd7fc4
5 changed files with 33 additions and 7 deletions

View File

@@ -901,3 +901,18 @@ wxString wxGetHostName()
return buf;
}
wxString wxGetFullHostName()
{
static const size_t hostnameSize = 257;
wxString buf;
bool ok = wxGetFullHostName(buf.GetWriteBuf(hostnameSize), hostnameSize);
buf.UngetWriteBuf();
if ( !ok )
buf.Empty();
return buf;
}