]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/gauge.mm
Fix crash in wxDC::GetMultiLineTextExtent() after last commit.
[wxWidgets.git] / src / cocoa / gauge.mm
index 7feb27ef6d7ad99dac8e7497c2a0896f7b3fb894..c2a48305f77b8befd78073c80911ce2df245b76f 100644 (file)
@@ -1,20 +1,22 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        cocoa/gauge.mm
+// Name:        src/cocoa/gauge.mm
 // Purpose:     wxGauge
 // Author:      David Elliott
 // Modified by:
 // Created:     2003/07/15
 // RCS-ID:      $Id$
 // Copyright:   (c) 2003 David Elliott
-// Licence:    wxWidgets licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #include "wx/wxprec.h"
+
 #if wxUSE_GAUGE
 
+#include "wx/gauge.h"
+
 #ifndef WX_PRECOMP
     #include "wx/app.h"
-    #include "wx/gauge.h"
     #include "wx/log.h"
 #endif //WX_PRECOMP
 
@@ -25,7 +27,6 @@
 
 #include <math.h>
 
-IMPLEMENT_DYNAMIC_CLASS(wxGauge, wxControl)
 BEGIN_EVENT_TABLE(wxGauge, wxGaugeBase)
 END_EVENT_TABLE()
 // WX_IMPLEMENT_COCOA_OWNER(wxGauge,NSProgressIndicator,NSView,NSView)