]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/listbox.cpp
No *.h in src/common/ anymore.
[wxWidgets.git] / src / mac / carbon / listbox.cpp
index 502651c1a45e2b083e6669718d16c242590e0afb..b4b4edc23d27628b90a1d1d3ae06c98124ad7a92 100644 (file)
@@ -9,10 +9,12 @@
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "listbox.h"
 #endif
 
+#include "wx/wxprec.h"
+
 #include "wx/app.h"
 #include "wx/listbox.h"
 #include "wx/button.h"
@@ -263,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 )