]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/wxsocket/client.cpp
no message
[wxWidgets.git] / samples / wxsocket / client.cpp
index 9eec661f2f69c72c0fdb072e3a7a29be0abc72c3..7f1131330a76acda15db80f763daea5c14c6c1da 100644 (file)
@@ -116,7 +116,7 @@ bool MyApp::OnInit(void)
   frame->SetMenuBar(menu_bar);
 
   // Make a panel with a message
-  txtctrl = new wxTextCtrl(this);
+  (void)new wxPanel(frame, 0, 0, 300, 100);
 
   // Show the frame
   frame->Show(TRUE);
@@ -275,7 +275,6 @@ void MyFrame::OnExecUrlTest(wxCommandEvent& WXUNUSED(evt))
     wxMessageBox("Error in getting data from the URL.", "Alert !");
   else {
     wxMessageBox("Success !! Click on OK to see the text.", "OK");
-    wxMessageBox(
     delete datas;
   }
 }