Add support for icons in wxAUI panes title bars.

Add wxAuiPaneInfo::Icon() method and shows its use in the sample.

Closes #12856.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2011-01-12 13:39:36 +00:00
parent 17731af57d
commit 4254f67216
6 changed files with 49 additions and 2 deletions

View File

@@ -570,6 +570,17 @@ public:
*/
wxAuiPaneInfo& Hide();
/**
Icon() sets the icon of the pane.
Notice that the height of the icon should be smaller than the value
returned by wxAuiDockArt::GetMetric(wxAUI_DOCKART_CAPTION_SIZE) to
ensure that it appears correctly.
@since 2.9.2
*/
wxAuiPaneInfo& Icon(const wxBitmap& b);
/**
IsBottomDockable() returns @true if the pane can be docked at the bottom of the
managed frame.