Implement ability to rapidly change spin value of SpinCtrl property editor by moving mouse while one of the spin buttons is depressed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1369,7 +1369,7 @@ void FormMain::PopulateWithExamples ()
|
||||
|
||||
pg->SetPropertyEditor( wxT("SpinCtrl"), wxPGEditor_SpinCtrl );
|
||||
pg->SetPropertyAttribute( wxT("SpinCtrl"), wxPG_ATTR_MIN, (long)-10 ); // Use constants instead of string
|
||||
pg->SetPropertyAttribute( wxT("SpinCtrl"), wxPG_ATTR_MAX, (long)10 ); // for reduced binary size.
|
||||
pg->SetPropertyAttribute( wxT("SpinCtrl"), wxPG_ATTR_MAX, (long)16384 ); // for reduced binary size.
|
||||
pg->SetPropertyAttribute( wxT("SpinCtrl"), wxT("Step"), (long)2 );
|
||||
//pg->SetPropertyAttribute( wxT("SpinCtrl"), wxT("Wrap"), true );
|
||||
|
||||
|
Reference in New Issue
Block a user