mirror of
https://github.com/fltk/fltk.git
synced 2026-06-06 00:22:42 +08:00
Provide inline code for copy operators in Fl_Widget; this works around
a VC++ 7.1 regression without causing problems. (STR #156) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3090 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -1,5 +1,9 @@
|
|||||||
CHANGES IN FLTK 1.1.4
|
CHANGES IN FLTK 1.1.4
|
||||||
|
|
||||||
|
- VC++ 7.1 didn't like how the copy operators were
|
||||||
|
disabled for the Fl_Widget class; now include inline
|
||||||
|
code which will never be used but makes VC++ happy
|
||||||
|
(STR #156)
|
||||||
- Fixed an IRIX compile problem caused by a missing
|
- Fixed an IRIX compile problem caused by a missing
|
||||||
#include (STR #157)
|
#include (STR #157)
|
||||||
- FLUID didn't write color/selection_color() calls using
|
- FLUID didn't write color/selection_color() calls using
|
||||||
|
|||||||
+4
-4
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// "$Id: Fl_Widget.H,v 1.6.2.4.2.20 2003/01/30 21:40:34 easysw Exp $"
|
// "$Id: Fl_Widget.H,v 1.6.2.4.2.21 2003/09/04 19:07:58 easysw Exp $"
|
||||||
//
|
//
|
||||||
// Widget header file for the Fast Light Tool Kit (FLTK).
|
// Widget header file for the Fast Light Tool Kit (FLTK).
|
||||||
//
|
//
|
||||||
@@ -73,8 +73,8 @@ class FL_EXPORT Fl_Widget {
|
|||||||
// "de-implement" the copy constructors, EXCEPT for when we are using the WIN32 DLL
|
// "de-implement" the copy constructors, EXCEPT for when we are using the WIN32 DLL
|
||||||
// interface, in which case we can't hide them because Microsoft requires the copy
|
// interface, in which case we can't hide them because Microsoft requires the copy
|
||||||
// constructors to implement subclassing...
|
// constructors to implement subclassing...
|
||||||
Fl_Widget & operator=(const Fl_Widget &);
|
Fl_Widget & operator=(const Fl_Widget &) { return *this; }
|
||||||
Fl_Widget(const Fl_Widget &);
|
Fl_Widget(const Fl_Widget &) {}
|
||||||
# endif // WIN32 && !FL_DLL
|
# endif // WIN32 && !FL_DLL
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
@@ -217,5 +217,5 @@ public:
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
// End of "$Id: Fl_Widget.H,v 1.6.2.4.2.20 2003/01/30 21:40:34 easysw Exp $".
|
// End of "$Id: Fl_Widget.H,v 1.6.2.4.2.21 2003/09/04 19:07:58 easysw Exp $".
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user