]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/dialup/nettest.cpp
initialize wxBitmapButton members
[wxWidgets.git] / samples / dialup / nettest.cpp
index c5e727bf5e55af86abcb014a43c7bc7441ecbbaf..bcf1d57aa1ec0481c1414352c51913867a38abc6 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"
 
 // ----------------------------------------------------------------------------
@@ -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))