Add "GTK" prefix to wxChoice::{Dis,En}ableEvents() methods in wxGTK.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 15 Oct 2010 23:46:32 +0000 (23:46 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 15 Oct 2010 23:46:32 +0000 (23:46 +0000)
commitbce926c580f496b63c9ea9a68618df5b6ff93b98
tree4372639bf3e7b53264063c685b1be1704e97ca10
parent489f5a3d2e50b64b134acd3d8ed9fedf6ae3b377
Add "GTK" prefix to wxChoice::{Dis,En}ableEvents() methods in wxGTK.

This is more than a cosmetic change: adding "GTK" prefix in wxComboBox and not
doing it in wxChoice in r64436 broke the event generation for wxComboBox as it
didn't override wxChoice methods any longer but defined its own (useless) ones.

Using the same name for the methods in both classes notably fixes unexpected
event generation from wxComboBox::SetSelection().

Closes #12568.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/gtk/choice.h
src/gtk/choice.cpp
tests/controls/itemcontainertest.cpp
tests/controls/itemcontainertest.h