few more windows issues

This commit is contained in:
shweet committed 2025-11-11 19:00:00 -05:00
1 parent 993f92e412
commit 517a8262a6
5 files changed
+10 -15

No files matched your search

+3 -9
View File
@@ -1,7 +1,7 @@
#include "dialog.h"
#ifdef _WIN32
#include <window.h>
#include <windows.h>
#elif __unix__
#else
#include "toast.h"
@@ -67,15 +67,9 @@ namespace anm2ed
#endif
}
void Dialog::reset()
{
*this = Dialog(this->window);
}
void Dialog::reset() { *this = Dialog(this->window); }
bool Dialog::is_selected(dialog::Type type)
{
return this->type == type && !path.empty();
}
bool Dialog::is_selected(dialog::Type type) { return this->type == type && !path.empty(); }
void Dialog::set_string_to_selected_path(std::string& string, dialog::Type type)
{