diff --git a/aegisub/src/frame_main.cpp b/aegisub/src/frame_main.cpp index c852fd079..cc1da5185 100644 --- a/aegisub/src/frame_main.cpp +++ b/aegisub/src/frame_main.cpp @@ -80,9 +80,6 @@ #ifdef WITH_AUTOMATION #include "auto4_base.h" #endif -#ifdef __WXMAC__ -#include -#endif @@ -889,8 +886,7 @@ void FrameMain::UpdateTitle() { #ifdef __WXMAC__ // On Mac, set the mark in the close button - WindowRef wnd = (WindowRef)GetHandle(); - SetWindowModified(wnd, subsMod); + OSXSetModified(subsMod); #endif // Get current title