]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/spinbutt.cpp
call to pthread_attr_setscope() added (disabled for now) and several other small...
[wxWidgets.git] / src / motif / spinbutt.cpp
index 5111233fe9ea6d7a914384cd277109f4796696d0..73cedd396da727314152b971fb1325e3868c9e3c 100644 (file)
@@ -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)