FLTK logo

[master] f196ffb - Fix documentation error in Fl_Tabs (#391)

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.commit  ]
 
Previous Message ]Next Message ]

[master] f196ffb - Fix documentation error in Fl_Tabs (#391) "Kevin Routley" Feb 13, 2022  
 
commit f196ffbb528f9ec5030697bc03fb956f79c9563e
Author:     Kevin Routley <lifeattickville@gmail.com>
AuthorDate: Sun Feb 13 06:40:48 2022 -0500
Commit:     GitHub <noreply@github.com>
CommitDate: Sun Feb 13 12:40:48 2022 +0100

    Fix documentation error in Fl_Tabs (#391)

 FL/Fl_Tabs.H | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git FL/Fl_Tabs.H FL/Fl_Tabs.H
index eadeb89..cb4e493 100644
--- FL/Fl_Tabs.H
+++ FL/Fl_Tabs.H
@@ -122,7 +122,7 @@
   void MyTabCallback(Fl_Widget *w, void*) {
     Fl_Tabs *tabs = (Fl_Tabs*)w;
     // When tab changed, make sure it has same color as its group
-    tabs->selection_color( (tab->value())->color() );
+    tabs->selection_color( (tabs->value())->color() );
   }
   ..
   int main(..) {
Direct Link to Message ]
 
     
Previous Message ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.