Whilst learning wxWidgets last year, I wrote a simple GUI time control. I forgot about that project until I found the code today as I organised files on my computer. It was rather difficult for me to understand because there was little documentation to explain how it works.