]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/spinbutt.cpp
clarified the parameters of MB2WC and WC2MB a little in the docs/headers
[wxWidgets.git] / src / gtk1 / spinbutt.cpp
index f0db6cb58b897f76b7d2fe3cd2b9a6607c50b35c..423947a1d359eacb17617e3d9de272bb0f7fd386 100644 (file)
@@ -236,4 +236,13 @@ wxSize wxSpinButton::DoGetBestSize() const
     return wxSize(15, 26);
 }
 
+// static
+wxVisualAttributes
+wxSpinButton::GetClassDefaultAttributes(wxWindowVariant WXUNUSED(variant))
+{
+    // TODO: overload to accept functions like gtk_spin_button_new?
+    // Until then use a similar type
+    return GetDefaultAttributesFromGTKWidget(gtk_button_new);
+}
+
 #endif