Commit Graph

4229 Commits

Author SHA1 Message Date
David Webster
10769d8c47 Lots of updates for color dialog and sliders
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-22 03:27:36 +00:00
Václav Slavík
a99acbb00a Unicodification of wxDataStreams
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 22:29:08 +00:00
Julian Smart
55f9eba3b2 Returned value from operator=
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 21:45:40 +00:00
Julian Smart
f3a3457e65 operator = implemented inline.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 20:32:41 +00:00
Vadim Zeitlin
aa8e9a36c4 added (and documented) trivial but useful IsSingleLine() and IsMultiLine() text control methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 18:51:04 +00:00
Vadim Zeitlin
5bf75ae769 default style now applies to the text entered by the user as well (patch 574789)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 18:49:10 +00:00
Julian Smart
c7d176e2bf Made wxMouseEvent = operator public
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 17:34:06 +00:00
Vadim Zeitlin
1944ad7618 1. more consistency in wxTree/ListEvent methods naming convention:
GetKeyCode() instead of GetCode()
2. wxTreeEvent::GetKeyEvent()::IsAltDown() now works under MSW
3. wxTreeEvent::GetKeyCode() works for alnum keys


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 14:29:13 +00:00
Vadim Zeitlin
04354c1deb reverted Chris' MSW additions patch (we should use IPC, not Windows-only functions to implement this functionality)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 12:41:38 +00:00
Stefan Csomor
b12e1d2fcd added Mark Newsam's patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-20 13:10:06 +00:00
Robin Dunn
c2bbeff004 signned/unsigned fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-20 02:06:47 +00:00
Robin Dunn
9b9337da0c Moved the check for page scrolling with the wheel into wxMouseEvent so
it wouldn't have to be duplicated everywhere.

Also fixed wxSTC so it can handle wheel page scrolling too.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-19 21:11:31 +00:00
Julian Smart
a536e41102 Applied patch [ 573644 ] wxDisplay for Mac (again)
Applied patch [ 573172 ] Implements wxDisplay for mac
Applied patch [ 573356 ] wxDisplay for MSW

Alterations:
Put sample in regular samples, not contrib
Removed multimon.h for copyright reasons


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-19 20:42:34 +00:00
Julian Smart
250b589f71 Applied patch [ 581139 ] Misc wxCmdLineParser changes/fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-19 19:53:02 +00:00
Julian Smart
1d2eddff4a Applied patch [ 583877 ] Clone events correction
Applied patch [ 583937 ] Fix in wxClassInfo


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-19 19:43:55 +00:00
Ron Lee
4aa0010b2b Added Set{Position,Size} to wxRect.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-18 06:29:22 +00:00
Vadim Zeitlin
74bdbc46c3 explicit support for CW (patch 582581)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-17 21:55:19 +00:00
Mattia Barbon
17234b2644 Allow compiling wxMotif/GTK/X11 for Cygwin/XFree
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-17 16:58:05 +00:00
Vadim Zeitlin
986ecc861c added wxEXPLICIT macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-16 12:03:44 +00:00
Václav Slavík
c6eaa6fb67 wxPrinting fix for wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-15 22:55:49 +00:00
Václav Slavík
95543830f5 made printing to PS possible under wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-15 22:55:14 +00:00
Robin Dunn
6bad4c327c Icons fetched from wxMimeTypesManager did not get the width/height of
the icon, now they do.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-15 18:29:52 +00:00
Chris Elliott
d08d71a844 single instance checker addition for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-15 11:40:18 +00:00
Vadim Zeitlin
109c7768eb fixed wxStrrchr(s, '\0') bug, added const and non const versions of wxStrchr, wxStrrchr, wxStrstr, ...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-14 19:55:08 +00:00
Robin Dunn
e626d7c787 Changed wxProcess::Open to take a flags arg to pass to wxExecute.
Fixed a few _'s without \'s in the docs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 23:25:14 +00:00
Vadim Zeitlin
da00a8bb16 added and documented wxProcess::Open()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 18:15:49 +00:00
Julian Smart
b23e843b99 Added wxView::OnClosingDocument so the application can do
cleanup.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 16:08:03 +00:00
Julian Smart
aacb1b8018 Somehow wxWizard lost the 'virtual' keyword for DoCreateControls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 14:43:58 +00:00
David Webster
5d644707ca Toolbar/tooltip udates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-11 22:14:39 +00:00
Vadim Zeitlin
1eaf587e21 AIX linking fix (declare wxDataObject dtor)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-10 14:17:58 +00:00
Vadim Zeitlin
e8b669d34b added ENDSCROLL event (patch 576176)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 23:33:28 +00:00
David Webster
05facebb89 Tooltip udpates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 22:02:07 +00:00
Robert Roebling
ee4ead93f4 No events when setting values.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 21:01:38 +00:00
Vadim Zeitlin
82df67d960 automatically initialize m_cRef to 0 (patch 575011 + more)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 11:52:11 +00:00
David Webster
6c0fdfbb42 Updates for tooltip support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 05:03:04 +00:00
Vadim Zeitlin
edb8f2985f fix crash when the user code refuses to validate the new text when editing the item and a generic label editing code cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-08 16:38:46 +00:00
Robert Roebling
1349f4f233 Return to 20x20 default size.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-08 14:01:04 +00:00
David Webster
b6f4144e59 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-08 03:38:01 +00:00
Robert Roebling
98dd4ee512 You can crash GTK with scrolled windows being
only 20x20 pixels large. This took me merely
     three weeks to find out.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-06 14:35:55 +00:00
Mattia Barbon
8fde61ed10 GCC can't test prototype if using wchar_t instead of char.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-06 12:49:41 +00:00
Vadim Zeitlin
e422162882 compilation error fix (trailing comma in an enum)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-05 22:28:23 +00:00
Julian Smart
aca78774b6 Added wxRadioButton::MSWWindowProc to reset m_focusJustSet -- otherwise,
if RB1 has the focus, then you click on RB2, then back on RB1, no
command event will be generated for the last click.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-05 14:09:31 +00:00
Vadim Zeitlin
497dbbd37b added wxID_ANY, replaced #define's with enum
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-03 16:25:22 +00:00
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
Ron Lee
ab8af15fed and yet once more to fix gtk compilation.. this is a nasty kludge
though, if anyone knows better, please do..


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-02 01:21:09 +00:00
David Webster
d697657f1e OS/2 updates and initial toolbar implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-01 22:22:13 +00:00
Chris Elliott
4daa4d665a make motif cursor from wxImage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-01 20:34:20 +00:00
Robin Dunn
82805fe280 Fixed "different linkage" compile error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-01 17:45:31 +00:00
Ron Lee
76880b8757 Preserve prior StatusBar contents when adding removing fields
(consistant with MSW behaviour).

Made m_statusSring a wxArrayString, furthur simplification may
be possible if someone is interested and has the time.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-30 23:53:58 +00:00
Ron Lee
bd595142ac added export decls for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-30 22:41:17 +00:00