]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/spinbutt.cpp
Never use unix/mimetype.h on OS/2. I'm not exactly sure, if that's the
[wxWidgets.git] / src / msw / spinbutt.cpp
index 2e4aa9b8cdb3732b97a425afd4016d0107e7f626..9e739763d2ea9f0a2124749ee2fcbf83185f5d5e 100644 (file)
@@ -97,14 +97,12 @@ WX_END_FLAGS( wxSpinButtonStyle )
 IMPLEMENT_DYNAMIC_CLASS_XTI(wxSpinButton, wxControl,"wx/spinbut.h")
 
 WX_BEGIN_PROPERTIES_TABLE(wxSpinButton)
+    WX_DELEGATE_RANGE( OnSpin , wxEVT_SCROLL_TOP , wxEVT_SCROLL_ENDSCROLL , wxSpinEvent )
+
        WX_PROPERTY( Value , int , SetValue, GetValue, 0 , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
        WX_PROPERTY( Min , int , SetMin, GetMin, 0 , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
        WX_PROPERTY( Max , int , SetMax, GetMax, 0 , 0 /*flags*/ , wxT("Helpstring") , wxT("group"))
     WX_PROPERTY_FLAGS( WindowStyle , wxSpinButtonStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
-/*
-       TODO PROPERTIES
-               style wxSP_VERTICAL | wxSP_ARROW_KEYS
-*/
 WX_END_PROPERTIES_TABLE()
 
 WX_BEGIN_HANDLERS_TABLE(wxSpinButton)