I made a github pull request to fix this bug : https://github.com/apache/wicket/pull/21. Don't hesitate to tell me if a patch is preferred.
Please attach the patch to this tikcet.
Here is the patch corresponding to this bug.
I will close the unnecessary Github pull request.
Thanks Cedric! I've applied the patch with minor changes.
last tab is now correctly marked via css