wxASSERT added for debug purposes
Merge pull request #93 from vomikan/master

 wxASSERT added for debug purposes