]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/spinctlg.cpp
ignore WinCE projects and build directories
[wxWidgets.git] / src / generic / spinctlg.cpp
index 88de174cfd1cbce078abe74707d9255c062756b9..9103305144532e383d7b4b0a804c476b1a56886f 100644 (file)
@@ -265,6 +265,17 @@ bool wxSpinCtrl::Show(bool show)
     return true;
 }
 
+bool wxSpinCtrl::Reparent(wxWindow *newParent)
+{
+    if ( m_btn )
+    {
+        m_btn->Reparent(newParent);
+        m_text->Reparent(newParent);
+    }
+
+    return true;
+}
+
 // ----------------------------------------------------------------------------
 // value and range access
 // ----------------------------------------------------------------------------