added reference to the bug in case somebody wanted to remove this
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user