projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Disable wxUSE_ENH_METAFILE for wxGTK builds.
[wxWidgets.git]
/
src
/
gtk
/
spinbutt.cpp
diff --git
a/src/gtk/spinbutt.cpp
b/src/gtk/spinbutt.cpp
index 5cb5b6bb897a175a0f4967a3df2f3faa44f4ffef..2a190e9e1c97c9afb49191fe72df407c60f25878 100644
(file)
--- a/
src/gtk/spinbutt.cpp
+++ b/
src/gtk/spinbutt.cpp
@@
-217,9
+217,7
@@
wxSize wxSpinButton::DoGetBestSize() const
wxVisualAttributes
wxSpinButton::GetClassDefaultAttributes(wxWindowVariant WXUNUSED(variant))
{
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);
+ return GetDefaultAttributesFromGTKWidget(gtk_spin_button_new_with_range(0, 100, 1));
}
#endif
}
#endif