forked from mia/Aegisub
Fix setting the window as modified, I don't know if this will work in 10.4.. (fix from jfs)
Originally committed to SVN as r3344.
This commit is contained in:
parent
e42d184ec4
commit
db6e3d84c1
1 changed files with 3 additions and 3 deletions
|
@ -84,7 +84,7 @@
|
|||
#include "charset_conv.h"
|
||||
#include "libresrc/libresrc.h"
|
||||
#ifdef __WXMAC__
|
||||
#include <Carbon/MacWindows.h>
|
||||
#include <Carbon/Carbon.h>
|
||||
#endif
|
||||
|
||||
|
||||
|
@ -938,7 +938,7 @@ void FrameMain::UpdateTitle() {
|
|||
|
||||
#ifdef __WXMAC__
|
||||
// On Mac, set the mark in the close button
|
||||
WindowRef wnd = (WindowRef)MacGetWindowRef();
|
||||
WindowRef wnd = (WindowRef)GetHandle();
|
||||
SetWindowModified(wnd, subsMod);
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue