Revert "Fix pen styles." (breaks wxwidgets 2.8).

This reverts commit e14cb3220cea631e7742f5b733add7c083bb6a21.
Fix compilation under 2.8.