summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-03-03 19:25:10 +0000
committerManolo Gouy <Manolo>2016-03-03 19:25:10 +0000
commit750c372b29f703b10d4689bb22a783101dc934f7 (patch)
tree63b54aba963004ed29c5299af3a0a865d095affa /src
parent8782f2f925c528d7a6cc778163b3d09611b56973 (diff)
Remove Fl_Copy_Surface::newPlatformSurface() that does not do much.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11279 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Copy_Surface.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/Fl_Copy_Surface.cxx b/src/Fl_Copy_Surface.cxx
index 7b7b0fc8b..78ffa85a0 100644
--- a/src/Fl_Copy_Surface.cxx
+++ b/src/Fl_Copy_Surface.cxx
@@ -48,13 +48,9 @@ private:
#endif
-Fl_Copy_Surface::Helper *Fl_Copy_Surface::newPlatformSurface(int w, int h) {
- return new Helper(w, h);
-}
-
/** the constructor */
Fl_Copy_Surface::Fl_Copy_Surface(int w, int h) : Fl_Widget_Surface(NULL) {
- platform_surface = newPlatformSurface(w, h);
+ platform_surface = new Helper(w, h);
driver(platform_surface->driver());
}