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:
@@ -118,7 +118,7 @@ public:
|
||||
);
|
||||
|
||||
inline HWND GetScrollBarHorz(void) const {return m_hWndScrollBarHorz;}
|
||||
inline HWND GetScrollBarVert(void) const {return m_hWndScrollBarVert;};
|
||||
inline HWND GetScrollBarVert(void) const {return m_hWndScrollBarVert;}
|
||||
#if wxUSE_DRAG_AND_DROP
|
||||
virtual void SetDropTarget(wxDropTarget* pDropTarget);
|
||||
#endif // wxUSE_DRAG_AND_DROP
|
||||
@@ -182,7 +182,7 @@ public:
|
||||
);
|
||||
|
||||
// PM only: true if this control is part of the main control
|
||||
virtual bool ContainsHWND(WXHWND WXUNUSED(hWnd)) const { return false; };
|
||||
virtual bool ContainsHWND(WXHWND WXUNUSED(hWnd)) const { return false; }
|
||||
|
||||
// translate wxWidgets style flags for this control into the PM style
|
||||
// and optional extended style for the corresponding native control
|
||||
|
Reference in New Issue
Block a user