Nit: fix code style.
Author: Chaobin Zhang git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
2525b1988e
commit
4b517d32cd
@ -31,7 +31,7 @@ public:
|
|||||||
virtual void SetOverlayIcon(const wxIcon& icon,
|
virtual void SetOverlayIcon(const wxIcon& icon,
|
||||||
const wxString& description = wxString()) wxOVERRIDE;
|
const wxString& description = wxString()) wxOVERRIDE;
|
||||||
virtual void SetThumbnailClip(const wxRect& rect) wxOVERRIDE;
|
virtual void SetThumbnailClip(const wxRect& rect) wxOVERRIDE;
|
||||||
virtual void SetThumbnailContents(const wxWindow* child) wxOVERRIDE;
|
virtual void SetThumbnailContents(const wxWindow *child) wxOVERRIDE;
|
||||||
virtual bool AddThumbBarButton(wxThumbBarButton *button) wxOVERRIDE;
|
virtual bool AddThumbBarButton(wxThumbBarButton *button) wxOVERRIDE;
|
||||||
virtual void ShowThumbnailToolbar() wxOVERRIDE;
|
virtual void ShowThumbnailToolbar() wxOVERRIDE;
|
||||||
|
|
||||||
|
@ -64,7 +64,7 @@ public:
|
|||||||
virtual void SetOverlayIcon(const wxIcon& icon,
|
virtual void SetOverlayIcon(const wxIcon& icon,
|
||||||
const wxString& description = wxString()) = 0;
|
const wxString& description = wxString()) = 0;
|
||||||
virtual void SetThumbnailClip(const wxRect& rect) = 0;
|
virtual void SetThumbnailClip(const wxRect& rect) = 0;
|
||||||
virtual void SetThumbnailContents(const wxWindow* child) = 0;
|
virtual void SetThumbnailContents(const wxWindow *child) = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Adds a thumbnail toolbar button to the thumbnail image of a window in
|
Adds a thumbnail toolbar button to the thumbnail image of a window in
|
||||||
|
@ -126,7 +126,7 @@ void wxTaskBarButtonImpl::SetThumbnailClip(const wxRect& rect)
|
|||||||
m_taskbarList->SetThumbnailClip(m_hwnd, rect.IsEmpty() ? NULL : &rc);
|
m_taskbarList->SetThumbnailClip(m_hwnd, rect.IsEmpty() ? NULL : &rc);
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxTaskBarButtonImpl::SetThumbnailContents(const wxWindow* child)
|
void wxTaskBarButtonImpl::SetThumbnailContents(const wxWindow *child)
|
||||||
{
|
{
|
||||||
SetThumbnailClip(child->GetRect());
|
SetThumbnailClip(child->GetRect());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user