I want to use wxLED component in my wxWidget projects developed using code::blocks 12.11.
When I added the wxLED component to the window, the compiler flagged an error that "led.h" header file was missing. So, I downloaded the header file and c++ source file from sourceforge and copied the led.h file to "include/wx/led.h" in this wxsmith directory.
Now, when I try to build the program it gives me a whole lot of errors that the constructors and functions used for the led component are missing. So, I tried copying "led.cpp" (which was also downloaded from sourceforge along with "led.h") to the "src" folder in the wxWidgets directory.
Where should I place this "led.cpp" file and what steps should I take to fix this problem?
