git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25924
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
// Hack alert! We manually set the child window
// parent field so that GTK can query the
{
// 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;
}
child->m_widget->parent = parent->m_widget;
}
{
// Hack alert! We manually set the child window
// parent field so that GTK can query the
{
// 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;
}
child->m_widget->parent = parent->m_widget;
}