Correctly set the parent cell.

Fixes #309.
Merge branch 'master' of github.com:andrejv/wxmaxima