summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Paged_Device.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Fl_Paged_Device.cxx b/src/Fl_Paged_Device.cxx
index eae08ef62..ccd63bf78 100644
--- a/src/Fl_Paged_Device.cxx
+++ b/src/Fl_Paged_Device.cxx
@@ -298,9 +298,11 @@ void Fl_Paged_Device::draw_decorated_window(Fl_Window *win, int x_offset, int y_
{
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"
-#endif
+#else
Fl_X::i(win)->capture_titlebar_and_borders(top, left, bottom, right);
+#endif
int wsides = left ? left->w() : 0;
int toph = top ? top->h() : 0;
if (top) {