Rewrite Fl_Window::border(int) under the driver model.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11409 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy
2016-03-23 16:14:35 +00:00
parent c2eb9d730f
commit 6608db0b0c
6 changed files with 26 additions and 33 deletions
-5
View File
@@ -163,11 +163,6 @@ void border_cb(Fl_Widget *o, void *p) {
Fl_Window *w = (Fl_Window *)p;
int d = ((Fl_Button *)o)->value();
w->border(d);
#if defined(WIN32) || defined(__APPLE__)
int wx = w->x(), wy = w->y();
w->hide(); w->show();
w->position(wx, wy);
#endif
}
Fl_Button *border_button;