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:
@@ -139,7 +139,7 @@ protected:
|
||||
|
||||
public:
|
||||
RipperDocGen();
|
||||
~RipperDocGen();
|
||||
virtual ~RipperDocGen();
|
||||
|
||||
// should be called onece to set user-code provided,
|
||||
// parser for specific source code language
|
||||
|
@@ -78,7 +78,7 @@ public:
|
||||
public:
|
||||
|
||||
spInterFileContext();
|
||||
~spInterFileContext();
|
||||
virtual ~spInterFileContext();
|
||||
|
||||
void AddFile( const wxString& fname, const wxString& content );
|
||||
|
||||
|
@@ -39,7 +39,7 @@ public:
|
||||
ctSettings(const ctSettings& settings);
|
||||
|
||||
/// Destructor.
|
||||
~ctSettings(){};
|
||||
virtual ~ctSettings(){}
|
||||
|
||||
// Operations
|
||||
|
||||
|
@@ -49,7 +49,7 @@ public:
|
||||
/// Ctor and dtor
|
||||
ctConfigItem(ctConfigItem* parent, ctConfigType type, const wxString& name);
|
||||
ctConfigItem();
|
||||
~ctConfigItem();
|
||||
virtual ~ctConfigItem();
|
||||
|
||||
/// Copy constructor.
|
||||
ctConfigItem(const ctConfigItem& item) : wxObject()
|
||||
|
@@ -29,7 +29,7 @@ class ctConfigToolDoc: public wxDocument
|
||||
DECLARE_DYNAMIC_CLASS(ctConfigToolDoc)
|
||||
public:
|
||||
ctConfigToolDoc();
|
||||
~ctConfigToolDoc();
|
||||
virtual ~ctConfigToolDoc();
|
||||
|
||||
//// Overrides
|
||||
virtual bool OnCreate(const wxString& path, long flags);
|
||||
@@ -120,7 +120,7 @@ public:
|
||||
/// Ctor and dtor
|
||||
ctConfiguration(ctConfiguration* parent, const wxString& name);
|
||||
ctConfiguration();
|
||||
~ctConfiguration();
|
||||
virtual ~ctConfiguration();
|
||||
|
||||
/// Copy constructor.
|
||||
ctConfiguration(const ctConfiguration& configuration) : wxObject()
|
||||
@@ -260,7 +260,7 @@ public:
|
||||
ctConfigCommand(const wxString& name, int cmdId,
|
||||
ctConfigItem* activeState, ctProperties* properties,
|
||||
bool ignoreFirstTime = false);
|
||||
~ctConfigCommand();
|
||||
virtual ~ctConfigCommand();
|
||||
|
||||
bool Do();
|
||||
bool Undo();
|
||||
|
@@ -28,7 +28,7 @@ class ctTreeItemData : public wxTreeItemData
|
||||
{
|
||||
public:
|
||||
ctTreeItemData(ctConfigItem* item) : m_configItem(item) { }
|
||||
~ctTreeItemData() ;
|
||||
virtual ~ctTreeItemData() ;
|
||||
|
||||
ctConfigItem *GetConfigItem() const { return m_configItem; }
|
||||
void SetConfigItem(ctConfigItem *item) { m_configItem = item; }
|
||||
@@ -49,7 +49,7 @@ class ctConfigTreeCtrl: public wxTreeCtrl
|
||||
public:
|
||||
ctConfigTreeCtrl(wxWindow* parent, wxWindowID id, const wxPoint& pt = wxDefaultPosition,
|
||||
const wxSize& sz = wxDefaultSize, long style = wxTR_HAS_BUTTONS);
|
||||
~ctConfigTreeCtrl();
|
||||
virtual ~ctConfigTreeCtrl();
|
||||
|
||||
//// Event handlers
|
||||
void OnMouseEvent(wxMouseEvent& event);
|
||||
|
@@ -142,7 +142,7 @@ class wxSimpleHtmlParser : public wxObject
|
||||
|
||||
public:
|
||||
wxSimpleHtmlParser();
|
||||
~wxSimpleHtmlParser();
|
||||
virtual ~wxSimpleHtmlParser();
|
||||
|
||||
//// Operations
|
||||
bool ParseFile(const wxString& filename);
|
||||
|
@@ -175,7 +175,7 @@ DECLARE_CLASS(ctOutputWindow)
|
||||
public:
|
||||
ctOutputWindow(wxWindow* parent, wxWindowID id,
|
||||
const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0);
|
||||
~ctOutputWindow(){};
|
||||
virtual ~ctOutputWindow(){}
|
||||
|
||||
/// Initialise the windows.
|
||||
void CreateWindows();
|
||||
|
@@ -31,7 +31,7 @@ class ctPropertyEditor: public wxPanel
|
||||
DECLARE_CLASS(ctPropertyEditor)
|
||||
public:
|
||||
ctPropertyEditor(wxWindow *parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style);
|
||||
~ctPropertyEditor(){};
|
||||
virtual ~ctPropertyEditor(){}
|
||||
|
||||
// Event handlers
|
||||
|
||||
|
@@ -131,7 +131,7 @@ class ctProperties: public wxObject
|
||||
public:
|
||||
ctProperties() {}
|
||||
ctProperties(const ctProperties& properties) : wxObject() { Copy(properties); }
|
||||
~ctProperties() { Clear(); }
|
||||
virtual ~ctProperties() { Clear(); }
|
||||
|
||||
void operator = (const ctProperties& properties) { Clear(); Copy(properties); }
|
||||
void Copy(const ctProperties& properties);
|
||||
|
@@ -40,7 +40,7 @@ public:
|
||||
ctApp();
|
||||
|
||||
/// Destructor.
|
||||
~ctApp(){};
|
||||
virtual ~ctApp(){}
|
||||
|
||||
// Accessors
|
||||
|
||||
|
@@ -65,7 +65,7 @@ class hvConnection : public wxConnection
|
||||
{
|
||||
public:
|
||||
hvConnection();
|
||||
~hvConnection();
|
||||
virtual ~hvConnection();
|
||||
|
||||
bool OnExecute(const wxString& topic, wxChar*data, int size, wxIPCFormat format);
|
||||
wxChar *OnRequest(const wxString& topic, const wxString& item, int *size, wxIPCFormat format);
|
||||
|
@@ -22,7 +22,7 @@ class rhhcConnection : public wxConnection
|
||||
{
|
||||
public:
|
||||
rhhcConnection(bool *isconn_a);
|
||||
~rhhcConnection();
|
||||
virtual ~rhhcConnection();
|
||||
|
||||
bool OnAdvise(const wxString& topic, const wxString& item, char *data, int size, wxIPCFormat format);
|
||||
bool OnDisconnect();
|
||||
@@ -44,7 +44,7 @@ class wxRemoteHtmlHelpController : public wxHelpControllerBase
|
||||
DECLARE_CLASS(wxRemoteHtmlHelpController)
|
||||
public:
|
||||
wxRemoteHtmlHelpController(int style = wxHF_DEFAULT_STYLE);
|
||||
~wxRemoteHtmlHelpController();
|
||||
virtual ~wxRemoteHtmlHelpController();
|
||||
void OnQuit(void);
|
||||
|
||||
void SetService(wxString& a_service);
|
||||
|
@@ -34,7 +34,7 @@ class WXDLLEXPORT wxPluginApp: public wxApp
|
||||
|
||||
public:
|
||||
wxPluginApp(void);
|
||||
~wxPluginApp(void);
|
||||
virtual ~wxPluginApp(void);
|
||||
|
||||
// Find a frame given a NP instance
|
||||
wxPluginFrame *FindFrame(NPP instance);
|
||||
|
@@ -34,7 +34,7 @@ public:
|
||||
Create(data);
|
||||
}
|
||||
|
||||
~wxPluginFrame(void);
|
||||
virtual ~wxPluginFrame(void);
|
||||
|
||||
bool Create(const wxPluginData& data);
|
||||
|
||||
|
@@ -114,7 +114,7 @@ class TexNextPage: public wxObject
|
||||
label = copystring(theLabel);
|
||||
filename = copystring(theFile);
|
||||
}
|
||||
~TexNextPage(void)
|
||||
virtual ~TexNextPage(void)
|
||||
{
|
||||
delete[] label;
|
||||
delete[] filename;
|
||||
|
@@ -53,7 +53,7 @@ class TexMacroDef: public wxObject
|
||||
int macroId;
|
||||
|
||||
TexMacroDef(int the_id, const wxChar *the_name, int n, bool ig, bool forbidLevel = FORBID_OK);
|
||||
~TexMacroDef(void);
|
||||
virtual ~TexMacroDef(void);
|
||||
};
|
||||
|
||||
#define CHUNK_TYPE_MACRO 1
|
||||
@@ -135,7 +135,7 @@ class TexTopic: public wxObject
|
||||
wxChar *filename;
|
||||
wxStringList *keywords;
|
||||
TexTopic(wxChar *f = NULL);
|
||||
~TexTopic(void);
|
||||
virtual ~TexTopic(void);
|
||||
};
|
||||
extern wxHashTable TopicTable;
|
||||
void AddKeyWordForTopic(wxChar *topic, wxChar *entry, wxChar *filename = NULL);
|
||||
@@ -403,7 +403,7 @@ class TexRef: public wxObject
|
||||
wxChar *sectionNumber; // Section or figure number (as a string)
|
||||
wxChar *sectionName; // name e.g. 'section'
|
||||
TexRef(const wxChar *label, const wxChar *file, const wxChar *section, const wxChar *sectionN = NULL);
|
||||
~TexRef(void);
|
||||
virtual ~TexRef(void);
|
||||
};
|
||||
|
||||
/*
|
||||
@@ -515,7 +515,7 @@ public:
|
||||
else
|
||||
macroBody = NULL;
|
||||
}
|
||||
~CustomMacro();
|
||||
virtual ~CustomMacro();
|
||||
};
|
||||
|
||||
bool ReadCustomMacros(const wxString& filename);
|
||||
@@ -537,7 +537,7 @@ class ColourTableEntry: public wxObject
|
||||
unsigned int blue;
|
||||
|
||||
ColourTableEntry(const wxChar *theName, unsigned int r, unsigned int g, unsigned int b);
|
||||
~ColourTableEntry(void);
|
||||
virtual ~ColourTableEntry(void);
|
||||
};
|
||||
|
||||
extern wxList ColourTable;
|
||||
|
@@ -73,7 +73,7 @@ class Tex2RTFConnection: public wxDDEConnection
|
||||
{
|
||||
public:
|
||||
Tex2RTFConnection(wxChar *buf, int size);
|
||||
~Tex2RTFConnection(void){};
|
||||
virtual ~Tex2RTFConnection(void){}
|
||||
bool OnExecute(const wxString& topic, wxChar *data, int size, wxIPCFormat format);
|
||||
wxChar *OnRequest(const wxString& topic, const wxString& item, int *size, wxIPCFormat format);
|
||||
};
|
||||
|
@@ -65,7 +65,7 @@ class wxOleInputStream : public wxInputStream
|
||||
public:
|
||||
|
||||
wxOleInputStream( GNOME_Stream stream );
|
||||
~wxOleInputStream();
|
||||
virtual ~wxOleInputStream();
|
||||
|
||||
bool Ok() const { return m_error; }
|
||||
|
||||
|
@@ -44,7 +44,7 @@ class wxOleServerEnv : public wxObject
|
||||
public:
|
||||
|
||||
wxOleServerEnv( const wxString &name, const wxString &version );
|
||||
~wxOleServerEnv();
|
||||
virtual ~wxOleServerEnv();
|
||||
|
||||
private:
|
||||
|
||||
@@ -68,7 +68,7 @@ class wxOleServer : public wxObject
|
||||
public:
|
||||
|
||||
wxOleServer( const wxString &id );
|
||||
~wxOleServer();
|
||||
virtual ~wxOleServer();
|
||||
|
||||
virtual wxOleControl *CreateOleControl();
|
||||
|
||||
@@ -91,7 +91,7 @@ class wxOleControl : public wxFrame
|
||||
public:
|
||||
|
||||
wxOleControl( wxWindowID id, long style = 0, const wxString &name = wxOleNameStr );
|
||||
~wxOleControl();
|
||||
virtual ~wxOleControl();
|
||||
bool Create( wxWindowID id, long style = 0, const wxString &name = wxOleNameStr );
|
||||
|
||||
protected:
|
||||
|
@@ -65,7 +65,7 @@ class MyApp : public wxApp
|
||||
public:
|
||||
|
||||
MyApp();
|
||||
~MyApp();
|
||||
virtual ~MyApp();
|
||||
|
||||
virtual bool OnInit();
|
||||
|
||||
|
Reference in New Issue
Block a user