From 1a6899ed396a332549bd18489d6f781f814dd7f4 Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Sat, 4 Jan 2020 11:38:08 +0100 Subject: [PATCH] Annotate wxAppBar::MaximiseFromEdge() properly Signed-off-by: Simon Rozman --- include/wxex/appbar.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/wxex/appbar.h b/include/wxex/appbar.h index e4d3edb..a8dcd3c 100644 --- a/include/wxex/appbar.h +++ b/include/wxex/appbar.h @@ -209,14 +209,14 @@ public: /// /// \param[in] rect The desired coordinates of the restored window. If NULL internally saved coordinates are used. /// - void MaximiseFromEdge(const RECT* rect = NULL); + void MaximiseFromEdge(_In_opt_ const RECT* rect = NULL); /// /// Restore application bar from the edge of the desktop. /// /// \param[in] wnd When the undocked and docked window is different, this parameter denotes the undocked version. /// - void MaximiseFromEdge(wxWindow *wnd); + void MaximiseFromEdge(_In_ wxWindow *wnd); /// /// Shows or hides auto-hide application bar. @@ -834,7 +834,7 @@ void wxAppBar::MinimiseToEdge(wxAppBarState edge, wxWindow *wnd) template -void wxAppBar::MaximiseFromEdge(const RECT* rect) +void wxAppBar::MaximiseFromEdge(_In_opt_ const RECT* rect) { wxASSERT(::IsWindowVisible(m_hWnd)); @@ -877,7 +877,7 @@ void wxAppBar::MaximiseFromEdge(const RECT* rect) template -void wxAppBar::MaximiseFromEdge(wxWindow *wnd) +void wxAppBar::MaximiseFromEdge(_In_ wxWindow *wnd) { wxASSERT(wnd); wxASSERT(::IsWindowVisible(m_hWnd));