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 wxClipboardBase
|
||||
|
||||
public:
|
||||
wxClipboard();
|
||||
~wxClipboard();
|
||||
virtual ~wxClipboard();
|
||||
|
||||
// open the clipboard before SetData() and GetData()
|
||||
virtual bool Open();
|
||||
|
@@ -30,7 +30,7 @@ public:
|
||||
|
||||
|
||||
// dtor
|
||||
~wxColour();
|
||||
virtual ~wxColour();
|
||||
|
||||
|
||||
// accessors
|
||||
|
@@ -30,7 +30,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;
|
||||
@@ -46,7 +46,7 @@ class WXDLLEXPORT wxDC : public wxDCBase
|
||||
{
|
||||
public:
|
||||
wxDC(WXHDC hDC) { Init(); m_hDC = hDC; }
|
||||
~wxDC();
|
||||
virtual ~wxDC();
|
||||
|
||||
// implement base class pure virtuals
|
||||
// ----------------------------------
|
||||
|
@@ -47,7 +47,7 @@ class WXDLLIMPEXP_BASE wxDDEConnection: public wxConnectionBase
|
||||
public:
|
||||
wxDDEConnection(wxChar *buffer, int size); // use external buffer
|
||||
wxDDEConnection(); // use internal buffer
|
||||
~wxDDEConnection(void);
|
||||
virtual ~wxDDEConnection(void);
|
||||
|
||||
// Calls that CLIENT can make
|
||||
virtual bool Execute(const wxChar *data, int size = -1, wxIPCFormat format = wxIPC_TEXT);
|
||||
@@ -85,7 +85,7 @@ class WXDLLIMPEXP_BASE wxDDEServer: public wxServerBase
|
||||
public:
|
||||
|
||||
wxDDEServer(void);
|
||||
~wxDDEServer(void);
|
||||
virtual ~wxDDEServer(void);
|
||||
bool Create(const wxString& server_name); // Returns false if can't create server (e.g. port
|
||||
// number is already in use)
|
||||
virtual wxConnectionBase *OnAcceptConnection(const wxString& topic);
|
||||
@@ -113,7 +113,7 @@ class WXDLLIMPEXP_BASE wxDDEClient: public wxClientBase
|
||||
DECLARE_DYNAMIC_CLASS(wxDDEClient)
|
||||
public:
|
||||
wxDDEClient(void);
|
||||
~wxDDEClient(void);
|
||||
virtual ~wxDDEClient(void);
|
||||
bool ValidHost(const wxString& host);
|
||||
virtual wxConnectionBase *MakeConnection(const wxString& host, const wxString& server, const wxString& topic);
|
||||
// Call this to make a connection.
|
||||
|
@@ -168,7 +168,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
|
||||
|
@@ -24,7 +24,7 @@ class WXDLLEXPORT wxWinHelpController: public wxHelpControllerBase
|
||||
|
||||
public:
|
||||
wxWinHelpController(wxWindow* parentWindow = NULL): wxHelpControllerBase(parentWindow) {}
|
||||
~wxWinHelpController() {}
|
||||
virtual ~wxWinHelpController() {}
|
||||
|
||||
// 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
|
||||
|
@@ -38,7 +38,7 @@ public:
|
||||
Create(parent, id, title, pos, size, style, name);
|
||||
}
|
||||
|
||||
~wxMDIParentFrame();
|
||||
virtual ~wxMDIParentFrame();
|
||||
|
||||
bool Create(wxWindow *parent,
|
||||
wxWindowID id,
|
||||
@@ -139,7 +139,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;
|
||||
|
@@ -31,7 +31,7 @@ class WXDLLEXPORT wxAutomationObject: public wxObject
|
||||
{
|
||||
public:
|
||||
wxAutomationObject(WXIDISPATCH* dispatchPtr = NULL);
|
||||
~wxAutomationObject();
|
||||
virtual ~wxAutomationObject();
|
||||
|
||||
// Set/get dispatch pointer
|
||||
inline void SetDispatchPtr(WXIDISPATCH* dispatchPtr) { m_dispatchPtr = dispatchPtr; };
|
||||
|
@@ -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;
|
||||
|
@@ -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,
|
||||
|
@@ -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 = wxID_ANY) : wxTimerBase(owner, id)
|
||||
{ Init(); }
|
||||
~wxTimer();
|
||||
virtual ~wxTimer();
|
||||
|
||||
virtual bool Start(int milliseconds = -1, bool oneShot = false);
|
||||
virtual void Stop();
|
||||
|
@@ -36,7 +36,7 @@ public:
|
||||
|
||||
Create(parent, id, value, pos, size, style, validator, name);
|
||||
}
|
||||
~wxTextCtrl();
|
||||
virtual ~wxTextCtrl();
|
||||
|
||||
bool Create(wxWindow *parent, wxWindowID id,
|
||||
const wxString& value = wxEmptyString,
|
||||
|
Reference in New Issue
Block a user