Check for HasClientUntypedData() before attempting to release data.

git-svn-id: http://wxmax.googlecode.com/svn/trunk/wx.mod@716 971f8453-5c39-0410-a452-3998bf019487