]>
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 const wxChar wxChoiceNameStr
[] = wxT("choice");
35 // ============================================================================
37 // ============================================================================
39 wxChoiceBase::~wxChoiceBase()
41 // this destructor is required for Darwin
44 // ----------------------------------------------------------------------------
46 // ----------------------------------------------------------------------------
48 void wxChoiceBase::Command(wxCommandEvent
& event
)
50 SetSelection(event
.GetInt());
51 (void)ProcessEvent(event
);
54 #endif // wxUSE_CHOICE