X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4693b20c7500190c3cc8c02919c45436bf5efbc9..ab0d42f76d5594bd28fdcad35bedeb380902f3ea:/samples/dialup/nettest.cpp diff --git a/samples/dialup/nettest.cpp b/samples/dialup/nettest.cpp index c5e727bf5e..bcf1d57aa1 100644 --- a/samples/dialup/nettest.cpp +++ b/samples/dialup/nettest.cpp @@ -35,6 +35,10 @@ #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))