]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/gauge.cpp
unicode conversion support for dataobjects
[wxWidgets.git] / src / gtk / gauge.cpp
index 54360ce314f8da049eef15184831e8535c28b38b..b6cd78c4c5a4c1905bc56b3a5e8eef5647d59999 100644 (file)
@@ -112,5 +112,22 @@ void wxGauge::ApplyWidgetStyle()
     gtk_widget_set_style( m_widget, m_widgetStyle );
 }
 
+wxVisualAttributes wxGauge::GetDefaultAttributes() const
+{
+    // Visible gauge colours use a different colour state
+    return GetDefaultAttributesFromGTKWidget(m_widget,
+                                             UseGTKStyleBase(),
+                                             GTK_STATE_ACTIVE);
+
+}
+
+// static
+wxVisualAttributes
+wxGauge::GetClassDefaultAttributes(wxWindowVariant WXUNUSED(variant))
+{
+    return GetDefaultAttributesFromGTKWidget(gtk_progress_bar_new,
+                                             false, GTK_STATE_ACTIVE);
+}
+
 #endif // wxUSE_GAUGE