ise "..." instead of <...> for wx headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12259
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// headers
// ----------------------------------------------------------------------------
// headers
// ----------------------------------------------------------------------------
#if wxUSE_GUI
#error "This sample can't be compiled in GUI mode."
#if wxUSE_GUI
#error "This sample can't be compiled in GUI mode."
-#include <wx/string.h>
-#include <wx/file.h>
-#include <wx/app.h>
+#include "wx/string.h"
+#include "wx/file.h"
+#include "wx/app.h"
// without this pragma, the stupid compiler precompiles #defines below so that
// changing them doesn't "take place" later!
// without this pragma, the stupid compiler precompiles #defines below so that
// changing them doesn't "take place" later!
//#define TEST_ZLIB
#ifdef TEST_SNGLINST
//#define TEST_ZLIB
#ifdef TEST_SNGLINST
- #include <wx/snglinst.h>
+ #include "wx/snglinst.h"
#endif // TEST_SNGLINST
// ----------------------------------------------------------------------------
#endif // TEST_SNGLINST
// ----------------------------------------------------------------------------
static void TestCharset()
{
static void TestCharset()
{
-#include <wx/cmdline.h>
-#include <wx/datetime.h>
+#include "wx/cmdline.h"
+#include "wx/datetime.h"
static void ShowCmdLine(const wxCmdLineParser& parser)
{
static void ShowCmdLine(const wxCmdLineParser& parser)
{
#ifdef __UNIX__
static const wxChar *ROOTDIR = _T("/");
#ifdef __UNIX__
static const wxChar *ROOTDIR = _T("/");
static void TestDllLoad()
{
static void TestDllLoad()
{
- typedef int (*strlenType)(char *);
+ typedef int (*strlenType)(const char *);
strlenType pfnStrlen = (strlenType)wxDllLoader::GetSymbol(dllHandle, FUNC_NAME);
if ( !pfnStrlen )
{
strlenType pfnStrlen = (strlenType)wxDllLoader::GetSymbol(dllHandle, FUNC_NAME);
if ( !pfnStrlen )
{
static wxString MyGetEnv(const wxString& var)
{
static wxString MyGetEnv(const wxString& var)
{
static void TestExecute()
{
static void TestExecute()
{
-#include <wx/file.h>
-#include <wx/ffile.h>
-#include <wx/textfile.h>
+#include "wx/file.h"
+#include "wx/ffile.h"
+#include "wx/textfile.h"
static void TestFileRead()
{
static void TestFileRead()
{
-#include <wx/confbase.h>
-#include <wx/fileconf.h>
+#include "wx/confbase.h"
+#include "wx/fileconf.h"
static const struct FileConfTestData
{
static const struct FileConfTestData
{
-#include <wx/filename.h>
+#include "wx/filename.h"
static struct FileNameInfo
{
static struct FileNameInfo
{
WX_DECLARE_LIST(Foo, wxListFoos);
WX_DECLARE_HASH(Foo, wxListFoos, wxHashFoos);
WX_DECLARE_LIST(Foo, wxListFoos);
WX_DECLARE_HASH(Foo, wxListFoos, wxHashFoos);
-#include <wx/listimpl.cpp>
+#include "wx/listimpl.cpp"
WX_DEFINE_LIST(wxListFoos);
WX_DEFINE_LIST(wxListFoos);
WX_DECLARE_LIST(Bar, wxListBars);
WX_DECLARE_LIST(Bar, wxListBars);
-#include <wx/listimpl.cpp>
+#include "wx/listimpl.cpp"
WX_DEFINE_LIST(wxListBars);
static void TestListCtor()
WX_DEFINE_LIST(wxListBars);
static void TestListCtor()
-#include <wx/mimetype.h>
+#include "wx/mimetype.h"
static void TestMimeEnum()
{
static void TestMimeEnum()
{
#ifdef TEST_INFO_FUNCTIONS
#ifdef TEST_INFO_FUNCTIONS
static void TestDiskInfo()
{
static void TestDiskInfo()
{
-#include <wx/longlong.h>
-#include <wx/timer.h>
+#include "wx/longlong.h"
+#include "wx/timer.h"
// make a 64 bit number from 4 16 bit ones
#define MAKE_LL(x1, x2, x3, x4) wxLongLong((x1 << 16) | x2, (x3 << 16) | x3)
// make a 64 bit number from 4 16 bit ones
#define MAKE_LL(x1, x2, x3, x4) wxLongLong((x1 << 16) | x2, (x3 << 16) | x3)
static void TestRegExCompile()
{
static void TestRegExCompile()
{
-#include <wx/confbase.h>
-#include <wx/msw/regconf.h>
+#include "wx/confbase.h"
+#include "wx/msw/regconf.h"
static void TestRegConfWrite()
{
static void TestRegConfWrite()
{
-#include <wx/msw/registry.h>
+#include "wx/msw/registry.h"
// I chose this one because I liked its name, but it probably only exists under
// NT
// I chose this one because I liked its name, but it probably only exists under
// NT
-#include <wx/socket.h>
-#include <wx/protocol/protocol.h>
-#include <wx/protocol/http.h>
+#include "wx/socket.h"
+#include "wx/protocol/protocol.h"
+#include "wx/protocol/http.h"
static void TestSocketServer()
{
static void TestSocketServer()
{
-#include <wx/protocol/ftp.h>
+#include "wx/protocol/ftp.h"
-#include <wx/wfstream.h>
-#include <wx/mstream.h>
+#include "wx/wfstream.h"
+#include "wx/mstream.h"
static void TestFileStream()
{
static void TestFileStream()
{
-#include <wx/timer.h>
-#include <wx/utils.h>
+#include "wx/timer.h"
+#include "wx/utils.h"
static void TestStopWatch()
{
static void TestStopWatch()
{
static void DumpVObject(size_t level, const wxVCardObject& vcard)
{
static void DumpVObject(size_t level, const wxVCardObject& vcard)
{
-#include <wx/strconv.h>
-#include <wx/fontenc.h>
-#include <wx/encconv.h>
-#include <wx/buffer.h>
+#include "wx/strconv.h"
+#include "wx/fontenc.h"
+#include "wx/encconv.h"
+#include "wx/buffer.h"
-#include <wx/zstream.h>
-#include <wx/wfstream.h>
+#include "wx/zstream.h"
+#include "wx/wfstream.h"
static const wxChar *FILENAME_GZ = _T("test.gz");
static const char *TEST_DATA = "hello and hello again";
static const wxChar *FILENAME_GZ = _T("test.gz");
static const char *TEST_DATA = "hello and hello again";
-#include <wx/date.h>
-
-#include <wx/datetime.h>
+#include "wx/date.h"
+#include "wx/datetime.h"
// the test data
struct Date
// the test data
struct Date
static size_t gs_counter = (size_t)-1;
static wxCriticalSection gs_critsect;
static size_t gs_counter = (size_t)-1;
static wxCriticalSection gs_critsect;