fix warnings due to using deprecated-but-used-internally methods from the header file (which, of course, meant that they were also used during client code compilation)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-07-25 17:42:43 +00:00
parent df4aed1cf0
commit cf4a8b2698
2 changed files with 18 additions and 7 deletions

View File

@@ -963,7 +963,20 @@ wxCoord wxVarVScrollLegacyAdaptor::OnGetLineHeight(size_t WXUNUSED(n)) const
return -1;
}
void wxVarVScrollLegacyAdaptor::OnGetLinesHint( size_t WXUNUSED(lineMin), size_t WXUNUSED(lineMax)) const
{ }
void wxVarVScrollLegacyAdaptor::OnGetLinesHint(size_t WXUNUSED(lineMin),
size_t WXUNUSED(lineMax)) const
{
}
#endif
wxCoord wxVarVScrollLegacyAdaptor::OnGetRowHeight(size_t n) const
{
return OnGetLineHeight(n);
}
void wxVarVScrollLegacyAdaptor::OnGetRowsHeightHint(size_t rowMin,
size_t rowMax) const
{
OnGetLinesHint(rowMin, rowMax);
}
#endif // WXWIN_COMPATIBILITY_2_8