diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_win32.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx index f061020fa..0c276636d 100644 --- a/src/Fl_win32.cxx +++ b/src/Fl_win32.cxx @@ -1933,6 +1933,11 @@ Fl_Region XRectangleRegion(int x, int y, int w, int h) { return CreatePolygonRgn(pt, 4, ALTERNATE); } +Window fl_xid(const Fl_Window *w) { + Fl_X *temp = Fl_X::i(w); + return temp ? temp->xid : 0; +} + #ifdef USE_PRINT_BUTTON // to test the Fl_Printer class creating a "Print front window" button in a separate window // contains also preparePrintFront call above |
