mirror of https://github.com/odrling/Aegisub
Merge r4738: Use OSXSetModified() from wx instead of using Carbon directly.
Originally committed to SVN as r4853.
This commit is contained in:
parent
51c044a30a
commit
352741fa78
|
@ -80,9 +80,6 @@
|
|||
#ifdef WITH_AUTOMATION
|
||||
#include "auto4_base.h"
|
||||
#endif
|
||||
#ifdef __WXMAC__
|
||||
#include <Carbon/Carbon.h>
|
||||
#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
|
||||
|
|
Loading…
Reference in New Issue