Include wx/hashmap.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
// Name: hashmap.h
|
// Name: wx/hashmap.h
|
||||||
// Purpose: wxHashMap class
|
// Purpose: wxHashMap class
|
||||||
// Author: Mattia Barbon
|
// Author: Mattia Barbon
|
||||||
// Modified by:
|
// Modified by:
|
||||||
@@ -708,4 +708,3 @@ WX_DECLARE_HASH_MAP_WITH_DECL( long, long, wxIntegerHash, wxIntegerEqual,
|
|||||||
|
|
||||||
|
|
||||||
#endif // _WX_HASHMAP_H_
|
#endif // _WX_HASHMAP_H_
|
||||||
|
|
||||||
|
@@ -18,6 +18,7 @@
|
|||||||
#include "wx/list.h"
|
#include "wx/list.h"
|
||||||
#include "wx/hash.h"
|
#include "wx/hash.h"
|
||||||
#include "wx/string.h"
|
#include "wx/string.h"
|
||||||
|
#include "wx/hashmap.h"
|
||||||
#include "wx/arrstr.h"
|
#include "wx/arrstr.h"
|
||||||
#include "wx/intl.h"
|
#include "wx/intl.h"
|
||||||
#include "wx/log.h"
|
#include "wx/log.h"
|
||||||
|
@@ -23,10 +23,10 @@
|
|||||||
#ifndef WX_PRECOMP
|
#ifndef WX_PRECOMP
|
||||||
#include "wx/list.h"
|
#include "wx/list.h"
|
||||||
#include "wx/log.h"
|
#include "wx/log.h"
|
||||||
|
#include "wx/hashmap.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "wx/artprov.h"
|
#include "wx/artprov.h"
|
||||||
#include "wx/hashmap.h"
|
|
||||||
#include "wx/module.h"
|
#include "wx/module.h"
|
||||||
|
|
||||||
#if wxUSE_IMAGE
|
#if wxUSE_IMAGE
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
// Name: hashmap.cpp
|
// Name: src/common/hashmap.cpp
|
||||||
// Purpose: wxHashMap implementation
|
// Purpose: wxHashMap implementation
|
||||||
// Author: Mattia Barbon
|
// Author: Mattia Barbon
|
||||||
// Modified by:
|
// Modified by:
|
||||||
|
@@ -46,6 +46,7 @@
|
|||||||
#include "wx/log.h"
|
#include "wx/log.h"
|
||||||
#include "wx/utils.h"
|
#include "wx/utils.h"
|
||||||
#include "wx/app.h"
|
#include "wx/app.h"
|
||||||
|
#include "wx/hashmap.h"
|
||||||
#endif // WX_PRECOMP
|
#endif // WX_PRECOMP
|
||||||
|
|
||||||
#ifndef __WXWINCE__
|
#ifndef __WXWINCE__
|
||||||
@@ -71,7 +72,6 @@
|
|||||||
#include "wx/module.h"
|
#include "wx/module.h"
|
||||||
#include "wx/fontmap.h"
|
#include "wx/fontmap.h"
|
||||||
#include "wx/encconv.h"
|
#include "wx/encconv.h"
|
||||||
#include "wx/hashmap.h"
|
|
||||||
#include "wx/ptr_scpd.h"
|
#include "wx/ptr_scpd.h"
|
||||||
#include "wx/apptrait.h"
|
#include "wx/apptrait.h"
|
||||||
#include "wx/stdpaths.h"
|
#include "wx/stdpaths.h"
|
||||||
@@ -1939,9 +1939,9 @@ void wxLocale::AddCatalogLookupPathPrefix(const wxString& prefix)
|
|||||||
// check for this
|
// check for this
|
||||||
|
|
||||||
// do we have just the language (or sublang too)?
|
// do we have just the language (or sublang too)?
|
||||||
bool justLang = langFull.Len() == LEN_LANG;
|
bool justLang = langFull.length() == LEN_LANG;
|
||||||
if ( justLang ||
|
if ( justLang ||
|
||||||
(langFull.Len() == LEN_FULL && langFull[LEN_LANG] == wxT('_')) )
|
(langFull.length() == LEN_FULL && langFull[LEN_LANG] == wxT('_')) )
|
||||||
{
|
{
|
||||||
// 0. Make sure the lang is according to latest ISO 639
|
// 0. Make sure the lang is according to latest ISO 639
|
||||||
// (this is necessary because glibc uses iw and in instead
|
// (this is necessary because glibc uses iw and in instead
|
||||||
|
@@ -19,6 +19,7 @@
|
|||||||
#include "wx/intl.h"
|
#include "wx/intl.h"
|
||||||
#include "wx/log.h"
|
#include "wx/log.h"
|
||||||
#include "wx/utils.h"
|
#include "wx/utils.h"
|
||||||
|
#include "wx/hashmap.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "wx/strconv.h"
|
#include "wx/strconv.h"
|
||||||
@@ -3073,7 +3074,6 @@ void wxCSConv::SetName(const wxChar *charset)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if wxUSE_FONTMAP
|
#if wxUSE_FONTMAP
|
||||||
#include "wx/hashmap.h"
|
|
||||||
|
|
||||||
WX_DECLARE_HASH_MAP( wxFontEncoding, wxString, wxIntegerHash, wxIntegerEqual,
|
WX_DECLARE_HASH_MAP( wxFontEncoding, wxString, wxIntegerHash, wxIntegerEqual,
|
||||||
wxEncodingNameCache );
|
wxEncodingNameCache );
|
||||||
|
@@ -103,13 +103,13 @@ license is as follows:
|
|||||||
#include "wx/intl.h"
|
#include "wx/intl.h"
|
||||||
#include "wx/log.h"
|
#include "wx/log.h"
|
||||||
#include "wx/utils.h"
|
#include "wx/utils.h"
|
||||||
|
#include "wx/hashmap.h"
|
||||||
#if wxUSE_STREAMS
|
#if wxUSE_STREAMS
|
||||||
#include "wx/stream.h"
|
#include "wx/stream.h"
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "wx/image.h"
|
#include "wx/image.h"
|
||||||
#include "wx/hashmap.h"
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
@@ -20,10 +20,10 @@
|
|||||||
#include "wx/intl.h"
|
#include "wx/intl.h"
|
||||||
#include "wx/log.h"
|
#include "wx/log.h"
|
||||||
#include "wx/utils.h"
|
#include "wx/utils.h"
|
||||||
|
#include "wx/hashmap.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "wx/module.h"
|
#include "wx/module.h"
|
||||||
#include "wx/hashmap.h"
|
|
||||||
|
|
||||||
#include "wx/mgl/private.h"
|
#include "wx/mgl/private.h"
|
||||||
|
|
||||||
|
@@ -16,9 +16,8 @@
|
|||||||
|
|
||||||
#ifndef WX_PRECOMP
|
#ifndef WX_PRECOMP
|
||||||
#include "wx/app.h"
|
#include "wx/app.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "wx/hashmap.h"
|
#include "wx/hashmap.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __VMS__
|
#ifdef __VMS__
|
||||||
#pragma message disable nosimpint
|
#pragma message disable nosimpint
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
// Name: msw/dde.cpp
|
// Name: src/msw/dde.cpp
|
||||||
// Purpose: DDE classes
|
// Purpose: DDE classes
|
||||||
// Author: Julian Smart
|
// Author: Julian Smart
|
||||||
// Modified by:
|
// Modified by:
|
||||||
@@ -29,12 +29,12 @@
|
|||||||
#ifndef WX_PRECOMP
|
#ifndef WX_PRECOMP
|
||||||
#include "wx/utils.h"
|
#include "wx/utils.h"
|
||||||
#include "wx/app.h"
|
#include "wx/app.h"
|
||||||
|
#include "wx/hashmap.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "wx/module.h"
|
#include "wx/module.h"
|
||||||
#include "wx/dde.h"
|
#include "wx/dde.h"
|
||||||
#include "wx/intl.h"
|
#include "wx/intl.h"
|
||||||
#include "wx/hashmap.h"
|
|
||||||
|
|
||||||
#include "wx/msw/private.h"
|
#include "wx/msw/private.h"
|
||||||
|
|
||||||
@@ -300,7 +300,7 @@ bool wxDDEServer::Create(const wxString& server)
|
|||||||
|
|
||||||
wxDDEServer::~wxDDEServer()
|
wxDDEServer::~wxDDEServer()
|
||||||
{
|
{
|
||||||
if ( !m_serviceName.IsEmpty() )
|
if ( !m_serviceName.empty() )
|
||||||
{
|
{
|
||||||
HSZ hsz = DDEAtomFromString(m_serviceName);
|
HSZ hsz = DDEAtomFromString(m_serviceName);
|
||||||
|
|
||||||
|
@@ -27,9 +27,8 @@
|
|||||||
#include "wx/app.h"
|
#include "wx/app.h"
|
||||||
#include "wx/intl.h"
|
#include "wx/intl.h"
|
||||||
#include "wx/log.h"
|
#include "wx/log.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "wx/hashmap.h"
|
#include "wx/hashmap.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "wx/msw/private.h"
|
#include "wx/msw/private.h"
|
||||||
|
|
||||||
|
@@ -30,10 +30,10 @@
|
|||||||
#include "wx/icon.h"
|
#include "wx/icon.h"
|
||||||
#endif
|
#endif
|
||||||
#include "wx/intl.h"
|
#include "wx/intl.h"
|
||||||
|
#include "wx/hashmap.h"
|
||||||
#endif // WX_PRECOMP
|
#endif // WX_PRECOMP
|
||||||
|
|
||||||
#include "wx/dir.h"
|
#include "wx/dir.h"
|
||||||
#include "wx/hashmap.h"
|
|
||||||
#include "wx/dynlib.h"
|
#include "wx/dynlib.h"
|
||||||
#include "wx/arrimpl.cpp"
|
#include "wx/arrimpl.cpp"
|
||||||
|
|
||||||
@@ -262,7 +262,7 @@ static void BuildListFromNN(wxArrayString& list, NETRESOURCE* pResSrc,
|
|||||||
{
|
{
|
||||||
wxString filename(pRes->lpRemoteName);
|
wxString filename(pRes->lpRemoteName);
|
||||||
|
|
||||||
if (filename.Len())
|
if (!filename.empty())
|
||||||
{
|
{
|
||||||
if (filename.Last() != '\\')
|
if (filename.Last() != '\\')
|
||||||
filename.Append('\\');
|
filename.Append('\\');
|
||||||
|
@@ -27,9 +27,8 @@
|
|||||||
#include "wx/app.h"
|
#include "wx/app.h"
|
||||||
#include "wx/intl.h"
|
#include "wx/intl.h"
|
||||||
#include "wx/log.h"
|
#include "wx/log.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "wx/hashmap.h"
|
#include "wx/hashmap.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "wx/palmos/private.h"
|
#include "wx/palmos/private.h"
|
||||||
|
|
||||||
|
@@ -33,9 +33,8 @@
|
|||||||
#endif
|
#endif
|
||||||
#include "wx/intl.h"
|
#include "wx/intl.h"
|
||||||
#include "wx/arrstr.h"
|
#include "wx/arrstr.h"
|
||||||
#endif // WX_PRECOMP
|
|
||||||
|
|
||||||
#include "wx/hashmap.h"
|
#include "wx/hashmap.h"
|
||||||
|
#endif // WX_PRECOMP
|
||||||
|
|
||||||
#include <VFSMgr.h>
|
#include <VFSMgr.h>
|
||||||
#include <PalmTypesCompatibility.h>
|
#include <PalmTypesCompatibility.h>
|
||||||
|
Reference in New Issue
Block a user