]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/statbrma.cpp
fixed a memory leak and an initialization problem
[wxWidgets.git] / src / mac / carbon / statbrma.cpp
index f40b9b7e8df574e55437f1c57c5200f43ee7078b..5179971e24c69297a01640fec35fad36c4aaf68e 100644 (file)
@@ -10,7 +10,7 @@
 ///////////////////////////////////////////////////////////////////////////////
 
 #ifdef __GNUG__
-#pragma implementation "statbar.h"
+#pragma implementation "statbrma.h"
 #endif
 
 // ----------------------------------------------------------------------------
 #include "wx/dc.h"
 #include "wx/dcclient.h"
 
-#if     !USE_SHARED_LIBRARY
-IMPLEMENT_DYNAMIC_CLASS(wxStatusBarMac, wxStatusBarGeneric);
-
 BEGIN_EVENT_TABLE(wxStatusBarMac, wxStatusBarGeneric)
        EVT_PAINT(wxStatusBarMac::OnPaint)
 END_EVENT_TABLE()
-#endif  //USE_SHARED_LIBRARY
-
 
 // ============================================================================
 // implementation