]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/statbrma.cpp
don't use wxTheXXXList in wxXXX ctor/dtor, only objects explicitly created
[wxWidgets.git] / src / mac / carbon / statbrma.cpp
index d3c0e102dd65d078f74d1599f90944df4bb70547..5179971e24c69297a01640fec35fad36c4aaf68e 100644 (file)
 ///////////////////////////////////////////////////////////////////////////////
 
 #ifdef __GNUG__
-#pragma implementation "statusbr.h"
+#pragma implementation "statbrma.h"
 #endif
 
 // ----------------------------------------------------------------------------
 // headers
 // ----------------------------------------------------------------------------
 
-#include "wx/mac/statusbr.h"
-
-#if     !USE_SHARED_LIBRARY
-IMPLEMENT_DYNAMIC_CLASS(wxStatusBarMac, wxStatusBarGeneric);
+#include "wx/statusbr.h"
+#include "wx/dc.h"
+#include "wx/dcclient.h"
 
 BEGIN_EVENT_TABLE(wxStatusBarMac, wxStatusBarGeneric)
        EVT_PAINT(wxStatusBarMac::OnPaint)
 END_EVENT_TABLE()
-#endif  //USE_SHARED_LIBRARY
-
 
 // ============================================================================
 // implementation
 // ============================================================================
 
 // ----------------------------------------------------------------------------
-// wxStatusBarXX class
+// wxStatusBarMac class
 // ----------------------------------------------------------------------------
 
 wxStatusBarMac::wxStatusBarMac()
@@ -105,4 +102,4 @@ void wxStatusBarMac::OnPaint(wxPaintEvent& WXUNUSED(event) )
 #   ifdef __WXMSW__
         dc.SetFont(wxNullFont);
 #   endif // MSW
-}
\ No newline at end of file
+}