mirror of
https://github.com/fltk/fltk.git
synced 2026-06-04 15:32:12 +08:00
Corrected typo.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10912 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
+4
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user