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:
@@ -54,7 +54,7 @@ class WXDLLEXPORT wxClipboard : public wxObject
|
||||
|
||||
public:
|
||||
wxClipboard();
|
||||
~wxClipboard();
|
||||
virtual ~wxClipboard();
|
||||
|
||||
// open the clipboard before SetData() and GetData()
|
||||
virtual bool Open();
|
||||
|
@@ -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
|
||||
// ----------------------------------
|
||||
|
@@ -159,7 +159,7 @@ public:
|
||||
}
|
||||
#endif
|
||||
|
||||
~wxDragImage();
|
||||
virtual ~wxDragImage();
|
||||
|
||||
// Attributes
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
|
@@ -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
|
||||
|
@@ -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);
|
||||
|
@@ -62,7 +62,7 @@ public:
|
||||
{
|
||||
Create(width, height, mask, initialCount);
|
||||
}
|
||||
~wxImageList();
|
||||
virtual ~wxImageList();
|
||||
|
||||
|
||||
// Attributes
|
||||
|
@@ -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,
|
||||
|
@@ -30,7 +30,7 @@ class WXDLLEXPORT wxMetafileRefData: public wxGDIRefData
|
||||
friend class WXDLLEXPORT wxMetafile;
|
||||
public:
|
||||
wxMetafileRefData();
|
||||
~wxMetafileRefData();
|
||||
virtual ~wxMetafileRefData();
|
||||
|
||||
public:
|
||||
WXHANDLE m_metafile;
|
||||
|
@@ -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;
|
||||
|
@@ -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();
|
||||
|
@@ -61,7 +61,7 @@ public:
|
||||
style, val, name);
|
||||
}
|
||||
|
||||
~wxRadioBox();
|
||||
virtual ~wxRadioBox();
|
||||
|
||||
bool Create(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
|
@@ -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,
|
||||
|
@@ -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,
|
||||
|
@@ -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
|
||||
|
@@ -40,7 +40,7 @@ class WXDLLEXPORT wxTabCtrl: public wxControl
|
||||
{
|
||||
Create(parent, id, pos, size, style, name);
|
||||
}
|
||||
~wxTabCtrl();
|
||||
virtual ~wxTabCtrl();
|
||||
|
||||
// Accessors
|
||||
|
||||
|
@@ -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,
|
||||
|
@@ -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();
|
||||
|
Reference in New Issue
Block a user