GTK
- wxNotebook added - wxTabCtrl removed - added USE_WXCONFIG option - minor compile fixes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
#include "wx/dcclient.h"
|
||||
#include "wx/dnd.h"
|
||||
#include "wx/mdi.h"
|
||||
#include "wx/tabctrl.h"
|
||||
#include "wx/notebook.h"
|
||||
#include "gdk/gdkkeysyms.h"
|
||||
#include <math.h>
|
||||
#include "wx/gtk/win_gtk.h"
|
||||
@@ -1415,9 +1415,9 @@ void wxWindow::AddChild( wxWindow *child )
|
||||
};
|
||||
};
|
||||
|
||||
if (IsKindOf(CLASSINFO(wxTabCtrl)))
|
||||
if (IsKindOf(CLASSINFO(wxNotebook)))
|
||||
{
|
||||
wxTabCtrl *tab = (wxTabCtrl*)this;
|
||||
wxNotebook *tab = (wxNotebook*)this;
|
||||
tab->AddChild( child );
|
||||
return;
|
||||
};
|
||||
|
Reference in New Issue
Block a user