fix Mac GC problem related to clipboard clients (merge to 4.2)

svn: r14922
This commit is contained in:
Matthew Flatt 2009-05-22 17:13:02 +00:00
parent 0b9730158e
commit 24af2c638f

View File

@ -396,7 +396,11 @@ Bool wxList::OnDeleteObject(wxObject *object) // mac platform only
*/
wxStringList::wxStringList (void):
wxList ()
#ifdef wx_mac
wxList(kNoDestroyData, FALSE)
#else
wxList ()
#endif
{
__type = wxTYPE_STRING_LIST;
}