minor fixes for custom controls support in wxFileDialog: slightly improve documentation, make variable names more clear and add more WinCE checks (closes #10416)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-01-24 14:04:25 +00:00
parent 9800347d77
commit d6dae1b443
5 changed files with 22 additions and 9 deletions

View File

@@ -151,12 +151,12 @@ wxString wxFileDialogBase::AppendExtension(const wxString &filePath,
return filePath + ext;
}
bool wxFileDialogBase::SetExtraControlCreator(ExtraControlCreatorFunction c)
bool wxFileDialogBase::SetExtraControlCreator(ExtraControlCreatorFunction creator)
{
wxCHECK_MSG( !m_extraControlCreator, false,
"wxFileDialog::SetExtraControl() called second time" );
m_extraControlCreator = c;
m_extraControlCreator = creator;
return SupportsExtraControl();
}