Remove unnecessary assignment in wxFileDialog code
"panel" here is an input argument, it's confusing to change it and it's unnecessary anyhow, so just don't do it. No real changes.
This commit is contained in:
parent
3b6595184f
commit
bcff3d17e8
1 changed files with 0 additions and 1 deletions
|
|
@ -650,7 +650,6 @@ void wxFileDialog::ModalFinishedCallback(void* panel, int returnCode)
|
|||
NSOpenPanel* oPanel = (NSOpenPanel*)panel;
|
||||
if (returnCode == NSModalResponseOK )
|
||||
{
|
||||
panel = oPanel;
|
||||
result = wxID_OK;
|
||||
|
||||
bool isFirst = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue