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:
@@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user