Remove commented-out code.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon 2003-07-19 22:04:23 +00:00
parent 2da2f941bb
commit 9b51403d37
2 changed files with 6 additions and 25 deletions

View File

@ -377,11 +377,9 @@ typedef wxInt8 wxDash;
class WXDLLEXPORT wxPenList : public wxList
{
// DECLARE_DYNAMIC_CLASS(wxPenList)
public:
wxPenList() { }
virtual ~wxPenList();
~wxPenList();
void AddPen(wxPen *pen);
void RemovePen(wxPen *pen);
@ -390,11 +388,9 @@ public:
class WXDLLEXPORT wxBrushList : public wxList
{
// DECLARE_DYNAMIC_CLASS(wxBrushList)
public:
wxBrushList() { }
virtual ~wxBrushList();
~wxBrushList();
void AddBrush(wxBrush *brush);
void RemoveBrush(wxBrush *brush);
@ -403,11 +399,9 @@ public:
class WXDLLEXPORT wxFontList : public wxList
{
// DECLARE_DYNAMIC_CLASS(wxFontList)
public:
wxFontList() { }
virtual ~wxFontList();
~wxFontList();
void AddFont(wxFont *font);
void RemoveFont(wxFont *font);
@ -421,11 +415,9 @@ class WXDLLEXPORT wxStringToColourHashMap;
class WXDLLEXPORT wxColourDatabase
{
// DECLARE_CLASS(wxColourDatabase)
public:
wxColourDatabase();
virtual ~wxColourDatabase() ;
~wxColourDatabase() ;
// Not const because it may add a name to the database
wxColour *FindColour(const wxString& colour) ;
@ -446,11 +438,9 @@ private:
class WXDLLEXPORT wxBitmapList : public wxList
{
// DECLARE_DYNAMIC_CLASS(wxBitmapList)
public:
wxBitmapList();
virtual ~wxBitmapList();
~wxBitmapList();
void AddBitmap(wxBitmap *bitmap);
void RemoveBitmap(wxBitmap *bitmap);
@ -463,10 +453,7 @@ public:
#if !wxUSE_STL
wxResourceCache(const unsigned int keyType) : wxList(keyType) { }
#endif
virtual ~wxResourceCache();
private:
// DECLARE_DYNAMIC_CLASS(wxResourceCache)
~wxResourceCache();
};
// ---------------------------------------------------------------------------

View File

@ -64,12 +64,6 @@
#include "wx/mac/private.h"
#include "wx/mac/uma.h"
#endif
//IMPLEMENT_CLASS(wxColourDatabase, wxList)
//IMPLEMENT_DYNAMIC_CLASS(wxFontList, wxList)
//IMPLEMENT_DYNAMIC_CLASS(wxPenList, wxList)
//IMPLEMENT_DYNAMIC_CLASS(wxBrushList, wxList)
//IMPLEMENT_DYNAMIC_CLASS(wxBitmapList, wxList)
//IMPLEMENT_DYNAMIC_CLASS(wxResourceCache, wxList)
IMPLEMENT_ABSTRACT_CLASS(wxDCBase, wxObject)