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:
Amar Takhar 2009-08-01 02:00:30 +00:00
parent e42d184ec4
commit db6e3d84c1

View file

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