Refactor repetitions into wxFileDialogBase::UpdateExtraControlUI()

No real changes, just prepare for the next commit before repeating more
code.
This commit is contained in:
Dimitri Schoolwerth
2021-02-13 00:30:02 +01:00
parent 5cc2f6ce9f
commit 57688cf2da
4 changed files with 12 additions and 6 deletions

View File

@@ -181,6 +181,9 @@ protected:
{ return m_extraControlCreator != NULL; }
// get the size of the extra control by creating and deleting it
wxSize GetExtraControlSize();
// Helper function for native file dialog usage where no wx events
// are processed.
void UpdateExtraControlUI();
private:
ExtraControlCreatorFunction m_extraControlCreator;