summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2015-11-16 08:59:33 +0000
committerManolo Gouy <Manolo>2015-11-16 08:59:33 +0000
commit31c9c984346c07b9a20f99615daa3a8210d41f05 (patch)
tree6dae9d3646b4497060b66316ed08a3773de20a5a /src
parent535b477e7c2eee53c102787b45f100dd608561e3 (diff)
Corrected typo.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10912 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/Fl_cocoa.mm5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm
index 5f189317e..0dbfa0fd5 100644
--- a/src/Fl_cocoa.mm
+++ b/src/Fl_cocoa.mm
@@ -652,6 +652,9 @@ void Fl::remove_timeout(Fl_Timeout_Handler cb, void* data)
#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7
- (NSPoint)convertBaseToScreen:(NSPoint)aPoint;
#endif
+#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6
+- (NSRect)constrainFrameRect:(NSRect)frameRect toScreen:(NSScreen *)screen;
+#endif
@end
@implementation FLWindow
@@ -776,7 +779,7 @@ void Fl::remove_timeout(Fl_Timeout_Handler cb, void* data)
*/
- (NSRect)constrainFrameRect:(NSRect)frameRect toScreen:(NSScreen *)screen
{
- if (fl_mac_os_version >= 1011000) {
+ if (fl_mac_os_version >= 101100) {
NSWindow *p = self, *win; // compute win the toplevel window
while (p) {
win = p;