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:
@@ -43,7 +43,7 @@ class WXDLLIMPEXP_CORE wxStaticBitmap : public wxStaticBitmapBase
|
||||
inline virtual ~wxStaticBitmap() { Free(); }
|
||||
|
||||
virtual void SetIcon(const wxIcon& rIcon) { SetImage(rIcon); }
|
||||
virtual void SetBitmap(const wxBitmap& rBitmap) { SetImage(rBitmap); };
|
||||
virtual void SetBitmap(const wxBitmap& rBitmap) { SetImage(rBitmap); }
|
||||
|
||||
// assert failure is provoked by an attempt to get an icon from bitmap or
|
||||
// vice versa
|
||||
|
Reference in New Issue
Block a user