Fix extra semicolon warnings

This commit is contained in:
Maarten Bent
2018-11-25 20:22:55 +01:00
parent eb23d4735c
commit bcf53d6b96
27 changed files with 58 additions and 58 deletions

View File

@@ -122,7 +122,7 @@ class DragShape: public wxObject
{
public:
DragShape(const wxBitmap& bitmap);
~DragShape(){};
~DragShape(){}
//// Operations

View File

@@ -78,7 +78,7 @@ public:
bool Connect(const wxString& sHost, const wxString& sService, const wxString& sTopic);
void Disconnect();
wxConnectionBase *OnMakeConnection() wxOVERRIDE;
bool IsConnected() { return m_connection != NULL; };
bool IsConnected() { return m_connection != NULL; }
virtual void Notify() wxOVERRIDE;

View File

@@ -113,7 +113,7 @@ public:
MyServer();
virtual ~MyServer();
void Disconnect();
bool IsConnected() { return m_connection != NULL; };
bool IsConnected() { return m_connection != NULL; }
virtual wxConnectionBase *OnAcceptConnection(const wxString& topic) wxOVERRIDE;

View File

@@ -31,7 +31,7 @@ class MyApp: public wxApp
public:
virtual bool OnInit() wxOVERRIDE;
virtual int OnExit() wxOVERRIDE;
MyFrame *GetFrame() { return m_frame; };
MyFrame *GetFrame() { return m_frame; }
protected:
MyFrame *m_frame;
@@ -96,8 +96,8 @@ public:
bool Connect(const wxString& sHost, const wxString& sService, const wxString& sTopic);
void Disconnect();
wxConnectionBase *OnMakeConnection() wxOVERRIDE;
bool IsConnected() { return m_connection != NULL; };
MyConnection *GetConnection() { return m_connection; };
bool IsConnected() { return m_connection != NULL; }
MyConnection *GetConnection() { return m_connection; }
protected:
MyConnection *m_connection;

View File

@@ -44,7 +44,7 @@ public:
MyCanvas *canvas;
MyFrame(wxFrame *parent, const wxString& title,
const wxPoint& pos, const wxSize& size, const long style);
~MyFrame(){};
~MyFrame(){}
void OnActivate(wxActivateEvent& event);
void OnQuit(wxCommandEvent& event);

View File

@@ -12,7 +12,7 @@
class MyApp: public wxApp
{
public:
MyApp(){};
MyApp(){}
bool OnInit() wxOVERRIDE;
};

View File

@@ -12,7 +12,7 @@
class MyApp: public wxApp
{
public:
MyApp(void){};
MyApp(void){}
bool OnInit(void) wxOVERRIDE;
};

View File

@@ -14,7 +14,7 @@
class MyApp: public wxApp
{
public:
MyApp(){};
MyApp(){}
bool OnInit() wxOVERRIDE;
};

View File

@@ -40,7 +40,7 @@ class OwnerDrawnFrame : public wxFrame
public:
// ctor & dtor
OwnerDrawnFrame(wxFrame *frame, const wxString& title, int x, int y, int w, int h);
~OwnerDrawnFrame(){};
~OwnerDrawnFrame(){}
// notifications
void OnQuit (wxCommandEvent& event);

View File

@@ -151,7 +151,7 @@ class MyCanvas: public wxScrolledWindow
{
public:
MyCanvas(wxWindow* parent, bool mirror);
virtual ~MyCanvas(){};
virtual ~MyCanvas(){}
virtual void OnDraw(wxDC& dc) wxOVERRIDE;

View File

@@ -112,7 +112,7 @@ public:
wxString DeterminePrefs (const wxString &filename);
bool InitializePrefs (const wxString &filename);
bool UserSettings (const wxString &filename);
LanguageInfo const* GetLanguageInfo () {return m_language;};
LanguageInfo const* GetLanguageInfo () {return m_language;}
//! load/save file
bool LoadFile ();
@@ -120,8 +120,8 @@ public:
bool SaveFile ();
bool SaveFile (const wxString &filename);
bool Modified ();
wxString GetFilename () {return m_filename;};
void SetFilename (const wxString &filename) {m_filename = filename;};
wxString GetFilename () {return m_filename;}
void SetFilename (const wxString &filename) {m_filename = filename;}
private:
// file

View File

@@ -66,7 +66,7 @@ class MyApp : public wxApp
{
public:
MyApp();
virtual ~MyApp(){};
virtual ~MyApp(){}
virtual bool OnInit() wxOVERRIDE;

View File

@@ -67,7 +67,7 @@ public:
MyTreeCtrl(wxWindow *parent, const wxWindowID id,
const wxPoint& pos, const wxSize& size,
long style);
virtual ~MyTreeCtrl(){};
virtual ~MyTreeCtrl(){}
void OnBeginDrag(wxTreeEvent& event);
void OnBeginRDrag(wxTreeEvent& event);

View File

@@ -60,7 +60,7 @@ public:
);
// Destructor.
~MyResizableListCtrl(){};
~MyResizableListCtrl(){}
protected:

View File

@@ -36,7 +36,7 @@ public:
PreferencesDialog( wxWindow* parent );
// Destructor.
~PreferencesDialog(){};
~PreferencesDialog(){}
private: