wxSize Fit( wxWindow *window );
void FitInside( wxWindow *window );
void SetSizeHints( wxWindow *window );
- void SetVirtualSizeHints( wxWindow *window );
+#if WXWIN_COMPATIBILITY_2_8
+ // This only calls FitInside() since 2.9
+ wxDEPRECATED( void SetVirtualSizeHints( wxWindow *window ) );
+#endif
wxSizerItemList& GetChildren()
{ return m_children; }
protected:
// helpers for our code: this returns the component of the given wxSize in
// the direction of the sizer and in the other direction, respectively
- int SizeInMajorDir(const wxSize& sz) const
+ int GetSizeInMajorDir(const wxSize& sz) const
{
return m_orient == wxHORIZONTAL ? sz.x : sz.y;
}
return m_orient == wxHORIZONTAL ? pt.x : pt.y;
}
- int SizeInMinorDir(const wxSize& sz) const
+ int GetSizeInMinorDir(const wxSize& sz) const
{
return m_orient == wxHORIZONTAL ? sz.y : sz.x;
}
void AdjustPropLastItem(wxSizer *psz, wxSizerItem *itemLast);
-private:
- DECLARE_DYNAMIC_CLASS(wxWrapSizer);
+ DECLARE_DYNAMIC_CLASS(wxWrapSizer)
};
//---------------------------------------------------------------------------