mirror of
https://github.com/fltk/fltk.git
synced 2026-06-06 00:22:42 +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
|
#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7
|
||||||
- (NSPoint)convertBaseToScreen:(NSPoint)aPoint;
|
- (NSPoint)convertBaseToScreen:(NSPoint)aPoint;
|
||||||
#endif
|
#endif
|
||||||
|
#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6
|
||||||
|
- (NSRect)constrainFrameRect:(NSRect)frameRect toScreen:(NSScreen *)screen;
|
||||||
|
#endif
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@implementation FLWindow
|
@implementation FLWindow
|
||||||
@@ -776,7 +779,7 @@ void Fl::remove_timeout(Fl_Timeout_Handler cb, void* data)
|
|||||||
*/
|
*/
|
||||||
- (NSRect)constrainFrameRect:(NSRect)frameRect toScreen:(NSScreen *)screen
|
- (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
|
NSWindow *p = self, *win; // compute win the toplevel window
|
||||||
while (p) {
|
while (p) {
|
||||||
win = p;
|
win = p;
|
||||||
|
|||||||
Reference in New Issue
Block a user