]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/aui/framemanager.h
Add support for icons in wxAUI panes title bars.
[wxWidgets.git] / interface / wx / aui / framemanager.h
index 36855b16a164475c384378851ec6357dc7256265..ba58430ce5d058a5eea06431a32a36a15263cf7c 100644 (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.