wxWidgets/include/wx/gtk
Vadim Zeitlin 24ee1bef74 Don't send SELECTED events for an already selected item in wxGTK wxListBox.
Bring wxGTK in line with wxMSW behaviour and avoid sending the
wxEVT_COMMAND_LISTBOX_SELECTED events when the user clicks on an already
selected item.

Refactor wxMSW code to extract the logic to avoid such events into a reusable
in other ports wxListBoxBase::DoChangeSingleSelection() function. Also add
wxListBox::GTKOnSelectionChanged() to wxGTK to avoid having to make the new
function public just so that it could be called by GTK callback and make the
previously existing CalcAndSendEvent() protected as well.

This fixes a unit test failure in ListBoxTestCase::ClickEvents() under wxGTK.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-10-27 23:21:55 +00:00
..
gnome
hildon
private No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
accel.h
animate.h
app.h
assertdlg_gtk.h
bitmap.h
bmpbuttn.h
bmpcbox.h
brush.h
button.h
calctrl.h
checkbox.h
checklst.h
chkconf.h
choice.h Add "GTK" prefix to wxChoice::{Dis,En}ableEvents() methods in wxGTK. 2010-10-15 23:46:32 +00:00
clipbrd.h
clrpicker.h
collpane.h
colordlg.h
colour.h
combobox.h Ignore non-existant string selection in wxComboBox::SetValue() in read-only mode, as per the very exact docs, fixes #12329: wxComboBox can set non-existing string in read only mode 2010-08-16 17:48:28 +00:00
control.h
cursor.h
dataform.h
dataobj2.h
dataobj.h
dataview.h Postpone EnsureVisible() to idle as this sometimes seems to be required, fixes #12480: wxDataViewCtrl::EnsureVisible does not make item visible in some 2010-09-17 19:07:02 +00:00
dc.h
dcclient.h
dcmemory.h
dcscreen.h
dialog.h
dirdlg.h
dnd.h
dvrenderer.h Second try to get wxDataViewChoiceByIndex and its name right, hopefully fixes #11970: wxDataViewChoiceRenderer set/get methods should use the current selection 2010-05-21 20:13:49 +00:00
dvrenderers.h No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
evtloop.h
evtloopsrc.h no real change: just fix RCS-ID so that it reflects the current revision number 2010-04-25 21:33:16 +00:00
filectrl.h Add "filter changed" event to wxFileCtrl. 2010-05-29 10:35:47 +00:00
filedlg.h
filehistory.h Integrate with GNOME's Recent Documents menu. 2010-05-07 06:45:48 +00:00
filepicker.h
font.h Return wxFONTFAMILY_DEFAULT, not UNKNOWN, from wxFont::GetFamily(). 2010-09-29 13:46:09 +00:00
fontdlg.h
fontpicker.h
frame.h
gauge.h
glcanvas.h
hyperlink.h
infobar.h Move wxInfoBar to core library from adv. 2010-05-05 12:20:08 +00:00
listbox.h Don't send SELECTED events for an already selected item in wxGTK wxListBox. 2010-10-27 23:21:55 +00:00
mdi.h
menu.h Don't use invoking window in wxGTK wxMenuBar implementation. 2010-04-24 15:08:00 +00:00
menuitem.h
minifram.h
msgdlg.h Provide a task-dialog based wxMSW wxMessageDialog implementation. 2010-08-18 22:48:28 +00:00
notebook.h Refactor: use wxBookCtrlBase::m_selection in all derived classes. 2010-10-27 16:54:36 +00:00
pen.h
popupwin.h
print.h Correctly initialize wxGtkPrintNativeData members. 2010-10-16 18:11:15 +00:00
private.h
radiobox.h
radiobut.h
region.h
scrolbar.h
scrolwin.h
slider.h No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
spinbutt.h
spinctrl.h
statbmp.h
statbox.h
statline.h
stattext.h
taskbar.h
textctrl.h Applied patch, fixes #12090: wxGTK cursor handling revamp 2010-05-26 17:37:55 +00:00
textentry.h
tglbtn.h Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
toolbar.h
tooltip.h
toplevel.h make Set/GetLabel() set and return title in wxTLW, fixes #12371: Dialog::GetLabel() Inconsistent behaviour across operating systems 2010-08-21 09:53:25 +00:00
treeentry_gtk.h
window.h No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00