Fix extra semicolon warnings
This commit is contained in:
@@ -122,7 +122,7 @@ class DragShape: public wxObject
|
||||
{
|
||||
public:
|
||||
DragShape(const wxBitmap& bitmap);
|
||||
~DragShape(){};
|
||||
~DragShape(){}
|
||||
|
||||
//// Operations
|
||||
|
||||
|
@@ -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;
|
||||
|
||||
|
@@ -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;
|
||||
|
||||
|
@@ -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;
|
||||
|
@@ -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);
|
||||
|
||||
|
@@ -12,7 +12,7 @@
|
||||
class MyApp: public wxApp
|
||||
{
|
||||
public:
|
||||
MyApp(){};
|
||||
MyApp(){}
|
||||
bool OnInit() wxOVERRIDE;
|
||||
};
|
||||
|
||||
|
@@ -12,7 +12,7 @@
|
||||
class MyApp: public wxApp
|
||||
{
|
||||
public:
|
||||
MyApp(void){};
|
||||
MyApp(void){}
|
||||
bool OnInit(void) wxOVERRIDE;
|
||||
};
|
||||
|
||||
|
@@ -14,7 +14,7 @@
|
||||
class MyApp: public wxApp
|
||||
{
|
||||
public:
|
||||
MyApp(){};
|
||||
MyApp(){}
|
||||
bool OnInit() wxOVERRIDE;
|
||||
};
|
||||
|
||||
|
@@ -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);
|
||||
|
@@ -151,7 +151,7 @@ class MyCanvas: public wxScrolledWindow
|
||||
{
|
||||
public:
|
||||
MyCanvas(wxWindow* parent, bool mirror);
|
||||
virtual ~MyCanvas(){};
|
||||
virtual ~MyCanvas(){}
|
||||
|
||||
virtual void OnDraw(wxDC& dc) wxOVERRIDE;
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -66,7 +66,7 @@ class MyApp : public wxApp
|
||||
{
|
||||
public:
|
||||
MyApp();
|
||||
virtual ~MyApp(){};
|
||||
virtual ~MyApp(){}
|
||||
|
||||
virtual bool OnInit() wxOVERRIDE;
|
||||
|
||||
|
@@ -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);
|
||||
|
@@ -60,7 +60,7 @@ public:
|
||||
);
|
||||
|
||||
// Destructor.
|
||||
~MyResizableListCtrl(){};
|
||||
~MyResizableListCtrl(){}
|
||||
|
||||
protected:
|
||||
|
||||
|
@@ -36,7 +36,7 @@ public:
|
||||
PreferencesDialog( wxWindow* parent );
|
||||
|
||||
// Destructor.
|
||||
~PreferencesDialog(){};
|
||||
~PreferencesDialog(){}
|
||||
|
||||
private:
|
||||
|
||||
|
Reference in New Issue
Block a user