X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3d1a4878f36ba4b5f66c2ccfd2cb27a9dc528b6f..c12a74b0d825dcb685e48fdc15e9c5d53eb5932b:/src/mac/carbon/listbox.cpp diff --git a/src/mac/carbon/listbox.cpp b/src/mac/carbon/listbox.cpp index 7c8ca90473..b4b4edc23d 100644 --- a/src/mac/carbon/listbox.cpp +++ b/src/mac/carbon/listbox.cpp @@ -265,7 +265,7 @@ bool wxListBox::Create(wxWindow *parent, wxWindowID id, wxListBox::~wxListBox() { - m_peer->SetReference( NULL ) ; + m_peer->SetReference( 0 ) ; FreeData() ; // avoid access during destruction if ( m_macList )