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
Robin Dunn
d7f03cae7f
Added setter to wxMoveEvent
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 20:25:38 +00:00
Vadim Zeitlin
21eefb768a
(harmless) VC++ warning fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-19 02:28:34 +00:00
Kevin Hock
92301a5915
Added DLL export for wxCommandEventStringHelper
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 16:07:44 +00:00
Kevin Hock
b4b76d6115
Move member m_ variables to be protected rather than public to force usage of Set/Get rather than allow direct access. Compatibility with 2.4 keeps members private, and also creates a class to allow continued usage of m_commandString. GetString() will now get the text control's string when called, rather than store it and return it every time (huge performance gain by doing this, esp. on GTK2)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 15:12:53 +00:00
Robert Roebling
265accbe55
A little documentation about custom events as
...
per the discussion on the mailing list.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-05 16:30:54 +00:00
Václav Slavík
cedea72ffa
wxKeyEvent::m_uniChar must be copied by operator= too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-28 08:18:52 +00:00
Vadim Zeitlin
4e689ecdb5
update g_isPainting in wxPaintEvent copy ctor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-20 22:10:35 +00:00
Włodzimierz Skiba
1a18887b88
Source cleaning: tabs, whitespaces, -1/wxID_ANY, TRUE/true, FALSE/false.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-13 18:03:44 +00:00
Włodzimierz Skiba
a0d9c6cb91
Spelling fixes [ #1017001 ], source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-04 01:26:40 +00:00
Václav Slavík
341050e227
oops, reverted clntdata.h change, it _is_ needed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-12 21:49:30 +00:00
Václav Slavík
27dadec122
clntdata.h is needed only if wxUSE_GUI
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-12 21:41:12 +00:00
Vadim Zeitlin
f2de9fee23
added wxNavigationKeyEvent::IsBackward to be able to call wxWindow::Navigate(IsBackward) and not only Navigate(IsForward)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-09 10:42:14 +00:00
Vadim Zeitlin
87b6002d7c
typo/spelling fixes (patch 983448)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-04 11:19:47 +00:00
Vadim Zeitlin
a2bd152089
added and documented wxKey/MouseEvent::CmdDown()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-01 00:04:48 +00:00
Vadim Zeitlin
a3db525414
added and documented wxKeyEvent::GetUnicodeKey(); made it work for MSW; added test for it to the text sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-26 13:34:15 +00:00
Włodzimierz Skiba
119727ad9e
Shortcuts for avoiding #ifdef __SMARTPHONE__ conditions.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 10:44:16 +00:00
Julian Smart
54a69edf6c
Enum becomes public
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 22:24:49 +00:00
Julian Smart
655719367a
Use old licence name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 20:53:33 +00:00
Julian Smart
77ffb5937e
Name and version changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 14:56:36 +00:00
Vadim Zeitlin
f29fe16932
added and documented wx_const/static_cast<>
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-16 10:30:07 +00:00
Vadim Zeitlin
4d4f4290ea
wxEVT_MOVING = 442, not 4442, in event compatibility mode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-16 09:48:06 +00:00
Vadim Zeitlin
88eadcf218
changed return type of wxCommandEvent::GetClientObject() to wxClientData * from void * and documented it (patch 918655)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 23:10:08 +00:00
Vadim Zeitlin
3a5bcc4db0
removed Win16 code (patch 905241), last version with remains of Win16 support tagged with BEFORE_WIN16_REMOVAL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-28 13:10:14 +00:00
Robin Dunn
7309deeafc
Added missing wxNcPaintEventFunction and used it in EVT_NC_PAINT
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-11 00:18:21 +00:00
Vadim Zeitlin
0891fcb11f
reverted wxStaticCast change which obviously can't work as there is already a wxStaticCast in wx/object.h...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 22:17:30 +00:00
Vadim Zeitlin
3a818b15a1
use static_cast<> in event table macros for type safety (patch 843206)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-10 22:15:19 +00:00
Vadim Zeitlin
5b66d31a94
fixed wxMouseEvent::Moving() and Dragging() after the last change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 15:05:32 +00:00
Vadim Zeitlin
6f63704ff4
wxMouseEvent::Moving() shouldn't return true when we're really dragging the mouse
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 07:55:25 +00:00
Vadim Zeitlin
d5d29b8a22
renamed WX_DEFINE_ARRAY_NO_PTR in WX_DEFINE_ARRAY_PTR
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-08 22:13:14 +00:00
Vadim Zeitlin
3e89999c1a
fixed wxMOUSE_BTN_XXX values, use them instead of hard coded constants
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-03 22:22:59 +00:00
Vadim Zeitlin
aef35d0ef5
use wxEvent::ShouldPropagate() instead of its own propgation control mechanism in wxNavigationKeyEvent (patch 814644)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-30 12:49:56 +00:00
Julian Smart
afa039f920
Clean up event hash tables in a timely fashion
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-26 10:50:58 +00:00
Vadim Zeitlin
1c62463166
moved all event handlers callign code in ProcessEventIfMatches() instead of triplicating it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-17 23:35:36 +00:00
Stefan Neis
e484468721
Fixed #pragma interface/implementation handling for old compilers.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-24 16:38:02 +00:00
Václav Slavík
a3bf7524f3
removed WXWIN_COMPATIBILITY and WXWIN_COMPATIBILITY_2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 12:50:53 +00:00
Václav Slavík
6eabf58cec
have TryValidator even if wxUSE_VALIDATORS=1, so that wxBase library can be used by GUI ports
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 10:33:25 +00:00
Václav Slavík
1202890513
added support for gcc precompiled headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 12:38:21 +00:00
Stefan Csomor
10da6a8fa4
exposing the dynamic event table
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 08:17:07 +00:00
Vadim Zeitlin
a7bc03c94b
use wxWindowBase, not wxWindow, in wxUpdateUIEvent::CanUpdate() (wxUniv compilation fix)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-02 00:12:39 +00:00
Vadim Zeitlin
fc7a2a602b
undisable many warnings for VC++ in defs.h and fixed several thousands of them in the sources
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 00:24:07 +00:00
Vadim Zeitlin
6108e3fd32
added NO_PTR versions of ARRAY macros to suppress warnings (based on patch 770983)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 19:46:29 +00:00
Vadim Zeitlin
1648d51bcb
allow to change the event propagation level (modified patch 743086)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-18 00:39:05 +00:00
Vadim Zeitlin
b5a98acdf2
applied event speed up patch (752928)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 23:59:49 +00:00
Julian Smart
92f1a59c28
Use WM_INITMENUPOPUP
...
Added wxMenu member to wxMenuEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 23:09:04 +00:00
Julian Smart
5048c832bb
Applied patch [ 758687 ] RegisterHotkey implemented
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 09:16:00 +00:00
Julian Smart
e39af974ef
- Moved wxApp::SendIdleEvents and wxApp::ProcessIdle into common code.
...
- wxWindow::OnInternalIdle is now used in all ports, and ensures that
user OnIdle events do not interfere with crucial internal processing.
- wxWindow::UpdateWindowUI is now a documented function that
sends wxUpdateUIEvents, and can be overridden. It has a helper function
DoUpdateWindowUI for taking appropriate wxUpdateUIEvent action.
- Added functions to wxUpdateUIEvent: Set/GetMode, Set/GetUpdateInterval,
CanUpdate, to assist with optimising update event frequency.
- Added functions to wxIdleEvent: Set/GetMode, CanSend, to
determine whether a window should receive idle events.
- Added wxWS_EX_PROCESS_IDLE, wxWS_EX_PROCESS_UI_UPDATES window
styles for use with conservative idle and update event modes.
- wxMSW and wxGTK now send menu update events only when a menu is
about to be used.
- Added WM_INITMENU processing instead of WM_ENTERMENULOOP, or
accelerators don't always get called since menu items may still
be disabled.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 10:15:21 +00:00
Julian Smart
0b30bb0bda
Added wxFrameBase::OnMenuOpen, and wxUSE_IDLEMENUUPDATES in platform.h
...
Experimental wxUpdateUIEvent::SetUpdateInterval() function to limit
UI update frequency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 16:21:44 +00:00
Vadim Zeitlin
4827630066
workaround BCC bug resulting in E2233 when building the DLL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-03 16:43:16 +00:00
Vadim Zeitlin
bddd7a8d89
renamed WXDLLEXPORT_BASE/CORE to WXDLLIMPEXP_BASE/CORE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 01:59:24 +00:00
Vadim Zeitlin
886dd7d28e
fixes needed for separate DLL build to work
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-02 01:41:23 +00:00
Julian Smart
65b17727e6
Added optional event sink for use with dynamic event tables
...
Removed comments and commented-out code re. focus window processing
from wxToolBarBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 13:11:51 +00:00
Václav Slavík
c15d9c859c
fixed linker errors
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 12:33:09 +00:00
Vadim Zeitlin
4caf847c87
got rid of wxEvtHandler::m_isWindow, use virtual functions (overridden in wxWindow) instead
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-26 00:44:55 +00:00
Vadim Zeitlin
e2478fde62
wxBase/GUI separation: 1st step, wxMSW should build, all the rest is broken
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 00:56:19 +00:00
Julian Smart
e00865fab6
Get the initialization order right.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 20:47:50 +00:00
Julian Smart
5706de1cf4
Partially applied patch [ 531199 ] new EVT_MOVING and EVT_SIZING
...
Changed to reuse wxMoveEvent, wxSizeEvent
Only applied the Mac part as a TODO comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 14:37:28 +00:00
David Elliott
d9e2e4c242
Allow headers to be compiled in Objective-C++ mode
...
Changed id to one of:
winid Window IDs and event system
itemid Menu items
toolid Toolbar items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 02:58:55 +00:00
Vadim Zeitlin
b2697d4205
unTABbed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-12 22:30:51 +00:00
Ron Lee
12a3f2275c
Deprecated wxSizer::Remove( wxWindow* ), s/Remove/Detach/ in most places.
...
Made wxSizer child list typesafe. I've not added the wxList implicit
conversion kludge yet, let's see who complains first perhaps..
Deprecated wxSizer::{G,S}etOption in favour of {G,S}etProportion in line
with the parameter name change in the docs.
Added {G,S}etSpacer consistent with the accessors for windows/sizers.
Made all wxSizer index parameters size_t -- we support no sensible
interpretation for negative indexes in them. Hopefully this will
cause no real problems, but code doing (eg. Remove( 0 )) will need
to change to use 0u to resolve the ambiguity with overloaded members.
This is probably a Good Thing though, ymmv.
s/FALSE/false/g ; s/TRUE/true/g ; s/wxASSERT/wxASSERT_MSG/g in sizer.{cpp,h}
Fixed (I hope) the brokenness in wxSizer::Show -- I have no code to test
this yet, so it's a blind change, but spacers should now be hidden correctly
instead of ignored, and it should be properly reversable over multiple
calls now too.
removed pointless private scoping around DECLARE_CLASS macros.
Replace 0's I added previously with NULL -- not like that will end the
email thread either..
Added Add( wxSizerItem * ) & co. There are probably a couple of other
places we can usefully do something like this too. Stopped short of
refactoring everything to raise some issues about sizer method recursion
on -dev.
Updated wxSizer docs some more, they are still incomplete but getting
better.
wrapped KeyCode in wxDEPRECATED, converted all (gtk build) instances
to GetKeyCode. There may be a few left for other ports.
Fixed a couple of other random compile warnings along the way.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-07 10:22:07 +00:00
Vadim Zeitlin
2b5f62a0b2
merged 2.4 branch into the trunk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Gilles Depeyrot
af49c4b8a2
disable use of #pragma interface under Mac OS X
...
GNU compiler included with Mac OS X 10.2 (Jaguar) as well as August Developer
Tools update contain a bug concerning #pragma interface handling that can only
be worked around by not using them (and they are not necessary anyways)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 11:29:13 +00:00
Ron Lee
fdb599058d
Updates for 2.3.3 debs.
...
Typo fix for start of local event id's.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-23 03:33:12 +00:00
Vadim Zeitlin
f92c90eb3a
removed extra semi colon which provoked CW warnings (part of patch 596658)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 13:19:33 +00:00
Julian Smart
1241ab8ba0
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
2002-08-19 16:09:40 +00:00
Václav Slavík
98e78a5eb4
fixed another typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-12 11:10:28 +00:00