Add tests for XShape extension API in configure,
and implements wxTLW::SetShape for wxMotif and wxX11 using the aforementioned extension. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -404,6 +404,13 @@ void wxTopLevelWindowX11::SetIcons(const wxIconBundle& icons )
|
||||
wxSetIconsX11( wxGlobalDisplay(), GetMainWindow(), icons );
|
||||
}
|
||||
|
||||
bool wxTopLevelWindowX11::SetShape(const wxRegion& region)
|
||||
{
|
||||
return wxDoSetShape( wxGlobalDisplay(),
|
||||
(Window)GetMainWindow(),
|
||||
region );
|
||||
}
|
||||
|
||||
void wxTopLevelWindowX11::SetTitle(const wxString& title)
|
||||
{
|
||||
m_title = title;
|
||||
|
Reference in New Issue
Block a user