projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
internal browser creates temp file in current dir, safer if /tmp doesn't
[wxWidgets.git]
/
src
/
motif
/
spinbutt.cpp
diff --git
a/src/motif/spinbutt.cpp
b/src/motif/spinbutt.cpp
index 6c7c4d442483d7d54cd2f3b2e20d3857d2dc6f66..73cedd396da727314152b971fb1325e3868c9e3c 100644
(file)
--- a/
src/motif/spinbutt.cpp
+++ b/
src/motif/spinbutt.cpp
@@
-32,8
+32,8
@@
bool wxSpinButton::Create(wxWindow *parent, wxWindowID id, const wxPoint& pos, c
m_windowStyle = style;
-
SetParent(parent
);
-
+
if (parent) parent->AddChild(this
);
+
m_min = 0;
m_max = 100;