diff options
| author | Manolo Gouy <Manolo> | 2011-01-20 13:22:30 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2011-01-20 13:22:30 +0000 |
| commit | a306fe46d39e5c54f90f288846da7b9a0e762cb5 (patch) | |
| tree | 5173a649518e6048e3dbe40f5d3d512f02670a83 /src | |
| parent | 30c1eed80b89dcf9ec17d2adbad2b867df57adf8 (diff) | |
Redefined fl_xid() as an inline function when used inside the FLTK library.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8295 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_win32.cxx | 2 | ||||
| -rw-r--r-- | src/Fl_x.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx index 0c276636d..717a07e1e 100644 --- a/src/Fl_win32.cxx +++ b/src/Fl_win32.cxx @@ -1933,7 +1933,7 @@ Fl_Region XRectangleRegion(int x, int y, int w, int h) { return CreatePolygonRgn(pt, 4, ALTERNATE); } -Window fl_xid(const Fl_Window *w) { +Window fl_xid_(const Fl_Window *w) { Fl_X *temp = Fl_X::i(w); return temp ? temp->xid : 0; } diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx index 47c93619b..81e1bcf0c 100644 --- a/src/Fl_x.cxx +++ b/src/Fl_x.cxx @@ -1880,7 +1880,7 @@ void Fl_Window::make_current() { #endif } -Window fl_xid(const Fl_Window* w) +Window fl_xid_(const Fl_Window* w) { return Fl_X::i(w)->xid; } |
