Pressing build-in joystick on WinCE phones fires wxEVT_JOY_BUTTON_DOWN event.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -138,12 +138,19 @@ public:
|
||||
|
||||
// implementation from now on
|
||||
void OnOK(wxCommandEvent& event);
|
||||
#ifndef __SMARTPHONE__
|
||||
void OnListBoxDClick(wxCommandEvent& event);
|
||||
#endif
|
||||
#ifdef __WXWINCE__
|
||||
void OnJoystickButtonDown(wxJoystickEvent& event);
|
||||
#endif
|
||||
|
||||
protected:
|
||||
int m_selection;
|
||||
wxString m_stringSelection;
|
||||
|
||||
void DoChoice();
|
||||
|
||||
private:
|
||||
DECLARE_DYNAMIC_CLASS_NO_COPY(wxSingleChoiceDialog)
|
||||
DECLARE_EVENT_TABLE()
|
||||
@@ -301,4 +308,3 @@ WXDLLEXPORT size_t wxGetMultipleChoices(wxArrayInt& selections,
|
||||
int height = wxCHOICE_HEIGHT);
|
||||
|
||||
#endif // __CHOICEDLGH_G__
|
||||
|
||||
|
Reference in New Issue
Block a user