fix couple of warnings; remove wxUsleep dummy test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -913,12 +913,8 @@ static wxFTP *ftp;
|
|||||||
|
|
||||||
#ifdef FTP_ANONYMOUS
|
#ifdef FTP_ANONYMOUS
|
||||||
static const wxChar *hostname = wxT("ftp.wxwidgets.org");
|
static const wxChar *hostname = wxT("ftp.wxwidgets.org");
|
||||||
static const wxChar *directory = wxT("/pub");
|
|
||||||
static const wxChar *filename = wxT("welcome.msg");
|
|
||||||
#else
|
#else
|
||||||
static const wxChar *hostname = "localhost";
|
static const wxChar *hostname = "localhost";
|
||||||
static const wxChar *directory = wxT("/etc");
|
|
||||||
static const wxChar *filename = wxT("issue");
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static bool TestFtpConnect()
|
static bool TestFtpConnect()
|
||||||
@@ -1369,7 +1365,6 @@ int main(int argc, char **argv)
|
|||||||
#endif // TEST_FTP
|
#endif // TEST_FTP
|
||||||
|
|
||||||
#ifdef TEST_MIME
|
#ifdef TEST_MIME
|
||||||
//wxLog::AddTraceMask(wxT("mime"));
|
|
||||||
TestMimeEnum();
|
TestMimeEnum();
|
||||||
TestMimeAssociate();
|
TestMimeAssociate();
|
||||||
TestMimeFilename();
|
TestMimeFilename();
|
||||||
@@ -1409,11 +1404,6 @@ int main(int argc, char **argv)
|
|||||||
TestStandardPaths();
|
TestStandardPaths();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef TEST_USLEEP
|
|
||||||
wxPuts(wxT("Sleeping for 3 seconds... z-z-z-z-z..."));
|
|
||||||
wxUsleep(3000);
|
|
||||||
#endif // TEST_USLEEP
|
|
||||||
|
|
||||||
#ifdef TEST_VOLUME
|
#ifdef TEST_VOLUME
|
||||||
TestFSVolume();
|
TestFSVolume();
|
||||||
#endif // TEST_VOLUME
|
#endif // TEST_VOLUME
|
||||||
|
Reference in New Issue
Block a user