Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
#12705: Multiple list boxes deselection does not work
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
wxTrac  
View profile  
 More options Nov 22 2010, 7:40 pm
From: "wxTrac" <nore...@wxsite.net>
Date: Tue, 23 Nov 2010 00:40:33 -0000
Local: Mon, Nov 22 2010 7:40 pm
Subject: #12705: Multiple list boxes deselection does not work
Ticket URL: <http://trac.wxwidgets.org/ticket/12705>

#12705: Multiple list boxes deselection does not work
--------------------+------------------------------------------------------ -
 Reporter:  mycae   |       Owner:    
     Type:  defect  |      Status:  new
 Priority:  normal  |   Milestone:    
Component:  wxMSW   |     Version:    
 Keywords:          |   Blockedby:    
    Patch:  0       |    Blocking:    
--------------------+------------------------------------------------------ -
 As discussed at the following link, the sample listbox, if set to multiple
 selection  style, cannot be deselected with SetSelection(wxNOT_FOUND), as
 stated in the documentation. This occurs purely  under windows 7 and is
 fine under OSX and under GTK. This can be worked around with
 SetSelection(-1,false), however.

 http://wxforum.shadonet.com/viewtopic.php?t=29463

--
Ticket URL: <http://trac.wxwidgets.org/ticket/12705>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
wxTrac  
View profile  
 More options Nov 23 2010, 8:10 am
From: "wxTrac" <nore...@wxsite.net>
Date: Tue, 23 Nov 2010 13:10:57 -0000
Local: Tues, Nov 23 2010 8:10 am
Subject: Re: #12705: Multiple list boxes deselection does not work
Ticket URL: <http://trac.wxwidgets.org/ticket/12705#comment:1>

#12705: Multiple list boxes deselection does not work
---------------------+----------------------------------------------------- -
  Reporter:  mycae   |       Owner:        
      Type:  defect  |      Status:  closed
  Priority:  normal  |   Milestone:        
 Component:  wxMSW   |     Version:        
Resolution:  fixed   |    Keywords:        
 Blockedby:          |       Patch:  0    
  Blocking:          |  
---------------------+----------------------------------------------------- -
Changes (by VZ):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 (In [66243]) Deselect all items in wxMSW wxListBox when selection is set
 to -1.

 Even though this behaviour is somewhat counterintuitive, the documentation
 mentions that this is what should happen and wxGTK and wxOSX already
 behave
 like this so bring wxMSW in line.

 wxListBox::DeselectAll() should probably just call
 SetSelection(wxNOT_FOUND)
 when the item to leave selected is not specified too now.

 Closes #12705.

--
Ticket URL: <http://trac.wxwidgets.org/ticket/12705#comment:1>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »