bool wxIPV4address::Hostname(const wxString& name)
{
// Some people are sometimes fool.
- if (name == wxT(""))
+ if (name.empty())
{
wxLogWarning( _("Trying to solve a NULL hostname: giving up") );
return false;
bool wxIPV6address::Hostname(const wxString& name)
{
- if (name == wxT(""))
+ if (name.empty())
{
wxLogWarning( _("Trying to solve a NULL hostname: giving up") );
return false;