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

Originally committed to SVN as r4853.
This commit is contained in:
Amar Takhar 2010-11-27 06:42:29 +00:00
parent 51c044a30a
commit 352741fa78
1 changed files with 1 additions and 5 deletions

View File

@ -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