]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/dialup/nettest.cpp
wxWizardPage now handled by OOR
[wxWidgets.git] / samples / dialup / nettest.cpp
index c5e727bf5e55af86abcb014a43c7bc7441ecbbaf..2e7e3658049a01d2ebfb821dd8eed2b2bb77d764 100644 (file)
     #include "wx/wx.h"
 #endif
 
+#if !wxUSE_DIALUP_MANAGER
+#error You must set wxUSE_DIALUP_MANAGER to 1 in setup.h!
+#endif
+
 #include "wx/dialup.h"
 
 // ----------------------------------------------------------------------------
@@ -195,7 +199,7 @@ void MyApp::OnConnected(wxDialUpEvent& event)
         msg = event.IsConnectedEvent() ? wxT("Successfully connected")
                                        : wxT("Dialing failed");
 
-        wxLogStatus(wxT(""));
+        wxLogStatus(wxEmptyString);
     }
     else
     {
@@ -252,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))