X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0d57be459406c2830f6abc9d99ae99166c6d133b..f5e5bd660712f91193b9363c24283c7c74ca8bba:/src/motif/spinbutt.cpp diff --git a/src/motif/spinbutt.cpp b/src/motif/spinbutt.cpp index 0afe79ada0..73cedd396d 100644 --- 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; @@ -68,7 +68,7 @@ void wxSpinButton::SetRange(int minVal, int maxVal) // TODO } -void wxSpinButton::ChangeFont() +void wxSpinButton::ChangeFont(bool keepOriginalSize) { // TODO }