X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3d2085a422cfd1db625dbc53ca542936a3264ed8..804eeca5d59fc4d3822b719dee61a9d491e6bcfc:/include/wx/sizer.h diff --git a/include/wx/sizer.h b/include/wx/sizer.h index 8ecd58f86a..a6a1252fb4 100644 --- a/include/wx/sizer.h +++ b/include/wx/sizer.h @@ -604,7 +604,10 @@ public: 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; }