Commit Graph

268 Commits

Author SHA1 Message Date
Václav Slavík
47b378bd88 removed extra semicolons (patch #1700459; fixes compilation with gcc's -pedantic flag)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 09:58:37 +00:00
Vadim Zeitlin
c1dc9f8394 removed WXWIN_COMPATIBILITY_2_4 from common and wxMSW files (patch 1675546)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 11:35:04 +00:00
Vadim Zeitlin
d12dce0f7f made AddPendingEvent() virtual (patch 1652077)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-11 02:42:40 +00:00
Vadim Zeitlin
b483f5fed2 corrected WXDLLIMPEXP_ declaration for wxEventBlocker: it's part of core, not base
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-05 18:19:32 +00:00
Stefan Csomor
aea37008b7 adding scroll axis to wheel events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-04 06:24:28 +00:00
Vadim Zeitlin
c4fa5aa7b0 added wxEventBlocker class (patch 1622444)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-04 00:12:50 +00:00
Robin Dunn
a5bbc20278 Revert reentrancy patch (#1573619)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-05 21:22:10 +00:00
Vadim Zeitlin
bde626ce30 don't define EMPTY_PARAMETER_VALUE macro without wx prefix, this is an invitation for name clash; instead define wxEMPTY_PARAMETER_VALUE and use it in both variant.h and event.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 21:06:57 +00:00
Robert Roebling
5fa150e233 Added part of patch
[ 1573619 ] Fix for Reentrance problems in events
  in slightly modified form.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 10:28:00 +00:00
Vadim Zeitlin
d3c7fc996a mark all dtors which are virtual because base class dtor is virtual explicitly virtual themselves
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-05 20:47:48 +00:00
Václav Slavík
63e819f298 added wxEVT_MOUSE_CAPTURE_LOST event and code for correctly handling capture loss (bug #1153662)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 09:27:54 +00:00
Vadim Zeitlin
355debca06 added wxPowerEvent; moved power functions stubs to common/powercmn.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-27 14:09:40 +00:00
Vadim Zeitlin
b107e8d578 added help event origin field: indicates if the help was requested using the mouse or from keyboard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 02:21:38 +00:00
Vadim Zeitlin
78c9181500 added clipboard events (wxEVT_COMMAND_TEXT_COPY/CUT/PASTE) and implemented them for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-12 15:21:41 +00:00
Vadim Zeitlin
fd587c7a5e made wxCommandEvent::GetInt() return int, not long (patch 1473771)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-21 00:53:59 +00:00
Włodzimierz Skiba
ca3e85cfa8 Better backward compatibility and deprecation markup for interface deprecated in comments.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-30 14:04:17 +00:00
Vadim Zeitlin
a3a4105df6 it is not possible to show/hide the window from the UpdateUI event handler; refactored the code by moving control-specific parts into the derived classes (patch 1338350)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 16:32:50 +00:00
Julian Smart
f96a9d34e6 Applied patch [ 1355809 ] Add ability to use templates with static event tables
Jamie Gadd


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-19 09:42:54 +00:00
Vadim Zeitlin
e710277282 added wxKeyEvent::GetModifiers()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-10 11:59:47 +00:00
Michael Wetherell
9f8b9d9cc1 Export wxFindFocusDescendant
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-23 22:16:33 +00:00
Vadim Zeitlin
77df51f4fb disable VC++ warning 4355 in wx/defs.h once and for all instead of doing it in 4 different places
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-09 22:34:08 +00:00
Vadim Zeitlin
84006e65e8 removed wxABI_VERSION checks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 20:23:30 +00:00
Vadim Zeitlin
fbfb8bcc3f added missing consts and pass objects by const reference instead of by value (patch 1205869)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-24 21:43:15 +00:00
Mart Raudsepp
8907154c1a Nuke #pragma implementation/interface's
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-23 12:56:45 +00:00
Vadim Zeitlin
494c7caa78 define WXWIN_COMPATIBILITY_EVENT_TYPES as 0 if it's not defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-03 23:44:05 +00:00
Michael Wetherell
29cc18e9a3 Put wxEVT_SCROLL_CHANGED and wxEVT_SCROLL_ENDSCROLL inside
#if wxABI_VERSION >= 20601
        ...
    #endif


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-30 01:05:16 +00:00
Michael Wetherell
0751433414 Make wxEVT_SCROLL_ENDSCROLL a #define in event.h so that new applications
won't depend on it, and so will be compatible with 2.6.1 libs. But still
define and export it in event.cpp so that 2.6.0 apps will be able to use
2.6.1.1 libs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-30 00:52:05 +00:00
Vadim Zeitlin
d008a4a6bb readded wxEVT_SCROLL_ENDSCROLL symbol back to the library to fix (inadvertent) backwards binary compatibility breakage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-25 12:19:03 +00:00
Mattia Barbon
688bdfe9d1 Avoid warnings with MSVC 5.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-21 20:16:03 +00:00
Václav Slavík
96d38c7e0d rolled back exceptions handling patch, it relied on incorrect assumption about vtables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-21 09:56:18 +00:00
Václav Slavík
924b84ab94 changed exceptions handling to work under wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-20 08:20:50 +00:00
Włodzimierz Skiba
48f7ffbe93 First part of '[ 1216148 ] cleanup: unused variables and declarations'.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 19:01:45 +00:00
Vadim Zeitlin
97cffad594 use pragma warning push/pop under MSVC instead of enabling temporarily disabled warnings unconditionally (patch 1207689)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 12:10:48 +00:00
Vadim Zeitlin
cbc855087f added wxEVT_SCROLL_CHANGED as synonym for wxEVT_SCROLL_ENDSCROLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 15:22:10 +00:00
Julian Smart
3103e8a97e Typo correction patch [ 1208110 ] Lots of typo corrections
Olly Betts


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 09:20:43 +00:00
Dimitri Schoolwerth
e8739575c5 restored the EVT_SCROLL and EVT_COMMAND_SCROLL definitions to include the ENDSCROLL event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-30 00:17:57 +00:00
Vadim Zeitlin
4bcfcdef85 wxCloseEvent::GetLoggingOff() is for [query] end session events only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-22 11:21:21 +00:00
Włodzimierz Skiba
e0685bb04e Fix for 'using default arguments would be overload ambiguous' warning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-19 17:37:59 +00:00
Vadim Zeitlin
bdbe28fa38 added wxEvtHandler::Disconnect(evtType, ...) overload
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-18 22:40:09 +00:00
Julian Smart
afafd942a1 Added WXK_SPECIAL... keycodes for special hardware buttons
Made (Un)RegisterHotKey WinCE-aware.
Added wxEVT_HIBERNATE event.
Now fakes wxEVT_ACTIVATE_APP to be symmetrical with wxEVT_HIBERNATE.
Added wxTE_CAPITALIZE for CAPEDIT controls.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-18 14:26:57 +00:00
Włodzimierz Skiba
8bc3ec1ff5 Casting fix for events. Needs check by ARM eVC4 users.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-08 20:53:16 +00:00
Vadim Zeitlin
d5d5101391 fix to avoid eVC crashes: restored wxObjectEventFunction declaration so that it defines a wxObject method, not wxEvtHandler one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 19:22:00 +00:00
Vadim Zeitlin
cd30330fc6 added accessor function to hide __VISAGECPP__ ugliness and avoid having #ifdef's for it every other line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-01 01:21:04 +00:00
Vadim Zeitlin
298ca00cdc added wxNavigationEvent::FromTab flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 21:59:21 +00:00
Vadim Zeitlin
96eb51bbf7 fixed typo in EVT_COMMAND definition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-17 16:56:35 +00:00
Włodzimierz Skiba
432968bf3d 'Compatibility' fix for connecting events.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-16 18:02:48 +00:00
Vadim Zeitlin
e554d626b7 (blind) fix for ambiguity between Disconnect() overloads
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-15 12:04:53 +00:00
Julian Smart
5cd2a6aecc Added EVT_COMMAND_CONTEXT_MENU with id arg
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-15 09:28:00 +00:00
Vadim Zeitlin
7fa03f0434 define wxFooHandler() macros for all wxFooEvents to make it possible to use Connect() type-safely; simplified event macros definitions by extracing common part to wx__DECLARE_EVTn()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-14 23:53:48 +00:00
Włodzimierz Skiba
8b5d5223d1 Various cleanings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-11 10:42:05 +00:00