Only disable auto-erasing for generic panels
Use wxLogDebug for paint debugging messages

Removed wxLogTrace and guards.
Add some paint debugging messages (in wxGrid)