summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2019-04-12 10:32:46 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2019-04-12 10:32:46 +0200
commitd50d0a30697346d45c01751eea320759816a4424 (patch)
treed6822bc4095b782e8632d5aa2889bcc3ae1101c3
parentd36e1a79c312f0a1da8223cb5adb9c4b3b9c7cd6 (diff)
Remove function body from Fl_Widget_Surface class declaration.
-rw-r--r--FL/Fl_Widget_Surface.H2
-rw-r--r--src/Fl_Widget_Surface.cxx4
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.