Better backward compatibility and deprecation markup for interface deprecated in comments.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: sizer.cpp
|
||||
// Name: src/common/sizer.cpp
|
||||
// Purpose: provide new wxSizer class for layout
|
||||
// Author: Robert Roebling and Robin Dunn, contributions by
|
||||
// Dirk Holtwick, Ron Lee
|
||||
@@ -473,6 +473,7 @@ bool wxSizerItem::IsShown() const
|
||||
return false;
|
||||
}
|
||||
|
||||
#if WXWIN_COMPATIBILITY_2_6
|
||||
void wxSizerItem::SetOption( int option )
|
||||
{
|
||||
SetProportion( option );
|
||||
@@ -482,6 +483,7 @@ int wxSizerItem::GetOption() const
|
||||
{
|
||||
return GetProportion();
|
||||
}
|
||||
#endif // WXWIN_COMPATIBILITY_2_6
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
@@ -503,10 +505,12 @@ wxSizerItem* wxSizer::Insert( size_t index, wxSizerItem *item )
|
||||
return item;
|
||||
}
|
||||
|
||||
#if WXWIN_COMPATIBILITY_2_6
|
||||
bool wxSizer::Remove( wxWindow *window )
|
||||
{
|
||||
return Detach( window );
|
||||
}
|
||||
#endif // WXWIN_COMPATIBILITY_2_6
|
||||
|
||||
bool wxSizer::Remove( wxSizer *sizer )
|
||||
{
|
||||
|
Reference in New Issue
Block a user