X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4bb6408c2631988fab9925014c6619358bf867de..79570d64d36dfdf31e20b4242bf664232f20594b:/src/motif/spinbutt.cpp diff --git a/src/motif/spinbutt.cpp b/src/motif/spinbutt.cpp index 5111233fe9..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,6 +68,21 @@ void wxSpinButton::SetRange(int minVal, int maxVal) // TODO } +void wxSpinButton::ChangeFont(bool keepOriginalSize) +{ + // TODO +} + +void wxSpinButton::ChangeBackgroundColour() +{ + // TODO +} + +void wxSpinButton::ChangeForegroundColour() +{ + // TODO +} + // Spin event IMPLEMENT_DYNAMIC_CLASS(wxSpinEvent, wxScrollEvent)