Commit Graph

144 Commits

Author SHA1 Message Date
Ron Lee
8b48128836 added DECLARE_EXPORTED_LOCAL_EVENT_TYPE for use with user libs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-02 04:56:41 +00:00
Vadim Zeitlin
abcbaea73f wxUniv compilation fixes (patch 559620)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-23 21:25:06 +00:00
Gilles Depeyrot
e6a6feba84 implemented explicit copy constructors (needed for cloning)
declared private assignement operators


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 21:13:51 +00:00
Julian Smart
a5e84126fc Implemented wxMouseCaptureChangedEvent and made wxGenericDragImage check it
the capture before release it.
Documented wxMouseCaptureChangedEvent and GetCapture/FindCapture.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-12 20:26:43 +00:00
Vadim Zeitlin
9c7df356f9 added raw key code and flags support (based on patch from Bryce Denney)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 21:06:59 +00:00
Vadim Zeitlin
cf72f75f8a forbid copying wxEvtHandlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 11:38:52 +00:00
Vadim Zeitlin
ccef86c75d added EVT_MENU_OPEN and EVT_MENU_CLOSE events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 23:16:32 +00:00
Kendall Bennett
574c939ef1 Merges from Scitech Branch (George Davison):
Added wxDisplayChangedEvent and triggering in MSW, when display mode changes
this event gets triggered. I don't know what should happen with other OS's
since I am not familiar with how they handle mode changes.

Watcome Version 11 now compiles with wide character support.

Fixed watcom warnings in
	html/htmlwin.h
	imagbmp.h
	listctrl.h
	imagbmp.cpp
	quantize.cpp
	strconv.cpp
	variant.cpp
	dirctrlg.cpp
	treectlg.cpp
	m_style.cpp
	fontenum.cpp
	listctrl.cpp
	ole\dataobj.cpp
	textctrl.cpp
	window.cpp
	xml.cpp

msw/setup.h
	with watcom version 11 it now compiles with wide character support.

xrc/xml.cpp
	fixed memory leak and compile warnings


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 18:46:31 +00:00
Vadim Zeitlin
c3c39620ba fixed wxDropFilesEvent dtor, added copy ctor and implemented Clone() for it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-21 23:48:49 +00:00
Vadim Zeitlin
acd15a3fa0 1. removed wxObject::CopyObject() and Clone() - some objects just can't be
copied
2. made wxEvent::Clone() pure virtual and added missing Clone()s to the
   other event classes which this changes has helped to discover


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-21 21:44:52 +00:00
Vadim Zeitlin
2d33aec94c 1. restored wxEvent::operator=()
2. removed wxListEvent::CopyObject()
3. refresh fixes to MSW virtual list control


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-21 00:43:54 +00:00
Vadim Zeitlin
f97500b80d fixes for wxEvent and wxKeyEvent operator=()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-18 23:08:00 +00:00
Robert Roebling
8e72b8b517 This form of the event cloning patch survived my
thorough stress testing.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-18 12:42:45 +00:00
Robert Roebling
e2762ff06a wxListBox mouse events now report coords relative
to the whole list box.
  wxRadioButton doesn't emit any event when unpressed.
  Similar correction to wxRadioBox and wxToggleButton.
  Upported change to wxMenuEvent so that the id is
     set in the constructor. Otherwise the EVT_MENU
     macro is pretty useless. Already in 2.2.8.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-08 23:24:16 +00:00
Robin Dunn
b88c44e735 Moved client data stuff directly into wxEvtHandler, #if'd out
wxClientDataContainer for now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 03:18:35 +00:00
Ron Lee
1a40c31edf added DEFINE_LOCAL_EVENT_TYPE() macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-11 00:14:54 +00:00
Robin Dunn
88a9f974b8 Moved the [Set|Get]Client[Data|Object] and such out of wxWindowBase
and into a mixin class.  Mixed it with wxEvtHandler.  Regenerated
files lists and makefiles.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-09 22:50:33 +00:00
Vadim Zeitlin
d11710cbb5 don't check for Meta key in wxKeyEvent::HasModifiers()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-08 15:58:52 +00:00
Vadim Zeitlin
d7eee191c5 implemented, tested and documented wxTextCtrl::SetMaxLength()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-15 12:45:53 +00:00
Vadim Zeitlin
6b55490abd 1. slightly changed how wxControlContainer is used
2. use it now for wxSplitterWindow too
3. don't compile wxIdleEvent in !wxUSE_GUI mode (why was it done?)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-06 12:55:04 +00:00
Vadim Zeitlin
456bc6d9b8 moved knd handling logic from wxPanel to wxControlContainer (sorry for
the dull name Julian ;-)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-06 00:49:59 +00:00
Vadim Zeitlin
ad0bae85d8 declare and define wxEVT_COMMAND_TEXT_UPDATED even if wxUSE_TEXTCTRL == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-31 17:56:45 +00:00
Vadim Zeitlin
c57e33394c 1. added wxTE_AUTO_URL style and support for it under Win32 (and brief
mention in docs and tests in the sample)
2. moved wxTextCtrl-specific stuff from defs.h/event.h to textctrl.h


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-29 22:40:21 +00:00
Vadim Zeitlin
0c39421228 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 10:40:34 +00:00
Vadim Zeitlin
1e6feb95a7 first pass of wxUniv merge - nothing works, most parts don't even compile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-26 20:59:19 +00:00
Vadim Zeitlin
3dd9b88ac2 we now send iconize events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-31 14:32:06 +00:00
Julian Smart
69231000be Applied patch #421554: implementation of wxEVT_CONTEXT_MENU
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 11:32:21 +00:00
Robin Dunn
d2c52078dc Added mouse wheel support for MSW. It generates a wxMouseEvent with a
type of wxEVT_MOUSEWHEEL.

wxMouseEvent has new members and accessors to transport mouse wheel
rotation data.  New members and accessors are documented.

wxGenericScrolledWindow modified to turn mouse wheel events into
scroll actions.

Added wxUSE_MOUSEWHEEL to setup0.h to allow disabling the platform
specific parts.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-04 07:26:30 +00:00
Kendall Bennett
33ac7e6f01 Updates to fix Watcom C/C++ 11.0 compiler warning problems. Now compiles
clean with this compiler. Hopefully I did this without breaking other
compilers.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-02 19:48:15 +00:00
George Tasker
461697c2ae Moved the declaration of wxEVT_NULL to event.cpp and made it extern in the header to solve BCC compilation issues
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-21 15:43:33 +00:00
Vadim Zeitlin
33e2941913 second part of Markus' BC++ fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-04-03 16:07:57 +00:00
Robin Dunn
5527476f67 Added DECLARE_LOCAL_EVENT_TYPE which doesn't use WXDLLEXPORT. This is
to prevent inconsistent linkage warnings for event types that are not
in the wx DLL, but when you are using the wx DLL.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-03-28 18:13:26 +00:00
Vadim Zeitlin
1db8dc4a2b applied (slightly modified) wxToggleButton patch from John Norris and Axel Schlueter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-08 18:57:23 +00:00
Vadim Zeitlin
85664da6de added missing WXDLLEXPORT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-02-01 16:12:21 +00:00
Vadim Zeitlin
71499aafed oops... fixed a typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-31 17:19:06 +00:00
Vadim Zeitlin
2e4df4bfaf 1. made compilation with WXWIN_COMPATIBILITY_EVENT_TYPES really work
2. moved ~50% of the event types in their own headers/sources from event.h/cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-31 17:16:40 +00:00
Vadim Zeitlin
6164f93ca2 event handling seems to work again, new sample (event) added and documented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-31 16:00:00 +00:00
Vadim Zeitlin
3794e8d6b0 readded wxEVT_HELP inadvertently deleted the last time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-27 23:00:10 +00:00
Vadim Zeitlin
cbee8f8dc7 compatibility changes: WXWIN_COMPATIBILITY_EVENT_TYPES and DECLARE_EVENT_TABLE_ENTRY added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-27 20:16:02 +00:00
Vadim Zeitlin
96f6c703b1 wxEVT_USER_FIRST readded
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-27 12:38:09 +00:00
Vadim Zeitlin
0b5eceb638 dynamic event types actually work with these changes, also corrected more
event macro in the sources


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-26 18:58:14 +00:00
Robert Roebling
258e5c7427 Corrected typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-26 18:35:23 +00:00
Robert Roebling
82a5f02c86 Updated ten thousand macros for new event type code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-26 17:35:36 +00:00
Julian Smart
963e36f852 Changed m_eventType to int
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-26 14:13:10 +00:00
Robert Roebling
77d4384e31 New event types for use in external libs (and from
now on actually everywhere).
  Adapted cshelp to new event types.
  Adapted wxGrid to new event types.
  Update for German translation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-25 18:30:30 +00:00
Julian Smart
b078fa025d Applying submitted wxOS2 mod
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-23 06:26:19 +00:00
Robin Dunn
98243feda0 Added a WXDLLEXPORT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-07 02:38:05 +00:00
Vadim Zeitlin
bd83cb56d2 1. added wxHelpProvider and (unfinished) wxSimpleHelpProvider
2. added wxStringHashTable which wxStringHashTable uses


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-10 12:43:37 +00:00
Julian Smart
fb6261e9ba Put wxContextHelp into cshelp.h/cpp, added wxContextHelpButton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-08 10:49:39 +00:00
Julian Smart
b96340e6f4 Added wxHelpEvent, wxContextHelp (MSW only so far), modified help sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-06 09:45:24 +00:00