Do not put semicolons after the definition of an inline function.
Even though most compilers just ignore this, it's just wrong and if you do get warnings about header files, they can become quite overwhelming. Forward port of r70163. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -105,7 +105,7 @@ public:
|
||||
#if wxUSE_PALETTE
|
||||
wxPalette *GetPalette() const;
|
||||
void SetPalette(const wxPalette& palette);
|
||||
wxPalette *GetColourMap() const { return GetPalette(); };
|
||||
wxPalette *GetColourMap() const { return GetPalette(); }
|
||||
#endif // wxUSE_PALETTE
|
||||
|
||||
static void InitStandardHandlers();
|
||||
|
@@ -23,7 +23,7 @@ public:
|
||||
virtual ~wxGTKDCImpl() { }
|
||||
|
||||
#if wxUSE_PALETTE
|
||||
void SetColourMap( const wxPalette& palette ) { SetPalette(palette); };
|
||||
void SetColourMap( const wxPalette& palette ) { SetPalette(palette); }
|
||||
#endif // wxUSE_PALETTE
|
||||
|
||||
// Resolution in pixels per logical inch
|
||||
|
@@ -45,8 +45,8 @@ public:
|
||||
void SetBezelFace( int WXUNUSED(w) ) { }
|
||||
void SetRange( int r );
|
||||
void SetValue( int pos );
|
||||
int GetShadowWidth() const { return 0; };
|
||||
int GetBezelFace() const { return 0; };
|
||||
int GetShadowWidth() const { return 0; }
|
||||
int GetBezelFace() const { return 0; }
|
||||
int GetRange() const;
|
||||
int GetValue() const;
|
||||
|
||||
|
@@ -30,7 +30,7 @@ public:
|
||||
virtual ~wxMessageDialog();
|
||||
|
||||
int ShowModal();
|
||||
virtual bool Show( bool WXUNUSED(show) = true ) { return false; };
|
||||
virtual bool Show( bool WXUNUSED(show) = true ) { return false; }
|
||||
|
||||
protected:
|
||||
// implement some base class methods to do nothing to avoid asserts and
|
||||
|
@@ -51,7 +51,7 @@ public:
|
||||
virtual void Restore();
|
||||
|
||||
virtual bool ShowFullScreen(bool show, long style = wxFULLSCREEN_ALL);
|
||||
virtual bool IsFullScreen() const { return m_fsIsShowing; };
|
||||
virtual bool IsFullScreen() const { return m_fsIsShowing; }
|
||||
|
||||
virtual bool SetShape(const wxRegion& region);
|
||||
|
||||
|
Reference in New Issue
Block a user