diff options
| -rw-r--r-- | FL/Fl_Widget_Surface.H | 2 | ||||
| -rw-r--r-- | src/Fl_Widget_Surface.cxx | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/FL/Fl_Widget_Surface.H b/FL/Fl_Widget_Surface.H index 17355e784..e52d25a7a 100644 --- a/FL/Fl_Widget_Surface.H +++ b/FL/Fl_Widget_Surface.H @@ -44,7 +44,7 @@ public: /** Undoes the effect of a previous translate() call. */ - virtual void untranslate(void) {} + virtual void untranslate(); void draw(Fl_Widget* widget, int delta_x = 0, int delta_y = 0); virtual void draw_decorated_window(Fl_Window *win, int x_offset = 0, int y_offset = 0); void print_window_part(Fl_Window *win, int x, int y, int w, int h, int delta_x = 0, int delta_y = 0); diff --git a/src/Fl_Widget_Surface.cxx b/src/Fl_Widget_Surface.cxx index 90c6820ab..2845b3176 100644 --- a/src/Fl_Widget_Surface.cxx +++ b/src/Fl_Widget_Surface.cxx @@ -112,6 +112,10 @@ void Fl_Widget_Surface::translate(int x, int y) { } +void Fl_Widget_Surface::untranslate() +{ +} + /** \brief Computes the page coordinates of the current origin of graphics functions. |
