A few comment changes.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10531 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy 2015-01-22 17:45:09 +00:00
parent 1b00cc8e21
commit 2d264fa8d5
2 changed files with 2 additions and 3 deletions

View File

@ -170,7 +170,7 @@ public:
void map(void);
void unmap(void);
void collapse(void);
WindowRef window_ref(void);
WindowRef window_ref(void); // useless with cocoa GL windows
void set_key_window(void);
// OS X doesn't have per window icons
static void set_default_icons(const Fl_RGB_Image*[], int) {};

View File

@ -4250,7 +4250,7 @@ CGImageRef Fl_X::CGImage_from_window_rect(Fl_Window *win, int x, int y, int w, i
return img;
}
WindowRef Fl_X::window_ref()
WindowRef Fl_X::window_ref() // useless with cocoa GL windows
{
return (WindowRef)[xid windowRef];
}
@ -4403,7 +4403,6 @@ void Fl_Paged_Device::print_window(Fl_Window *win, int x_offset, int y_offset)
Supports old Mac OS X versions that may use a couple of Carbon calls:
GetKeys used by OS X 10.3 or before (in Fl::get_key())
PMSessionPageSetupDialog and PMSessionPrintDialog used by 10.4 or before (in Fl_Printer::start_job())
GetWindowPort used by 10.4 or before (in Fl_Gl_Choice.cxx)
*/
void *Fl_X::get_carbon_function(const char *function_name) {
static void *carbon = NULL;