]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/propgrid/propgrid.cpp
forward SetColPos() to the header window
[wxWidgets.git] / samples / propgrid / propgrid.cpp
index 46baf1c55cba66aff2d168c4777f5d16b79be9a2..8cc2d539dac2d23b0923aa153a191081ecdb63e3 100644 (file)
@@ -1371,6 +1371,7 @@ void FormMain::PopulateWithExamples ()
     pg->SetPropertyAttribute( wxT("SpinCtrl"), wxPG_ATTR_MIN, (long)-10 );  // Use constants instead of string
     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("MotionSpin"), true );
     //pg->SetPropertyAttribute( wxT("SpinCtrl"), wxT("Wrap"), true );
 
     pg->SetPropertyHelpString( wxT("SpinCtrl"),