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:
@@ -25,7 +25,7 @@
|
||||
class WXDLLIMPEXP_CORE wxIconRefData: public wxIconRefDataBase
|
||||
{
|
||||
public:
|
||||
wxIconRefData() { };
|
||||
wxIconRefData() { }
|
||||
virtual ~wxIconRefData() { Free(); }
|
||||
|
||||
virtual void Free();
|
||||
@@ -70,7 +70,7 @@ public:
|
||||
|
||||
inline void SetHICON(WXHICON hIcon) { SetHandle((WXHANDLE)hIcon); }
|
||||
inline WXHICON GetHICON() const { return (WXHICON)GetHandle(); }
|
||||
inline bool IsXpm(void) const { return m_bIsXpm; };
|
||||
inline bool IsXpm(void) const { return m_bIsXpm; }
|
||||
inline const wxBitmap& GetXpmSrc(void) const { return m_vXpmSrc; }
|
||||
|
||||
void CopyFromBitmap(const wxBitmap& rBmp);
|
||||
|
Reference in New Issue
Block a user