Draw on a wxPanel, there is no need for a wxScrolledWindow. Remove unused constructor arguments. Use wxID_EXIT instead of JOYTEST_QUIT. Show in the statusbar which buttons are pressed. Remove wxClientDC and draw in the paint handler instead. Use different colours for the first 4 buttons. Fix size and drawing coordinates when using high DPI. |
||
|---|---|---|
| .. | ||
| buttonpress.wav | ||
| joytest.bkl | ||
| joytest.cpp | ||
| joytest.h | ||
| makefile.gcc | ||
| Makefile.in | ||
| makefile.unx | ||
| makefile.vc | ||