From a5cf08fcbd4941f9bf9e3756b44fce68f25a9d4d Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 4 Jul 2015 16:33:21 +0200 Subject: [PATCH] Correct wxAuiNotebook::SetUniformBitmapSize() documentation. This function used the same documentation as Split() for some reason, document it correctly now. Closes #17049. (cherry picked from commit b7f3d0d752ef2683a2e90e94ebba54e22246a5b4) --- interface/wx/aui/auibook.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/interface/wx/aui/auibook.h b/interface/wx/aui/auibook.h index 747d63e07c..477614ada6 100644 --- a/interface/wx/aui/auibook.h +++ b/interface/wx/aui/auibook.h @@ -349,7 +349,15 @@ public: */ virtual void SetTabCtrlHeight(int height); - //@{ + /** + Ensure that all tabs have the same height, even if some of them don't + have bitmaps. + + Passing ::wxDefaultSize as @a size undoes the effect of a previous call + to this function and instructs the control to use dynamic tab height. + */ + virtual void SetUniformBitmapSize(const wxSize& size); + /** Split performs a split operation programmatically. The argument @a page indicates the page that will be split off. This page will also become the @@ -358,9 +366,7 @@ public: The @a direction argument specifies where the pane should go, it should be one of the following: wxTOP, wxBOTTOM, wxLEFT, or wxRIGHT. */ - virtual void SetUniformBitmapSize(const wxSize& size); virtual void Split(size_t page, int direction); - //@} /** Shows the window menu for the active tab control associated with this notebook,