]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/gauge.cpp
implemented MSWGetBgBrush/ColourForChild() to propagate themed notebook background...
[wxWidgets.git] / src / mac / carbon / gauge.cpp
index da6aa40dc0bca4be23000d348f6f7c576938df99..6e9ed032f27f81b6f2784441c3447a22aa29341c 100644 (file)
@@ -15,6 +15,8 @@
 
 #include "wx/gauge.h"
 
+#if wxUSE_GAUGE 
+
 #if !USE_SHARED_LIBRARY
 IMPLEMENT_DYNAMIC_CLASS(wxGauge, wxControl)
 #endif
@@ -36,7 +38,7 @@ bool wxGauge::Create(wxWindow *parent, wxWindowID id,
 
     wxSize size = s ;
     /*
-    if ( size.x == wxDefaultSize.x && size.y == wxDefaultSize.y)
+    if ( size.x == wxDefaultCoord && size.y == wxDefaultCoord)
     {
         size = wxSize( 200 , 16 ) ;
     }
@@ -79,3 +81,5 @@ int wxGauge::GetValue() const
     return m_gaugePos ;
 }
 
+#endif // wxUSE_GAUGE 
+