mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user