Same as last one..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
#include "wx/dcclient.h"
|
||||
#include "wx/dnd.h"
|
||||
#include "wx/mdi.h"
|
||||
#include "wx/tabctrl.h"
|
||||
#include "gdk/gdkkeysyms.h"
|
||||
#include <math.h>
|
||||
#include "wx/gtk/win_gtk.h"
|
||||
@@ -1413,6 +1414,14 @@ void wxWindow::AddChild( wxWindow *child )
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
if (IsKindOf(CLASSINFO(wxTabCtrl)))
|
||||
{
|
||||
wxTabCtrl *tab = (wxTabCtrl*)this;
|
||||
tab->AddChild( child );
|
||||
return;
|
||||
};
|
||||
|
||||
m_children.Append( child );
|
||||
if (child->IsKindOf(CLASSINFO(wxFrame)) || child->IsKindOf(CLASSINFO(wxDialog)))
|
||||
{
|
||||
|
Reference in New Issue
Block a user