-class WXDLLIMPEXP_AUI wxAuiNotebook : public wxControl
+class WXDLLIMPEXP_AUI wxAuiNotebook : public wxNavigationEnabled<wxControl>
{
public:
- wxAuiNotebook();
+ wxAuiNotebook() { Init(); }
wxAuiNotebook(wxWindow* parent,
wxWindowID id = wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
- long style = wxAUI_NB_DEFAULT_STYLE);
+ long style = wxAUI_NB_DEFAULT_STYLE)
+ {
+ Init();
+ Create(parent, id, pos, size, style);
+ }
virtual ~wxAuiNotebook();
virtual void Thaw();
protected:
+ // Common part of all ctors.
+ void Init();
+
// choose the default border for this window
virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
DECLARE_CLASS(wxAuiNotebook)
DECLARE_EVENT_TABLE()
#endif
-
- WX_DECLARE_CONTROL_CONTAINER();
-
};