summaryrefslogtreecommitdiff
path: root/src/Fl_Paged_Device.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-01-28 11:51:07 +0000
committerManolo Gouy <Manolo>2016-01-28 11:51:07 +0000
commit1c3c544edf1af6884e4002f04aa28cce4a06fbec (patch)
tree26f72eccf3d60dc04d5026df9678eec7652d33d1 /src/Fl_Paged_Device.cxx
parente2cc1a80f09b7b33665be2ae14ef20673f9d6f7b (diff)
Added Fl_Window::capture_titlebar_and_borders a new private member function
that triggers a warning when FL_PORTING is ON and with a default platform-neutral implementation. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11074 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Paged_Device.cxx')
-rw-r--r--src/Fl_Paged_Device.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/Fl_Paged_Device.cxx b/src/Fl_Paged_Device.cxx
index c951b4345..0147976d5 100644
--- a/src/Fl_Paged_Device.cxx
+++ b/src/Fl_Paged_Device.cxx
@@ -301,12 +301,7 @@ const Fl_Paged_Device::page_format Fl_Paged_Device::page_formats[NO_PAGE_FORMATS
void Fl_Paged_Device::draw_decorated_window(Fl_Window *win, int x_offset, int y_offset)
{
Fl_RGB_Image *top, *left, *bottom, *right;
-#if defined(FL_PORTING)
- top=left=bottom=right=NULL;
-# pragma message "FL_PORTING: implement Fl_X::capture_titlebar_and_borders"
-#else
- Fl_X::i(win)->capture_titlebar_and_borders(top, left, bottom, right);
-#endif
+ win->capture_titlebar_and_borders(top, left, bottom, right);
int wsides = left ? left->w() : 0;
int toph = top ? top->h() : 0;
if (top) {