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

@@ -88,7 +88,7 @@ public:
wxSize GetGridSizeInPixels() const;
~BombsCanvas();
virtual ~BombsCanvas();
private:

View File

@@ -14,7 +14,7 @@ class MainFrame: public wxFrame
{
public:
MainFrame(wxFrame *frame, wxChar *title, const wxPoint& pos, const wxSize& size);
~MainFrame(void);
virtual ~MainFrame(void);
public:
// menu callbacks

View File

@@ -16,8 +16,8 @@
class FortyApp: public wxApp
{
public:
FortyApp(){};
~FortyApp();
FortyApp(){}
virtual ~FortyApp();
bool OnInit();
static const wxColour& BackgroundColour();

View File

@@ -24,7 +24,7 @@ const int MaxMoves = 800;
class Pack : public Pile {
public:
Pack(int x, int y);
~Pack();
virtual ~Pack();
void Redraw(wxDC& dc);
void ResetPile() { m_topCard = NumCards - 1; }
void Shuffle();
@@ -39,7 +39,7 @@ public:
class Base : public Pile {
public:
Base(int x, int y);
~Base(){};
virtual ~Base(){}
bool AcceptCard(Card* card);
};
@@ -50,7 +50,7 @@ public:
class Foundation : public Pile {
public:
Foundation(int x, int y);
~Foundation(){};
virtual ~Foundation(){}
bool AcceptCard(Card* card);
};
@@ -61,7 +61,7 @@ public:
class Discard : public Pile {
public:
Discard(int x, int y);
~Discard(){};
virtual ~Discard(){}
void Redraw(wxDC& dc);
void GetTopCardPos(int& x, int& y);
Card* RemoveTopCard(wxDC& dc, int m_xOffset, int m_yOffset);

View File

@@ -37,7 +37,7 @@ class LifeSamplesDialog : public wxDialog
public:
// ctor and dtor
LifeSamplesDialog(wxWindow *parent);
~LifeSamplesDialog();
virtual ~LifeSamplesDialog();
// members
const LifePattern& GetPattern();

View File

@@ -41,7 +41,7 @@ class LifeCanvas : public wxWindow
public:
// ctor and dtor
LifeCanvas(wxWindow* parent, Life* life, bool interactive = true);
~LifeCanvas();
virtual ~LifeCanvas();
// view management
int GetCellSize() const { return m_cellsize; };
@@ -122,7 +122,7 @@ class LifeFrame : public wxFrame
public:
// ctor and dtor
LifeFrame();
~LifeFrame();
virtual ~LifeFrame();
// member functions
void UpdateInfoText();

View File

@@ -29,7 +29,7 @@ class MyCanvas: public wxWindow
{
public:
MyCanvas(wxFrame *frame);
~MyCanvas();
virtual ~MyCanvas();
void OnPaint(wxPaintEvent& event);
void OnMouseEvent(wxMouseEvent& event);
@@ -47,7 +47,7 @@ class MainWindow: public wxFrame
public:
MyCanvas *canvas;
MainWindow(wxFrame *frame, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style);
~MainWindow();
virtual ~MainWindow();
void OnCloseWindow(wxCloseEvent& event);
void OnChar(wxKeyEvent& event);