]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/dde/client.cpp
compilation fixes
[wxWidgets.git] / samples / dde / client.cpp
index 01430071ab84c13ba65197455324fefb042092e0..1422e850cb97dcd7f9b0bfd141e5d6d8d6f74477 100644 (file)
@@ -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];