[wpigui] Fix PFD file dialogs not closing after window closing (#5530)

Also applies samhocevar/portable-file-dialogs#91 to properly retrieve the HWND on Windows.
This commit is contained in:
Oliver
2023-08-12 10:07:35 -06:00
committed by GitHub
parent 86d7bbc4e4
commit e2e1b763b2
2 changed files with 19 additions and 9 deletions

View File

@@ -128,6 +128,7 @@ class executor;
class dialog : protected settings
{
public:
virtual ~dialog();
bool ready(int timeout = default_wait_timeout) const;
bool kill() const;
@@ -146,7 +147,7 @@ protected:
std::shared_ptr<executor> m_async;
};
class file_dialog : public dialog
class file_dialog : public internal::dialog
{
protected:
enum type