diff options
| author | Manolo Gouy <Manolo> | 2011-01-05 10:21:45 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2011-01-05 10:21:45 +0000 |
| commit | 4beb3b88e88c3ea070d0437d28b732a6f9d41174 (patch) | |
| tree | bb2aec298637035c42e9bde2d0a428aab19f7f2f /FL/x.H | |
| parent | 6320a7c6800ec052720f2117a73698b4360f7977 (diff) | |
Renamed Fl_Device::type() to Fl_Device::class_name() to avoid conflict or confusion
with Fl_Widget::type(). Added a setter function Fl_Device::class_name(const char *).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8190 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/x.H')
| -rw-r--r-- | FL/x.H | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -112,7 +112,7 @@ extern FL_EXPORT ulong fl_event_time; typedef ulong Fl_Offscreen; # define fl_create_offscreen(w,h) \ XCreatePixmap(fl_display, \ - (fl_surface->type() == Fl_Display_Device::device_type ? \ + (fl_surface->class_name() == Fl_Display_Device::class_id ? \ fl_window : fl_xid(Fl::first_window()) ) , \ w, h, fl_visual->depth) // begin/end are macros that save the old state in local variables: |
