From 352741fa783cb0ad07ff879b76c3a2bda9193b0f Mon Sep 17 00:00:00 2001 From: Amar Takhar Date: Sat, 27 Nov 2010 06:42:29 +0000 Subject: [PATCH] Merge r4738: Use OSXSetModified() from wx instead of using Carbon directly. Originally committed to SVN as r4853. --- aegisub/src/frame_main.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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