X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d7f1759ac12007c85f5e63b66901cde202bf79dc..60848fcfefa649f4e1275281639881452374a350:/src/gtk/notebook.cpp diff --git a/src/gtk/notebook.cpp b/src/gtk/notebook.cpp index 8c7c858c13..8b23e3256e 100644 --- a/src/gtk/notebook.cpp +++ b/src/gtk/notebook.cpp @@ -226,7 +226,9 @@ static void wxInsertChildInNotebook( wxNotebook* parent, wxWindow* child ) { // Hack alert! We manually set the child window // parent field so that GTK can query the - // notebook's style and font. + // notebook's style and font. Without that, GetBestSize could return + // incorrect size, see bug #901694 for details + // (http://sourceforge.net/tracker/?func=detail&aid=901694&group_id=9863&atid=109863) child->m_widget->parent = parent->m_widget; }