Ticket #9150 (closed enhancement: fixed)
gtk wxChoice/wxCombobox refactoring
| Reported by: | wojdyr | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | wxGTK | Version: | |
| Keywords: | Cc: | wojdyr, roebling | |
| Blocked By: | Patch: | yes | |
| Blocking: |
Description
wxChoice uses GtkComboBox.
The code from wxComboBox was moved to wxChoice, and wxCombobox was derived from wxChoice (like on MSW). Very little new code was written.
wxComboBox::DoGetBestSize() was commented out.
include/wx/gtk/choice.h | 33 +--
include/wx/gtk/combobox.h | 68 +-----
samples/widgets/choice.cpp | 7
src/gtk/choice.cpp | 484 +++++++++++++--------------------------------
src/gtk/combobox.cpp | 221 --------------------
5 files changed, 182 insertions(+), 631 deletions(-)
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

