implement GetSizeAvailableForScrollTarget
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -4151,6 +4151,15 @@ WXLRESULT wxDataViewCtrl::MSWWindowProc(WXUINT nMsg,
|
||||
}
|
||||
#endif
|
||||
|
||||
wxSize wxDataViewCtrl::GetSizeAvailableForScrollTarget(const wxSize& size)
|
||||
{
|
||||
wxSize newsize = size;
|
||||
if (!HasFlag(wxDV_NO_HEADER))
|
||||
newsize.y -= m_headerArea->GetSize().y;
|
||||
|
||||
return newsize;
|
||||
}
|
||||
|
||||
void wxDataViewCtrl::OnSize( wxSizeEvent &WXUNUSED(event) )
|
||||
{
|
||||
// We need to override OnSize so that our scrolled
|
||||
|
Reference in New Issue
Block a user