diff options
| author | Manolo Gouy <Manolo> | 2014-12-11 13:28:23 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2014-12-11 13:28:23 +0000 |
| commit | 2d0670104bc677be9875840a8d1a32753d1c1c41 (patch) | |
| tree | f401fb71a674a85ad25050db236f1a99e06bc2bb /src | |
| parent | 84af5805dff5c49f5262f63213306ba1ae07792e (diff) | |
Removed one use of dynamic_cast.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10480 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_cocoa.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index 580310f1b..690283a73 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -4123,7 +4123,7 @@ void Fl_Paged_Device::print_window(Fl_Window *win, int x_offset, int y_offset) } fl_gc = NULL; Fl::check(); - BOOL to_quartz = dynamic_cast<Fl_Quartz_Graphics_Driver*>(this->driver()) != NULL; + BOOL to_quartz = (this->driver()->class_name() == Fl_Quartz_Graphics_Driver::class_id); // capture the window title bar with no title CGImageRef img = NULL; unsigned char *bitmap = NULL; |
