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:
Włodzimierz Skiba
2005-10-29 12:48:07 +00:00
parent 2cb94e7ad6
commit 7b504551c2
4 changed files with 38 additions and 10 deletions

View File

@@ -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__