small warning+PCH fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
81ec0e15af
commit
995202d020
@ -596,7 +596,7 @@ void FileNameTestCase::TestCreateTempFileName()
|
||||
#ifdef __WXMSW__
|
||||
{ "$USER_DOCS_DIR\\", "$USER_DOCS_DIR", true },
|
||||
{ "c:\\a\\directory\\which\\does\\not\\exist", "", false },
|
||||
#else if defined( __UNIX__ )
|
||||
#elif defined( __UNIX__ )
|
||||
{ "$USER_DOCS_DIR/", "$USER_DOCS_DIR", true },
|
||||
{ "/tmp/foo", "/tmp", true },
|
||||
{ "/tmp/a/directory/which/does/not/exist", "", false },
|
||||
|
@ -21,6 +21,8 @@
|
||||
#pragma hdrstop
|
||||
#endif
|
||||
|
||||
#include "wx/app.h"
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// conditional compilation
|
||||
// ----------------------------------------------------------------------------
|
||||
@ -381,7 +383,6 @@ void InteractiveOutputTestCase::TestStackWalk()
|
||||
// standard paths
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
|
||||
#include "wx/stdpaths.h"
|
||||
#include "wx/wxchar.h" // wxPrintf
|
||||
|
||||
@ -425,8 +426,9 @@ void InteractiveOutputTestCase::TestStandardPaths()
|
||||
#undef TEST_VOLUME
|
||||
#endif
|
||||
|
||||
#include "wx/volume.h"
|
||||
#ifdef TEST_VOLUME
|
||||
|
||||
#include "wx/volume.h"
|
||||
static const wxChar *volumeKinds[] =
|
||||
{
|
||||
wxT("floppy"),
|
||||
@ -437,6 +439,8 @@ static const wxChar *volumeKinds[] =
|
||||
wxT("other volume"),
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
void InteractiveOutputTestCase::TestFSVolume()
|
||||
{
|
||||
#ifdef TEST_VOLUME
|
||||
|
Loading…
Reference in New Issue
Block a user