Hi,

the branch 1.3.x r 9300 do not compile under windows VS2010.

Here the patch for locating theses issues.
My patch is only here to compile my own version.

Regards,
David
Index: Fl_Widget.H
===================================================================
--- Fl_Widget.H (revision 9300)
+++ Fl_Widget.H (working copy)
@@ -151,6 +151,7 @@
   /** flags possible values enumeration.
       See activate(), output(), visible(), changed(), set_visible_focus()
   */
+  public:
   enum {
         INACTIVE        = 1<<0,   ///< the widget can't receive focus, and is 
disabled but potentially visible
         INVISIBLE       = 1<<1,   ///< the widget is not drawn, but can 
receive a few special events
@@ -176,6 +177,8 @@
         USERFLAG2       = 1<<30,  ///< reserved for 3rd party extensions
         USERFLAG1       = 1<<31   ///< reserved for 3rd party extensions
   };
+
+protected:
   void draw_box() const;
   void draw_box(Fl_Boxtype t, Fl_Color c) const;
   void draw_box(Fl_Boxtype t, int x,int y,int w,int h, Fl_Color c) const;
Index: Fl_Window.H
===================================================================
--- Fl_Window.H (revision 9300)
+++ Fl_Window.H (working copy)
@@ -52,7 +52,19 @@
 #if FLTK_ABI_VERSION < 10302
   static // when these members are static, ABI compatibility with 1.3.0 is 
respected
 #endif
-  int no_fullscreen_x, no_fullscreen_y, no_fullscreen_w, no_fullscreen_h;
+  int no_fullscreen_x;
+#if FLTK_ABI_VERSION < 10302
+  static // when these members are static, ABI compatibility with 1.3.0 is 
respected
+#endif
+  int no_fullscreen_y;
+#if FLTK_ABI_VERSION < 10302
+  static // when these members are static, ABI compatibility with 1.3.0 is 
respected
+#endif
+  int no_fullscreen_w;
+#if FLTK_ABI_VERSION < 10302
+  static // when these members are static, ABI compatibility with 1.3.0 is 
respected
+#endif
+  int no_fullscreen_h;
 
   friend class Fl_X;
   Fl_X *i; // points at the system-specific stuff
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to