API: SetThumbnailContents, for setting thumbnail contents with child window.
Author: Chaobin Zhang git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -111,6 +111,11 @@ void wxTaskBarButtonImpl::SetThumbnailClip(const wxRect& rect)
|
||||
m_taskbarList->SetThumbnailClip(m_hwnd, rect.IsEmpty() ? NULL : &rc);
|
||||
}
|
||||
|
||||
void wxTaskBarButtonImpl::SetThumbnailContents(const wxWindow* child)
|
||||
{
|
||||
SetThumbnailClip(child->GetRect());
|
||||
}
|
||||
|
||||
bool wxTaskBarButtonImpl::AddThumbBarButton(wxThumbBarButton *button)
|
||||
{
|
||||
wxCHECK( button != NULL, wxT("Can't add invalid wxThumbBarButton.") );
|
||||
|
Reference in New Issue
Block a user