]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/dialup/nettest.cpp
Removed all deprecated printing code.
[wxWidgets.git] / samples / dialup / nettest.cpp
index 7e31dad04521e856bdb494616c5fed2c9c6effdd..2e7e3658049a01d2ebfb821dd8eed2b2bb77d764 100644 (file)
@@ -199,7 +199,7 @@ void MyApp::OnConnected(wxDialUpEvent& event)
         msg = event.IsConnectedEvent() ? wxT("Successfully connected")
                                        : wxT("Dialing failed");
 
-        wxLogStatus(wxT(""));
+        wxLogStatus(wxEmptyString);
     }
     else
     {
@@ -256,10 +256,10 @@ void MyFrame::OnQuit(wxCommandEvent& WXUNUSED(event))
 void MyFrame::OnAbout(wxCommandEvent& WXUNUSED(event))
 {
     wxString msg;
-    msg.Printf(_T("This is the network functions test sample.\n"
-                  "© 1999 Vadim Zeitlin"));
+    msg.Printf( wxT("This is the network functions test sample.\n")
+                wxT("© 1999 Vadim Zeitlin") );
 
-    wxMessageBox(msg, _T("About NetTest"), wxOK | wxICON_INFORMATION, this);
+    wxMessageBox(msg, wxT("About NetTest"), wxOK | wxICON_INFORMATION, this);
 }
 
 void MyFrame::OnHangUp(wxCommandEvent& WXUNUSED(event))