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

@@ -54,7 +54,7 @@ class WXDLLEXPORT wxClipboard : public wxObject
public:
wxClipboard();
~wxClipboard();
virtual ~wxClipboard();
// open the clipboard before SetData() and GetData()
virtual bool Open();

View File

@@ -31,7 +31,7 @@ class wxDCCacheEntry: public wxObject
public:
wxDCCacheEntry(WXHBITMAP hBitmap, int w, int h, int depth);
wxDCCacheEntry(WXHDC hDC, int depth);
~wxDCCacheEntry();
virtual ~wxDCCacheEntry();
WXHBITMAP m_bitmap;
WXHDC m_dc;
@@ -45,7 +45,7 @@ class WXDLLEXPORT wxDC : public wxDCBase
{
public:
wxDC();
~wxDC();
virtual ~wxDC();
// implement base class pure virtuals
// ----------------------------------

View File

@@ -159,7 +159,7 @@ public:
}
#endif
~wxDragImage();
virtual ~wxDragImage();
// Attributes
////////////////////////////////////////////////////////////////////////////

View File

@@ -59,7 +59,7 @@ public:
const wxPalette& WXUNUSED(palette),
const wxGLContext *other /* for sharing display lists */ );
~wxGLContext();
virtual ~wxGLContext();
void SetCurrent();
@@ -111,7 +111,7 @@ public:
int *attribList = 0,
const wxPalette& palette = wxNullPalette);
~wxGLCanvas();
virtual ~wxGLCanvas();
// Replaces wxWindow::Create functionality, since
// we need to use a different window class

View File

@@ -23,8 +23,8 @@ class WXDLLEXPORT wxPalmHelpController: public wxHelpControllerBase
DECLARE_CLASS(wxPalmHelpController)
public:
wxPalmHelpController() {};
~wxPalmHelpController() {};
wxPalmHelpController() {}
virtual ~wxPalmHelpController() {}
// Must call this to set the filename
virtual bool Initialize(const wxString& file);

View File

@@ -62,7 +62,7 @@ public:
{
Create(width, height, mask, initialCount);
}
~wxImageList();
virtual ~wxImageList();
// Attributes

View File

@@ -39,7 +39,7 @@ public:
Create(parent, id, title, pos, size, style, name);
}
~wxMDIParentFrame();
virtual ~wxMDIParentFrame();
bool Create(wxWindow *parent,
wxWindowID id,
@@ -128,7 +128,7 @@ public:
Create(parent, id, title, pos, size, style, name);
}
~wxMDIChildFrame();
virtual ~wxMDIChildFrame();
bool Create(wxMDIParentFrame *parent,
wxWindowID id,

View File

@@ -30,7 +30,7 @@ class WXDLLEXPORT wxMetafileRefData: public wxGDIRefData
friend class WXDLLEXPORT wxMetafile;
public:
wxMetafileRefData();
~wxMetafileRefData();
virtual ~wxMetafileRefData();
public:
WXHANDLE m_metafile;

View File

@@ -21,7 +21,7 @@ class WXDLLEXPORT wxPaletteRefData: public wxGDIRefData
friend class WXDLLEXPORT wxPalette;
public:
wxPaletteRefData(void);
~wxPaletteRefData(void);
virtual ~wxPaletteRefData(void);
protected:
WXHPALETTE m_hPalette;
};
@@ -36,7 +36,7 @@ public:
wxPalette(void);
wxPalette(int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue);
~wxPalette(void);
virtual ~wxPalette(void);
bool Create(int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue);
int GetPixel(unsigned char red, unsigned char green, unsigned char blue) const;
bool GetRGB(int pixel, unsigned char *red, unsigned char *green, unsigned char *blue) const;

View File

@@ -27,7 +27,7 @@ public:
int maximum = 100,
wxWindow *parent = NULL,
int style = wxPD_APP_MODAL | wxPD_AUTO_HIDE);
~wxProgressDialog();
virtual ~wxProgressDialog();
virtual bool Update(int value, const wxString& newmsg = wxEmptyString, bool *skip = NULL);
void Resume();

View File

@@ -61,7 +61,7 @@ public:
style, val, name);
}
~wxRadioBox();
virtual ~wxRadioBox();
bool Create(wxWindow *parent,
wxWindowID id,

View File

@@ -17,7 +17,7 @@ class WXDLLEXPORT wxScrollBar: public wxScrollBarBase
{
public:
wxScrollBar() { m_pageSize = 0; m_viewSize = 0; m_objectSize = 0; }
~wxScrollBar();
virtual ~wxScrollBar();
wxScrollBar(wxWindow *parent, wxWindowID id,
const wxPoint& pos = wxDefaultPosition,

View File

@@ -33,7 +33,7 @@ public:
Create(parent, id, value, minValue, maxValue, pos, size, style, validator, name);
}
~wxSlider();
virtual ~wxSlider();
bool Create(wxWindow *parent, wxWindowID id,
int value, int minValue, int maxValue,

View File

@@ -22,7 +22,7 @@ public:
wxSound();
wxSound(const wxString& fileName, bool isResource = false);
wxSound(int size, const wxByte* data);
~wxSound();
virtual ~wxSound();
public:
// Create from resource or file

View File

@@ -40,7 +40,7 @@ class WXDLLEXPORT wxTabCtrl: public wxControl
{
Create(parent, id, pos, size, style, name);
}
~wxTabCtrl();
virtual ~wxTabCtrl();
// Accessors

View File

@@ -31,7 +31,7 @@ public:
Create(parent, id, value, pos, size, style, validator, name);
}
~wxTextCtrl();
virtual ~wxTextCtrl();
bool Create(wxWindow *parent, wxWindowID id,
const wxString& value = wxEmptyString,

View File

@@ -20,7 +20,7 @@ public:
wxTimer() { Init(); }
wxTimer(wxEvtHandler *owner, int id = -1) : wxTimerBase(owner, id)
{ Init(); }
~wxTimer();
virtual ~wxTimer();
virtual bool Start(int milliseconds = -1, bool oneShot = FALSE);
virtual void Stop();