FLTK logo

[Library] r8995 - branches/branch-3.0/test

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 ]

[Library] r8995 - branches/branch-3.0/test fltk-dev Aug 22, 2011  
 
Author: matt
Date: 2011-08-22 11:54:47 -0700 (Mon, 22 Aug 2011)
New Revision: 8995
Log:
Fix for OS X

Modified:
   branches/branch-3.0/test/keyboard.cxx

Modified: branches/branch-3.0/test/keyboard.cxx
===================================================================
--- branches/branch-3.0/test/keyboard.cxx	2011-08-22 18:52:15 UTC (rev 8994)
+++ branches/branch-3.0/test/keyboard.cxx	2011-08-22 18:54:47 UTC (rev 8995)
@@ -112,7 +112,7 @@
 	int i = b->argument();
 	if (!i) i = b->label()[0];
         fltk3::Button *btn = ((fltk3::Button*)b);
-        int state = fltk3::event_key(i);
+        int state = fltk3::event_key((unsigned)i);
         if (btn->value()!=state)
 	  btn->value(state);
       } else if (b->callback() == (fltk3::Callback*)shift_cb) {

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'.