/[pcsx2_0.9.7]/trunk/3rdparty/wxWidgets/src/common/choiccmn.cpp
ViewVC logotype

Annotation of /trunk/3rdparty/wxWidgets/src/common/choiccmn.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 31 - (hide annotations) (download)
Tue Sep 7 03:24:11 2010 UTC (10 years, 4 months ago) by william
File size: 1635 byte(s)
committing r3113 initial commit again...
1 william 31 /////////////////////////////////////////////////////////////////////////////
2     // Name: src/common/choiccmn.cpp
3     // Purpose: common (to all ports) wxChoice functions
4     // Author: Vadim Zeitlin
5     // Modified by:
6     // Created: 26.07.99
7     // RCS-ID: $Id: choiccmn.cpp 39470 2006-05-30 07:34:30Z ABX $
8     // Copyright: (c) wxWidgets team
9     // Licence: wxWindows licence
10     /////////////////////////////////////////////////////////////////////////////
11    
12     // ============================================================================
13     // declarations
14     // ============================================================================
15    
16     // ----------------------------------------------------------------------------
17     // headers
18     // ----------------------------------------------------------------------------
19    
20     // For compilers that support precompilation, includes "wx.h".
21     #include "wx/wxprec.h"
22    
23     #ifdef __BORLANDC__
24     #pragma hdrstop
25     #endif
26    
27     #if wxUSE_CHOICE
28    
29     #include "wx/choice.h"
30    
31     #ifndef WX_PRECOMP
32     #endif
33    
34     const wxChar wxChoiceNameStr[] = wxT("choice");
35    
36     // ============================================================================
37     // implementation
38     // ============================================================================
39    
40     wxChoiceBase::~wxChoiceBase()
41     {
42     // this destructor is required for Darwin
43     }
44    
45     // ----------------------------------------------------------------------------
46     // misc
47     // ----------------------------------------------------------------------------
48    
49     void wxChoiceBase::Command(wxCommandEvent& event)
50     {
51     SetSelection(event.GetInt());
52     (void)ProcessEvent(event);
53     }
54    
55     #endif // wxUSE_CHOICE

  ViewVC Help
Powered by ViewVC 1.1.22