X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7921cf2badfac0c44cd53644bfc6a483a09ec299..c3d434725bd76bc0306b9751e722ed70bd776876:/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];