Applied patch [ 1399013 ] More removals of extraneous semicolons

Wlodek Szafran


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2006-01-18 11:46:53 +00:00
parent c66d0fc3e8
commit edef87c827
20 changed files with 22 additions and 22 deletions

View File

@@ -21,12 +21,12 @@ WX_DECLARE_STRING_HASH_MAP_WITH_DECL(
wxShadowObjectMethod, wxShadowObjectMethod,
wxShadowObjectMethods, wxShadowObjectMethods,
class WXDLLIMPEXP_BASE class WXDLLIMPEXP_BASE
); )
WX_DECLARE_STRING_HASH_MAP_WITH_DECL( WX_DECLARE_STRING_HASH_MAP_WITH_DECL(
void *, void *,
wxShadowObjectFields, wxShadowObjectFields,
class WXDLLIMPEXP_BASE class WXDLLIMPEXP_BASE
); )
class WXDLLIMPEXP_BASE wxShadowObject class WXDLLIMPEXP_BASE wxShadowObject
{ {

View File

@@ -138,7 +138,7 @@ private:
}; };
WX_DECLARE_EXPORTED_HASH_MAP( wxUIntPtr, wxString, wxIntegerHash, WX_DECLARE_EXPORTED_HASH_MAP( wxUIntPtr, wxString, wxIntegerHash,
wxIntegerEqual, wxSimpleHelpProviderHashMap ); wxIntegerEqual, wxSimpleHelpProviderHashMap )
// wxSimpleHelpProvider is an implementation of wxHelpProvider which supports // wxSimpleHelpProvider is an implementation of wxHelpProvider which supports
// only plain text help strings and shows the string associated with the // only plain text help strings and shows the string associated with the

View File

@@ -29,7 +29,7 @@ class WXDLLIMPEXP_BASE wxPluginLibrary;
WX_DECLARE_STRING_HASH_MAP_WITH_DECL(wxPluginLibrary *, wxDLManifest, WX_DECLARE_STRING_HASH_MAP_WITH_DECL(wxPluginLibrary *, wxDLManifest,
class WXDLLIMPEXP_BASE); class WXDLLIMPEXP_BASE)
typedef wxDLManifest wxDLImports; typedef wxDLManifest wxDLImports;
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------

View File

@@ -18,7 +18,7 @@
#include "wx/hashmap.h" #include "wx/hashmap.h"
WX_DECLARE_STRING_HASH_MAP(int, wxZipFilenameHashMap); WX_DECLARE_STRING_HASH_MAP(int, wxZipFilenameHashMap)
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------

View File

@@ -474,7 +474,7 @@ public:
wxFontEncoding encoding = wxFONTENCODING_DEFAULT); wxFontEncoding encoding = wxFONTENCODING_DEFAULT);
}; };
WX_DECLARE_STRING_HASH_MAP( wxColour *, wxStringToColourHashMap ); WX_DECLARE_STRING_HASH_MAP( wxColour *, wxStringToColourHashMap )
class WXDLLEXPORT wxColourDatabase class WXDLLEXPORT wxColourDatabase
{ {

View File

@@ -640,7 +640,7 @@ public: \
/* count() == 0 | 1 */ \ /* count() == 0 | 1 */ \
size_type count( const const_key_type& key ) \ size_type count( const const_key_type& key ) \
{ return GetNode( key ) ? 1 : 0; } \ { return GetNode( key ) ? 1 : 0; } \
} };
#endif // !wxUSE_STL || !defined(HAVE_STL_HASH_MAP) #endif // !wxUSE_STL || !defined(HAVE_STL_HASH_MAP)
@@ -699,7 +699,7 @@ public: \
// Declarations of common hashmap classes // Declarations of common hashmap classes
WX_DECLARE_HASH_MAP_WITH_DECL( long, long, wxIntegerHash, wxIntegerEqual, WX_DECLARE_HASH_MAP_WITH_DECL( long, long, wxIntegerHash, wxIntegerEqual,
wxLongToLongHashMap, class WXDLLIMPEXP_BASE ); wxLongToLongHashMap, class WXDLLIMPEXP_BASE )
#endif // _WX_HASHMAP_H_ #endif // _WX_HASHMAP_H_

View File

@@ -83,7 +83,7 @@ public: \
/* count() == 0 | 1 */ \ /* count() == 0 | 1 */ \
size_type count( const const_key_type& key ) \ size_type count( const const_key_type& key ) \
{ return GetNode( key ) ? 1 : 0; } \ { return GetNode( key ) ? 1 : 0; } \
} };
#endif // !wxUSE_STL || !defined(HAVE_STL_HASH_MAP) #endif // !wxUSE_STL || !defined(HAVE_STL_HASH_MAP)

View File

@@ -118,7 +118,7 @@ public:
WX_DECLARE_EXPORTED_HASH_MAP(unsigned long, wxImageHistogramEntry, WX_DECLARE_EXPORTED_HASH_MAP(unsigned long, wxImageHistogramEntry,
wxIntegerHash, wxIntegerEqual, wxIntegerHash, wxIntegerEqual,
wxImageHistogramBase); wxImageHistogramBase)
class WXDLLEXPORT wxImageHistogram : public wxImageHistogramBase class WXDLLEXPORT wxImageHistogram : public wxImageHistogramBase
{ {

View File

@@ -43,7 +43,7 @@ struct WXDLLEXPORT wxTreeViewItem;
#define wxTREE_INSERT_LAST 0xFFFF0002 #define wxTREE_INSERT_LAST 0xFFFF0002
// hash storing attributes for our items // hash storing attributes for our items
WX_DECLARE_EXPORTED_VOIDPTR_HASH_MAP(wxTreeItemAttr *, wxMapTreeAttr); WX_DECLARE_EXPORTED_VOIDPTR_HASH_MAP(wxTreeItemAttr *, wxMapTreeAttr)
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// wxTreeCtrl // wxTreeCtrl

View File

@@ -66,7 +66,7 @@ private:
DECLARE_DYNAMIC_CLASS(wxPrintPaperType) DECLARE_DYNAMIC_CLASS(wxPrintPaperType)
}; };
WX_DECLARE_STRING_HASH_MAP(wxPrintPaperType*, wxStringToPrintPaperTypeHashMap); WX_DECLARE_STRING_HASH_MAP(wxPrintPaperType*, wxStringToPrintPaperTypeHashMap)
class WXDLLEXPORT wxPrintPaperTypeList; class WXDLLEXPORT wxPrintPaperTypeList;

View File

@@ -19,7 +19,7 @@
#include "wx/protocol/protocol.h" #include "wx/protocol/protocol.h"
WX_DECLARE_STRING_HASH_MAP_WITH_DECL( wxString, wxStringToStringHashMap, WX_DECLARE_STRING_HASH_MAP_WITH_DECL( wxString, wxStringToStringHashMap,
class WXDLLIMPEXP_NET ); class WXDLLIMPEXP_NET )
class WXDLLIMPEXP_NET wxHTTP : public wxProtocol class WXDLLIMPEXP_NET wxHTTP : public wxProtocol
{ {

View File

@@ -44,7 +44,7 @@ WX_DEFINE_LIST(wxArtProvidersList)
// Cache class - stores already requested bitmaps // Cache class - stores already requested bitmaps
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
WX_DECLARE_EXPORTED_STRING_HASH_MAP(wxBitmap, wxArtProviderBitmapsHash); WX_DECLARE_EXPORTED_STRING_HASH_MAP(wxBitmap, wxArtProviderBitmapsHash)
class WXDLLEXPORT wxArtProviderCache class WXDLLEXPORT wxArtProviderCache
{ {

View File

@@ -434,7 +434,7 @@ _WX_DEFINE_BASEARRAY(double, wxBaseArrayDouble)
#include <functional> #include <functional>
#include "wx/afterstd.h" #include "wx/afterstd.h"
_WX_DEFINE_BASEARRAY(wxString, wxBaseArrayStringBase); _WX_DEFINE_BASEARRAY(wxString, wxBaseArrayStringBase)
// some compilers (Sun CC being the only known example) distinguish between // some compilers (Sun CC being the only known example) distinguish between
// extern "C" functions and the functions with C++ linkage and ptr_fun and // extern "C" functions and the functions with C++ linkage and ptr_fun and

View File

@@ -870,7 +870,7 @@ wxPluralFormsCalculator* wxPluralFormsCalculator::make(const char* s)
// This is a "low-level" class and is used only by wxMsgCatalog // This is a "low-level" class and is used only by wxMsgCatalog
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
WX_DECLARE_EXPORTED_STRING_HASH_MAP(wxString, wxMessagesHash); WX_DECLARE_EXPORTED_STRING_HASH_MAP(wxString, wxMessagesHash)
class wxMsgCatalogFile class wxMsgCatalogFile
{ {

View File

@@ -2525,7 +2525,7 @@ void wxCSConv::SetName(const wxChar *charset)
#include "wx/hashmap.h" #include "wx/hashmap.h"
WX_DECLARE_HASH_MAP( wxFontEncoding, wxString, wxIntegerHash, wxIntegerEqual, WX_DECLARE_HASH_MAP( wxFontEncoding, wxString, wxIntegerHash, wxIntegerEqual,
wxEncodingNameCache ); wxEncodingNameCache )
static wxEncodingNameCache gs_nameCache; static wxEncodingNameCache gs_nameCache;
#endif #endif

View File

@@ -653,7 +653,7 @@ struct wxXPMColourMapData
{ {
unsigned char R,G,B; unsigned char R,G,B;
}; };
WX_DECLARE_STRING_HASH_MAP(wxXPMColourMapData, wxXPMColourMap); WX_DECLARE_STRING_HASH_MAP(wxXPMColourMapData, wxXPMColourMap)
wxImage wxXPMDecoder::ReadData(const char **xpm_data) wxImage wxXPMDecoder::ReadData(const char **xpm_data)
{ {

View File

@@ -604,7 +604,7 @@ static void Unique(wxZipMemory*& zm, size_t size)
// Collection of weak references to entries // Collection of weak references to entries
WX_DECLARE_HASH_MAP(long, wxZipEntry*, wxIntegerHash, WX_DECLARE_HASH_MAP(long, wxZipEntry*, wxIntegerHash,
wxIntegerEqual, wx__OffsetZipEntryMap); wxIntegerEqual, wx__OffsetZipEntryMap)
class wxZipWeakLinks class wxZipWeakLinks
{ {

View File

@@ -96,7 +96,7 @@ static void DDELogError(const wxString& s, UINT error = DMLERR_NO_ERROR);
// global variables // global variables
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
WX_DECLARE_STRING_HASH_MAP( HSZ, wxAtomMap ); WX_DECLARE_STRING_HASH_MAP( HSZ, wxAtomMap )
static DWORD DDEIdInst = 0L; static DWORD DDEIdInst = 0L;
static wxDDEConnection *DDECurrentlyConnecting = NULL; static wxDDEConnection *DDECurrentlyConnecting = NULL;

View File

@@ -109,7 +109,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxMSWSystemMenuFontModule, wxModule)
#endif #endif
#include "wx/hashset.h" #include "wx/hashset.h"
WX_DECLARE_HASH_SET(wxOwnerDrawn*, wxPointerHash, wxPointerEqual, OwnerDrawnSet); WX_DECLARE_HASH_SET(wxOwnerDrawn*, wxPointerHash, wxPointerEqual, OwnerDrawnSet)
#ifdef POP_WARNINGS #ifdef POP_WARNINGS
#pragma warning(pop) #pragma warning(pop)

View File

@@ -40,7 +40,7 @@
// define a hash containing all the timers: it is indexed by timer id and // define a hash containing all the timers: it is indexed by timer id and
// contains the corresponding timer // contains the corresponding timer
WX_DECLARE_HASH_MAP(unsigned long, wxTimer *, wxIntegerHash, wxIntegerEqual, WX_DECLARE_HASH_MAP(unsigned long, wxTimer *, wxIntegerHash, wxIntegerEqual,
wxTimerMap); wxTimerMap)
// instead of using a global here, wrap it in a static function as otherwise it // instead of using a global here, wrap it in a static function as otherwise it
// could have been used before being initialized if a timer object were created // could have been used before being initialized if a timer object were created