mirror of
https://github.com/fltk/fltk.git
synced 2026-06-04 23:42:15 +08:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user