renamed wxWizard::Fit() to FitToPage() to avoid potential conflicts with wxWindow::Fit() (and the compiler warnings about it)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2002-06-21 21:49:28 +00:00
parent 7357f98198
commit 3ee5833474
3 changed files with 3 additions and 3 deletions

View File

@@ -280,7 +280,7 @@ void wxWizard::SetPageSize(const wxSize& size)
m_sizePage = size;
}
void wxWizard::Fit(const wxWizardPage *page)
void wxWizard::FitToPage(const wxWizardPage *page)
{
// otherwise it will have no effect now as it's too late...
wxASSERT_MSG( !WasCreated(), _T("should be called before RunWizard()!") );