Commit Graph

170 Commits

Author SHA1 Message Date
Vadim Zeitlin
3a9fa0d6b5 added wxTextCtrl::MarkDirty()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-23 00:09:18 +00:00
Stefan Csomor
f81c1056ab moved drawing to isvisible branch only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-18 11:50:18 +00:00
Stefan Csomor
939fba6c17 removal of pc-mac charset conversion for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-14 18:40:43 +00:00
Stefan Csomor
d16477fd75 classic fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-13 14:06:08 +00:00
Stefan Csomor
80965ff88e focus setting must be possible even when not shown yet
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-11 18:59:06 +00:00
Stefan Csomor
d77d9398e4 trying to avoid redraw problems at wrong places
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-09 15:38:03 +00:00
Stefan Csomor
b657d5dbee removing scroll flags before instantiation the base class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-05 14:38:03 +00:00
Stefan Csomor
da31cbc4ef only work on the focus if the control is shown
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-01 13:11:59 +00:00
Vadim Zeitlin
1fa29bdc25 implemented IsModified() and DiscardEdits()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-29 00:11:09 +00:00
Stefan Csomor
ea16189569 -1 , -1 for SetSelection improved
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-28 14:42:02 +00:00
Vadim Zeitlin
f6f0900d30 fixed text control creation broken by my MacPreControlCreate() change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-22 22:00:29 +00:00
Stefan Csomor
1ea39a0399 textcontrol handling change for mac (execute event in mid stream)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-17 19:41:16 +00:00
Vadim Zeitlin
66b6b57c0e compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-04 01:05:50 +00:00
Vadim Zeitlin
a40af6f957 fixed unused variable warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-28 12:21:09 +00:00
Gilles Depeyrot
73bdd73aa2 minor corrections for compilation with gcc 3.3 (use cast of address instead
of address of cast)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 19:35:54 +00:00
Stefan Csomor
65334b43fe support undo patch applied
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-04 21:14:16 +00:00
David Elliott
68698f0308 When saving the editable state, use the real state (m_editable)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-14 18:34:06 +00:00
Robin Dunn
ef4a634b1b Fixed wxMac's wxTextCtrl::SetSelection so that (-1,-1) will select the
entire value like other ports do.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-11 22:38:56 +00:00
Stefan Csomor
427ff66291 wxMac Unicode support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-27 20:33:32 +00:00
Julian Smart
e40298d54e Tidied space and tabs in wxMac files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-28 23:48:13 +00:00
Julian Smart
a31a5f8534 Tidied copyright and date for wxMac files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-28 21:54:04 +00:00
Stefan Csomor
2eefc6d59e crash upon hide fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-09 09:10:02 +00:00
Stefan Csomor
c5c9378c98 carbon event support completed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-29 15:23:01 +00:00
Stefan Csomor
581bebd192 no new install of event handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-28 08:30:54 +00:00
Gilles Depeyrot
eb22f2a6dc updated source to not use deprecated wxList methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-14 07:01:22 +00:00
Vadim Zeitlin
7baf4bdbb6 misc gcc compilation warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-15 22:30:49 +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
Stefan Csomor
49b45dcd85 getting rid of warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 17:06:53 +00:00
Stefan Csomor
9c34dd9dea corrected ::Clear
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-10 09:58:52 +00:00
Stefan Csomor
e600c175c0 added new implementation for editable and brought selection behaviour in synch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-10 09:45:20 +00:00
Stefan Csomor
29b30405aa removed virtual modifier from Command handlers, added readonly and color information to textctrls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-25 09:58:49 +00:00
Robert Roebling
29e4a1901a Convert to and from \n and \r in wxMac's text
control so that it always expects \n as in
     all other ports.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-14 16:51:35 +00:00
Stefan Csomor
45c8d9e52a changed key handling to new carbon-savvy implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-21 16:10:34 +00:00
Stefan Csomor
fd4393b845 show/hide via moving
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-21 20:44:36 +00:00
Stefan Csomor
8c82361c1d removed internal carbon events handlers, switch to using and resetting toplevel's handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-20 20:15:19 +00:00
Stefan Csomor
7759d157ea working closer to proper MLTE support under OSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-17 12:20:15 +00:00
Julian Smart
59b9edf0b3 Initialized the controls on the widgets spinbutton page
and checked for NULL in one of the event handlers, since
on the Mac the event handler may be called before the
control is properly initialized
Tested for an empty string in Mac's textctrl.cpp
else we get a crash if there is nothing in the text control


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 11:28:13 +00:00
Stefan Csomor
402679b0f8 added carbon events for navigation keys, size corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 06:52:50 +00:00
Stefan Csomor
175a6271a4 fixed casting for X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 23:59:06 +00:00
Stefan Csomor
1b2b1638a2 added mlte implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 23:22:57 +00:00
Gilles Depeyrot
d84afea9d1 corrected warnings when compiling with -Wall -W
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-07 21:58:27 +00:00
Robert Roebling
32b5be3d67 Corrected double clicks (always on the same window).
Corrected mouse up events (same window as mouse down).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-05 11:36:33 +00:00
Stefan Csomor
66a09d4776 fixes for using non opaque structs under debug classic, support for ATSU and pixel pattern.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-11 14:07:02 +00:00
Stefan Csomor
76a5e5d21e removing dependancy on mac headers from public wx headers (eventually adding wx/mac/private and typecasts)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-04 17:26:02 +00:00
Stefan Csomor
de04398425 drawing methods cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 12:24:16 +00:00
Stefan Csomor
7d9d1fd708 corrections for theme brush alignments under X (no more SetOrigin calls)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-29 09:59:59 +00:00
Gilles Depeyrot
422644a317 corrections to includes for compilation under Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-20 07:36:21 +00:00
Stefan Csomor
41c9a21f8c GetMacXXXX renamed MacGetXXXX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-19 21:46:53 +00:00
Stefan Csomor
9c641c057c changed defaultitem method from belonging to a panel to any window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-04 20:08:29 +00:00
Robert Roebling
ed8c278040 Make wxMac single line text control ignore ENTER
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-03 23:25:28 +00:00