* wx30: Fix a crash, because of wrong usage of wxPaintDC in non-EVT_PAINT handler (thanks stahta01)

git-svn-id: https://svn.code.sf.net/p/codeblocks/code/trunk@9507 2a5c6006-c6dd-42ca-98ab-0921f2732cef