]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/notebook.cpp
removed more unneeded files, see patch 890642
[wxWidgets.git] / src / gtk1 / notebook.cpp
index 8c7c858c13dd91c89a9622e7655e6f07dd3c23e0..8b23e3256e07a08118ede466989a124f24c39257 100644 (file)
@@ -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;
 }