OptionBits options = 0;
if ( style & wxLB_MULTIPLE )
{
- options += lNoExtend ;
+ options += lExtendDrag + lUseSense ;
}
else if ( style & wxLB_EXTENDED )
{
- options += lExtendDrag ;
+ // default behaviour
}
else
{
// TODO implement scrolling
}
-void wxListBox::OnSize( const wxSizeEvent &event)
+void wxListBox::OnSize( wxSizeEvent &event)
{
Point pt;