mark all dtors which are virtual because base class dtor is virtual explicitly virtual themselves

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-09-05 20:47:48 +00:00
parent 641d44aef5
commit d3c7fc996a
432 changed files with 642 additions and 636 deletions

View File

@@ -29,7 +29,7 @@ class WXDLLEXPORT wxApp: public wxAppBase
{
public:
wxApp();
~wxApp();
virtual ~wxApp();
/* override for altering the way wxGTK intializes the GUI
* (palette/visual/colorcube). under wxMSW, OnInitGui() does nothing by

View File

@@ -40,7 +40,7 @@ public:
wxMask(const wxBitmap& bitmap, const wxColour& colour);
wxMask(const wxBitmap& bitmap, int paletteIndex);
wxMask(const wxBitmap& bitmap);
~wxMask();
virtual ~wxMask();
bool Create(const wxBitmap& bitmap, const wxColour& colour);
bool Create(const wxBitmap& bitmap, int paletteIndex);
@@ -77,7 +77,7 @@ public:
wxBitmap(char **bits) { CreateFromXpm((const char **)bits); }
wxBitmap(const wxString &filename, wxBitmapType type = wxBITMAP_TYPE_RESOURCE);
wxBitmap(const wxImage& image, int depth = -1);
~wxBitmap() {}
virtual ~wxBitmap() {}
bool operator == (const wxBitmap& bmp) const;
bool operator != (const wxBitmap& bmp) const;
bool Ok() const;

View File

@@ -33,7 +33,7 @@ public:
wxBrush() {}
wxBrush(const wxColour &colour, int style = wxSOLID);
wxBrush(const wxBitmap &stippleBitmap);
~wxBrush() {}
virtual ~wxBrush() {}
bool operator == (const wxBrush& brush) const;
bool operator != (const wxBrush& brush) const;
bool Ok() const;

View File

@@ -26,7 +26,7 @@ class WXDLLEXPORT wxClipboard : public wxClipboardBase
{
public:
wxClipboard() {}
~wxClipboard() {}
virtual ~wxClipboard() {}
// open the clipboard before SetData() and GetData()
virtual bool Open() {}

View File

@@ -32,7 +32,7 @@ public:
wxCursor(const wxString& name,
long flags = wxBITMAP_TYPE_CUR_RESOURCE,
int hotSpotX = 0, int hotSpotY = 0);
~wxCursor();
virtual ~wxCursor();
bool operator == (const wxCursor& cursor) const;
bool operator != (const wxCursor& cursor) const;
bool Ok() const;

View File

@@ -51,7 +51,7 @@ class WXDLLEXPORT wxDC : public wxDCBase
public:
wxDC();
~wxDC();
virtual ~wxDC();
// implement base class pure virtuals
// ----------------------------------

View File

@@ -28,7 +28,7 @@ class WXDLLEXPORT wxMemoryDC : public wxDC
public:
wxMemoryDC();
wxMemoryDC(wxDC *dc); // Create compatible DC
~wxMemoryDC();
virtual ~wxMemoryDC();
virtual void SelectObject(const wxBitmap& bitmap);
// these get reimplemented for mono-bitmaps to behave

View File

@@ -26,7 +26,7 @@ class WXDLLEXPORT wxScreenDC: public wxDC
{
public:
wxScreenDC();
~wxScreenDC();
virtual ~wxScreenDC();
static bool StartDrawingOnTop(wxWindow *WXUNUSED(window)) { return TRUE; }
static bool StartDrawingOnTop(wxRect *WXUNUSED(rect) = NULL) { return TRUE; }

View File

@@ -58,7 +58,7 @@ public:
bool Create(const wxNativeFontInfo& fontinfo);
~wxFont() {}
virtual ~wxFont() {}
// implement base class pure virtuals
virtual int GetPointSize() const;

View File

@@ -34,7 +34,7 @@ class WXDLLEXPORT wxPalette: public wxPaletteBase
public:
wxPalette();
wxPalette(int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue);
~wxPalette();
virtual ~wxPalette();
bool operator == (const wxPalette& palette) const;
bool operator != (const wxPalette& palette) const;
virtual bool Ok() const;

View File

@@ -33,7 +33,7 @@ public:
wxPen() {}
wxPen(const wxColour &colour, int width = 1, int style = wxSOLID);
wxPen(const wxBitmap& stipple, int width);
~wxPen() {}
virtual ~wxPen() {}
bool operator == (const wxPen& pen) const;
bool operator != (const wxPen& pen) const;

View File

@@ -40,7 +40,7 @@ public:
}
wxRegion();
~wxRegion();
virtual ~wxRegion();
//# Modify region
// Clear current region
@@ -120,7 +120,7 @@ class WXDLLEXPORT wxRegionIterator : public wxObject
public:
wxRegionIterator(void);
wxRegionIterator(const wxRegion& region);
~wxRegionIterator(void);
virtual ~wxRegionIterator(void);
void Reset(void) { m_currentNode = NULL; }
void Reset(const wxRegion& region);