| 437 | #endif |
| 438 | } |
| 439 | FileDialog::~FileDialog() { |
| 440 | m_clearIconPreview(); |
| 441 | m_clearIcons(); |
| 442 | |
| 443 | for (auto fn : m_treeCache) |
| 444 | m_clearTree(fn); |
| 445 | m_treeCache.clear(); |
| 446 | } |
| 447 | bool FileDialog::Save(const std::string& key, const std::string& title, const std::string& filter, const std::string& startingDir) |
| 448 | { |
| 449 | if (!m_currentKey.empty()) |