Author: matt
Date: 2012-05-17 13:45:40 -0700 (Thu, 17 May 2012)
New Revision: 9519
Log:
Reverted to old use of Box for FLTK1 compat header for now.
Modified:
branches/branch-3.0/include/FL/Fl_Box.H
Modified: branches/branch-3.0/include/FL/Fl_Box.H
===================================================================
--- branches/branch-3.0/include/FL/Fl_Box.H 2012-05-17 20:00:46 UTC (rev
9518)
+++ branches/branch-3.0/include/FL/Fl_Box.H 2012-05-17 20:45:40 UTC (rev
9519)
@@ -33,8 +33,8 @@
#include "Fl_Widget.H"
-FLTK3_WRAPPER_INTERFACE_BEGIN(Fl_Box, Widget)
-FLTK3_WRAPPER_INTERFACE_WIDGET(Fl_Box, Widget)
+FLTK3_WRAPPER_INTERFACE_BEGIN(Fl_Box, Box)
+FLTK3_WRAPPER_INTERFACE_WIDGET(Fl_Box, Box)
FLTK3_WRAPPER_INTERFACE_END()
@@ -45,12 +45,12 @@
FLTK3_WIDGET_VCALLS(Fl_Box, Widget)
Fl_Box(int x, int y, int w, int h, const char *label=0) {
- _p = new fltk3::Widget_I(_ctor_dx(x), _ctor_dy(y), w, h, label);
+ _p = new fltk3::Box_I(_ctor_dx(x), _ctor_dy(y), w, h, label);
_p->wrapper(this);
}
Fl_Box(Fl_Boxtype b, int x, int y, int w, int h, const char *label) {
- _p = new fltk3::Widget_I(_ctor_dx(x), _ctor_dy(y), w, h, label);
+ _p = new fltk3::Box_I(_ctor_dx(x), _ctor_dy(y), w, h, label);
_p->wrapper(this);
box(b);
}
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit