From: Julian Smart Date: Mon, 19 Aug 2002 16:09:40 +0000 (+0000) Subject: Added EVT_JOY_BUTTON_... macros as per the manual, X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1241ab8ba059a0b85af4d43ab377e20737e8449d?ds=sidebyside Added EVT_JOY_BUTTON_... macros as per the manual, retained the old names for compatibility. Changed 2.3.2 to 2.3.3 in a couple of files. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/distrib/msw/zipdistinno.bat b/distrib/msw/zipdistinno.bat index 6725204364..8399e1334f 100755 --- a/distrib/msw/zipdistinno.bat +++ b/distrib/msw/zipdistinno.bat @@ -75,6 +75,8 @@ zip32 -u -@ %dest%\wxOS2-%version%.zip < %src%\distrib\msw\makefile.rsp Rem Rearchive under wxWindows-%version% call %WXWIN%\distrib\msw\rearchive wxOS2-%version%.zip wxWindows-%version% %dest% +zip32 -d %dest%\wxOS2-%version%.zip %dest%/src/gtk/descrip.mms %dest%/src/motif/descrip.mms + echo Zipping wxMac distribution zip32 -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\generic.rsp zip32 -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\mac.rsp @@ -91,6 +93,8 @@ zip32 -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\contrib.rsp zip32 -u -@ %dest%\wxMac-%version%.zip < %src%\distrib\msw\makefile.rsp call %WXWIN%\distrib\msw\rearchive wxMac-%version%.zip wxWindows-%version% %dest% +zip32 -d %dest%\wxMac-%version%.zip %dest%/src/gtk/descrip.mms %dest%/src/motif/descrip.mms + Rem Create wxWindows-%version%-win.zip which is used to create wxMSW echo Zipping individual components zip32 -@ %dest\wxWindows-%version%-win.zip < %src\distrib\msw\generic.rsp @@ -111,6 +115,8 @@ zip32 -@ -u %dest\wxWindows-%version%-win.zip < %src\distrib\msw\univ.rsp call %WXWIN%\distrib\msw\rearchive wxWindows-%version%-win.zip wxWindows-%version% %dest% +zip32 -d %dest%\wxWindows-%version%-win.zip %dest%/src/gtk/descrip.mms %dest%/src/motif/descrip.mms + zip32 -@ %dest\wxWindows-%version%-DocSource.zip < %src\distrib\msw\docsrc.rsp call %WXWIN%\distrib\msw\rearchive wxWindows-%version%-DocSource.zip wxWindows-%version% %dest% diff --git a/docs/motif/readme.txt b/docs/motif/readme.txt index 573196b4bd..d8f0554207 100644 --- a/docs/motif/readme.txt +++ b/docs/motif/readme.txt @@ -1,7 +1,7 @@ - Welcome to wxWindows/Motif 2.3.2 + Welcome to wxWindows/Motif 2.3.3 -You have downloaded version 2.3.2 of the Motif port of +You have downloaded version 2.3.3 of the Motif port of the wxWindows GUI library. More information about the wxWindows project as a whole diff --git a/docs/x11/readme.txt b/docs/x11/readme.txt index 9e2d595a26..8f728dc987 100644 --- a/docs/x11/readme.txt +++ b/docs/x11/readme.txt @@ -1,7 +1,7 @@ - Welcome to wxWindows/X11 2.3.2 + Welcome to wxWindows/X11 2.3.3 -You have downloaded version 2.3.2 of the X11 port of +You have downloaded version 2.3.3 of the X11 port of the wxWindows GUI library. This runs on X11 with no Motif, Xt, GTK+ or any other standard widget set -- instead it uses the wxUniversal widgets. The intention diff --git a/include/wx/event.h b/include/wx/event.h index c0de5f5774..9c8e022950 100644 --- a/include/wx/event.h +++ b/include/wx/event.h @@ -2373,15 +2373,22 @@ typedef void (wxEvtHandler::*wxMouseCaptureChangedEventFunction)(wxMouseCaptureC #define EVT_COMMAND_ENTER(id, fn) DECLARE_EVENT_TABLE_ENTRY( wxEVT_COMMAND_ENTER, id, wxID_ANY, (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction) & fn, (wxObject *) NULL ), // Joystick events -#define EVT_JOY_DOWN(func) \ + +#define EVT_JOY_BUTTON_DOWN(func) \ DECLARE_EVENT_TABLE_ENTRY( wxEVT_JOY_BUTTON_DOWN, wxID_ANY, wxID_ANY, (wxObjectEventFunction) (wxEventFunction) (wxJoystickEventFunction) & func, (wxObject *) NULL ), -#define EVT_JOY_UP(func) \ +#define EVT_JOY_BUTTON_UP(func) \ DECLARE_EVENT_TABLE_ENTRY( wxEVT_JOY_BUTTON_UP, wxID_ANY, wxID_ANY, (wxObjectEventFunction) (wxEventFunction) (wxJoystickEventFunction) & func, (wxObject *) NULL ), #define EVT_JOY_MOVE(func) \ DECLARE_EVENT_TABLE_ENTRY( wxEVT_JOY_MOVE, wxID_ANY, wxID_ANY, (wxObjectEventFunction) (wxEventFunction) (wxJoystickEventFunction) & func, (wxObject *) NULL ), #define EVT_JOY_ZMOVE(func) \ DECLARE_EVENT_TABLE_ENTRY( wxEVT_JOY_ZMOVE, wxID_ANY, wxID_ANY, (wxObjectEventFunction) (wxEventFunction) (wxJoystickEventFunction) & func, (wxObject *) NULL ), +// These are obsolete, see _BUTTON_ events +#define EVT_JOY_DOWN(func) \ + DECLARE_EVENT_TABLE_ENTRY( wxEVT_JOY_BUTTON_DOWN, wxID_ANY, wxID_ANY, (wxObjectEventFunction) (wxEventFunction) (wxJoystickEventFunction) & func, (wxObject *) NULL ), +#define EVT_JOY_UP(func) \ + DECLARE_EVENT_TABLE_ENTRY( wxEVT_JOY_BUTTON_UP, wxID_ANY, wxID_ANY, (wxObjectEventFunction) (wxEventFunction) (wxJoystickEventFunction) & func, (wxObject *) NULL ), + // All joystick events #define EVT_JOYSTICK_EVENTS(func) \ DECLARE_EVENT_TABLE_ENTRY( wxEVT_JOY_BUTTON_DOWN, wxID_ANY, wxID_ANY, (wxObjectEventFunction) (wxEventFunction) (wxJoystickEventFunction) & func, (wxObject *) NULL ),\