Fix for TextCtrl problem as reported by Vegh
Move definition of wxMenuItem to /gtk/menuitem.h Radical change of how to insert a child into a paren window. As C++ doesn't have any VMT in a class's consructor, I have to use a callback. Fixed culumn resizing bug in wxListCtrl Fixed menu height bug in MDI code git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -8,11 +8,11 @@
|
||||
// Licence: wxWindows license
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef __NOTEBOOKH__
|
||||
#define __NOTEBOOKH__
|
||||
#ifndef __GTKNOTEBOOKH__
|
||||
#define __GTKNOTEBOOKH__
|
||||
|
||||
#ifdef __GNUG__
|
||||
#pragma interface "notebook.h"
|
||||
#pragma interface
|
||||
#endif
|
||||
|
||||
#include "wx/defs.h"
|
||||
@@ -137,15 +137,13 @@ public:
|
||||
// get the panel which represents the given page
|
||||
wxWindow *GetPage(int nPage) const;
|
||||
|
||||
|
||||
// implementation
|
||||
|
||||
void AddChild(wxWindow *child);
|
||||
void SetConstraintSizes(bool recurse);
|
||||
bool DoPhase(int phase);
|
||||
void ApplyWidgetStyle();
|
||||
|
||||
|
||||
private:
|
||||
// common part of all ctors
|
||||
void Init();
|
||||
|
||||
@@ -183,4 +181,4 @@ typedef void (wxEvtHandler::*wxNotebookEventFunction)(wxNotebookEvent&);
|
||||
},
|
||||
|
||||
#endif
|
||||
// __NOTEBOOKH__
|
||||
// __GTKNOTEBOOKH__
|
||||
|
Reference in New Issue
Block a user