remove WXWIN_COMPATIBILITY_2_6, add WXWIN_COMPATIBILITY_3_0
closes #15792 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -617,19 +617,6 @@ bool wxSizerItem::IsShown() const
|
||||
return false;
|
||||
}
|
||||
|
||||
#if WXWIN_COMPATIBILITY_2_6
|
||||
void wxSizerItem::SetOption( int option )
|
||||
{
|
||||
SetProportion( option );
|
||||
}
|
||||
|
||||
int wxSizerItem::GetOption() const
|
||||
{
|
||||
return GetProportion();
|
||||
}
|
||||
#endif // WXWIN_COMPATIBILITY_2_6
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// wxSizer
|
||||
//---------------------------------------------------------------------------
|
||||
@@ -675,13 +662,6 @@ void wxSizer::SetContainingWindow(wxWindow *win)
|
||||
}
|
||||
}
|
||||
|
||||
#if WXWIN_COMPATIBILITY_2_6
|
||||
bool wxSizer::Remove( wxWindow *window )
|
||||
{
|
||||
return Detach( window );
|
||||
}
|
||||
#endif // WXWIN_COMPATIBILITY_2_6
|
||||
|
||||
bool wxSizer::Remove( wxSizer *sizer )
|
||||
{
|
||||
wxASSERT_MSG( sizer, wxT("Removing NULL sizer") );
|
||||
|
Reference in New Issue
Block a user