void SetToolTip(wxToolTip *tooltip);
wxToolTip* GetToolTip();
- void SetSizer(wxSizer* sizer);
+ void SetSizer(wxSizer* sizer, bool deleteOld=TRUE);
wxSizer* GetSizer();
+ // Track if this window is a member of a sizer
+ void SetContainingSizer(wxSizer* sizer);
+ wxSizer *GetContainingSizer() const;
+
wxValidator* GetValidator();
void SetValidator(const wxValidator& validator);
#endif
wxSize GetBestSize();
+ wxSize GetMaxSize();
void SetCaret(wxCaret *caret);
wxCaret *GetCaret();
void OnPaint(wxPaintEvent& event);
#endif
- wxButton* GetDefaultItem();
- void SetDefaultItem(wxButton *btn);
+ wxWindow* GetDefaultItem();
+ wxWindow* SetDefaultItem(wxWindow *btn);
};
double GetScaleY();
void AdjustScrollbars();
+
+ bool Layout();
};
//----------------------------------------------------------------------