]>
git.saurik.com Git - wxWidgets.git/blob - src/common/choiccmn.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: common/choiccmn.cpp
3 // Purpose: common (to all ports) wxChoice functions
4 // Author: Vadim Zeitlin
8 // Copyright: (c) wxWidgets team
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 // ============================================================================
14 // ============================================================================
16 // ----------------------------------------------------------------------------
18 // ----------------------------------------------------------------------------
20 // For compilers that support precompilation, includes "wx.h".
21 #include "wx/wxprec.h"
30 #include "wx/choice.h"
33 // ============================================================================
35 // ============================================================================
37 wxChoiceBase::~wxChoiceBase()
39 // this destructor is required for Darwin
42 // ----------------------------------------------------------------------------
44 // ----------------------------------------------------------------------------
46 void wxChoiceBase::Command(wxCommandEvent
& event
)
48 SetSelection(event
.GetInt());
49 (void)ProcessEvent(event
);
52 #endif // wxUSE_CHOICE