Make static member function Fl_Window_Driver* Fl_Window_Driver::driver(const Fl_Window *) inline.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12928 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
2576f57384
commit
f90450ad05
@ -181,7 +181,7 @@ public:
|
||||
#endif
|
||||
virtual int scroll(int src_x, int src_y, int src_w, int src_h, int dest_x, int dest_y,
|
||||
void (*draw_area)(void*, int,int,int,int), void* data) { return 0; }
|
||||
static Fl_Window_Driver* driver(const Fl_Window *win) {return win->pWindowDriver;}
|
||||
static inline Fl_Window_Driver* driver(const Fl_Window *win) {return win->pWindowDriver;}
|
||||
};
|
||||
|
||||
#endif // FL_WINDOW_DRIVER_H
|
||||
|
Loading…
Reference in New Issue
Block a user