Refactor wxPGSpinCtrlEditor.

Declare and use attribute constant instead of explicit string "MotionSpin".


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Artur Wieczorek
2015-01-21 16:59:46 +00:00
parent 4a5ae79a36
commit 3100258aa1
2 changed files with 9 additions and 2 deletions

View File

@@ -681,6 +681,7 @@ wxPG_PROP_CLASS_SPECIFIC_3 = 0x00400000
*/
#define wxPG_DATE_PICKER_STYLE wxS("PickerStyle")
#if wxUSE_SPINBTN
/** SpinCtrl editor, int or double. How much number changes when button is
pressed (or up/down on keyboard).
*/
@@ -690,6 +691,12 @@ wxPG_PROP_CLASS_SPECIFIC_3 = 0x00400000
*/
#define wxPG_ATTR_SPINCTRL_WRAP wxS("Wrap")
/** SpinCtrl editor, bool. If true, moving mouse when one of the spin
buttons is depressed rapidly changing "spin" value.
*/
#define wxPG_ATTR_SPINCTRL_MOTION wxS("MotionSpin")
#endif // wxUSE_SPINBTN
/**
wxMultiChoiceProperty, int.
If 0, no user strings allowed. If 1, user strings appear before list