I had a look at the .tar file attached to the last post. I'd like to update the old 2005 LED class with this one. Can I ask what the procedure is, to install this updated LED widget into wxWidgets? All I've done so far, is to replace the wxLED .cpp and .h files.
Search found 4 matches
Search found 4 matches • Page 1 of 1
Seems broken to me, led.cpp does not match led.h. For example, the declaration and definition of wxLed ctor is different (3 colors in declaration, 2 in definition), a missing declaration for SwitchOn/Off() methods. Seems that the header file lacks those "PJG" modifications, whatever it is. Yes, I a...
Ok, thanks for that. That is a bit more clear now. I still have problems getting LEDs to appear on the panel though. I actually had one GUI, where 2 LEDs appeared inside a panel/FlexGridSizer, but, when I add more LEDs, they don't appear at runtime. I've tried everything.
Hi all, I am trying to get a simple widgets application to work using wx/led.h The way I'm doing it is to drag a panel onto the wxFrame. Inside the panel, drop a FlexGridSizer, and into that, drop a few LEDs. The first problem is, the panel wants to cover the entire wxFrame. I can't make it cover ju...