X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7921cf2badfac0c44cd53644bfc6a483a09ec299..7e2c43b8551c394d790e416ae52a4476c759683e:/samples/dde/client.cpp diff --git a/samples/dde/client.cpp b/samples/dde/client.cpp index 01430071ab..1422e850cb 100644 --- a/samples/dde/client.cpp +++ b/samples/dde/client.cpp @@ -79,8 +79,7 @@ bool MyApp::OnInit() frame->Fit(); wxString server = "4242"; - wxString hostName; - wxGetHostName(hostName); + wxString hostName = wxGetHostName(); if (argc > 1) server = argv[1];