DECLARE_DYNAMIC_CLASS(wxIndividualLayoutConstraint)
protected:
+ // To be allowed to modify the internal variables
+ friend class wxIndividualLayoutConstraint_Serialize;
+
// 'This' window is the parent or sibling of otherWin
wxWindow *otherWin;
bool Create(wxWindow *parent, wxSizerBehaviour behav = wxSizerNone);
virtual void SetSize(int x, int y, int w, int h, int flags = wxSIZE_AUTO);
- // Avoid compiler warning
- void SetSize(int w, int h) { wxWindow::SetSize(w, h); }
- virtual void Move(int x, int y);
virtual void GetSize(int *w, int *h) const;
- inline virtual void GetClientSize(int *w, int *h) const { GetSize(w, h); }
+
+ virtual void GetClientSize(int *w, int *h) const { GetSize(w, h); }
virtual void GetPosition(int *x, int *y) const;
inline void SizerSetSize(int x, int y, int w, int h)
~wxRowColSizer();
bool Create(wxWindow *parent, bool rowOrCol = wxSIZER_ROWS, int rowsOrColSize = 20, wxSizerBehaviour = wxSizerShrink);
- void SetSize(int x, int y, int w, int h, int flags = wxSIZE_AUTO);
- // Avoid compiler warning
- void SetSize(int w, int h) { wxSizer::SetSize(w, h); }
+ virtual void SetSize(int x, int y, int w, int h, int flags = wxSIZE_AUTO);
inline virtual void SetRowOrCol(bool rc) { rowOrCol = rc; }
inline virtual bool GetRowOrCol() { return rowOrCol; }