]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xml/xh_spin.cpp
Added alpha blending in prep for FreeType text to canvas.
[wxWidgets.git] / contrib / src / xml / xh_spin.cpp
index 320813c999d0ca7382fe8933f364f9b1b4cbfb7a..0a557f2eebd100f85fc747d91aec55a4fa0c6c17 100644 (file)
@@ -31,6 +31,7 @@ wxSpinButtonXmlHandler::wxSpinButtonXmlHandler()
     ADD_STYLE( wxSP_VERTICAL );
     ADD_STYLE( wxSP_ARROW_KEYS );
     ADD_STYLE( wxSP_WRAP );
+    AddWindowStyles();
 }
 
 wxObject *wxSpinButtonXmlHandler::DoCreateResource()
@@ -74,7 +75,7 @@ wxObject *wxSpinCtrlXmlHandler::DoCreateResource()
 { 
     wxSpinCtrl *control = new wxSpinCtrl(m_ParentAsWindow,
                                     GetID(),
-                                    GetText(_T("label")),
+                                    GetText(_T("value")),
                                     GetPosition(), GetSize(),
                                     GetStyle( _T("style"), wxSP_ARROW_KEYS ),
                                     GetLong( _T("min"), wxSP_DEFAULT_MIN),