Use OSXSetModified() from wx instead of using Carbon directly.

Originally committed to SVN as r4738.
This commit is contained in:
Amar Takhar 2010-08-13 00:33:54 +00:00
parent 61656d633b
commit 6bb5dd0bfd
1 changed files with 1 additions and 5 deletions

View File

@ -44,9 +44,6 @@
#include <wx/tokenzr.h>
#endif
#ifdef __WXMAC__
#include <Carbon/Carbon.h>
#endif
#include "ass_file.h"
#include "audio_box.h"
@ -902,8 +899,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