Vadim Zeitlin
ea180b184a
added missing header (fixes compilation with WXWIN_COMPATIBILITY_2_4 == 0)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-20 22:03:54 +00:00
Włodzimierz Skiba
925e9792d3
Warning fixes found under hardest mode of OpenWatcom. Seems clean in Borland, MinGW and DMC.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-06 20:54:57 +00:00
Ryan Norton
ae25e5cc8c
Fixed GetLineLength and GetLineText for MLTE text controls - Fixed bug where it couldn't get the length or text of the first line (0) and sf bug 1030042 where subsequent lines to 0 would not include the first character. Added those tests to the text sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-25 05:50:36 +00:00
Ryan Norton
01edebd0fe
fix bug
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-24 23:02:09 +00:00
Ryan Norton
ce709481a8
whoops - I tabbed :)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-24 22:34:53 +00:00
Ryan Norton
d496416391
quiet annoying GCC warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-24 22:27:55 +00:00
Vadim Zeitlin
9539029134
cosmetic change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 18:43:01 +00:00
Vadim Zeitlin
692c9b8696
implemented HitTest() for GTK2; test it in the sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 18:07:40 +00:00
Włodzimierz Skiba
b29903d485
wxUSE_LOG fixes and sizer adjustements related to positioning with/without LOG output.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 10:29:21 +00:00
Włodzimierz Skiba
422d0ff0be
wxDefaultSize.* and wxDefaultPosition.* to wxDefaultCoord.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 10:09:47 +00:00
Włodzimierz Skiba
8520f1374c
Fixes for wxUSE_STATUSBAR.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-19 15:36:01 +00:00
Vadim Zeitlin
0d9b2c1636
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@28030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-26 13:14:24 +00:00
Vadim Zeitlin
0b90bda36a
don't use wxHSCROLL for the rich edit window, not that it really works as expected it looks ugly in the sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 17:42:03 +00:00
Vadim Zeitlin
b7f5f3cc75
don't overwrite initial controls value, explaining what its style is
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 23:08:41 +00:00
Dimitri Schoolwerth
2153bf897a
replaced menu calls Append([...], true) with the less cryptic AppendCheckItem
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-13 00:02:35 +00:00
Włodzimierz Skiba
effbd41ddc
Correct parent for entering text dialog. -1->wxID_ANY/wxSizeDefault, TRUE->true, FALSE->false replacements.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 10:30:15 +00:00
Julian Smart
be5a51fb59
More name changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-25 11:20:37 +00:00
Vadim Zeitlin
cc59cd23e6
removed bogus #pragma implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-18 23:45:14 +00:00
Vadim Zeitlin
656562d815
unused param warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-10 13:00:13 +00:00
Julian Smart
c734a8b9a4
Minor change in case m_log is null
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-25 09:32:13 +00:00
Julian Smart
80185c6ceb
Implemented wxTextCtrl::GetStyle for MSW
...
Added status bar showing major style attributes at cursor in text sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 13:14:42 +00:00
Julian Smart
e00a5d3ca1
Extended wxTextAttr and added wxTextCtrl::GetStyle stub
...
allow better rich text support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-20 16:25:31 +00:00
Julian Smart
29676ca095
Part of a patch I forgot to commit previously: demonstrating selection
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-17 16:15:30 +00:00
Vadim Zeitlin
cdd732de07
added test for Remove() and Replace() (patch 705051 from Nerijus)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-24 23:04:38 +00:00
Ron Lee
b1d4dd7add
Split this out from other changes to keep things sane..
...
wxDeprecated KeyCode.
wxDeprecated old wxList compat methods.
Replaced a large number of them in the gtk build already, but there are
still plenty more so feel free to help nuke them as you find them.
s/^I/ / and s/TRUE/true/ etc. a couple of these too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-13 05:17:41 +00:00
Mattia Barbon
ab1ca7b3dd
More samples/Unicode fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-14 18:13:27 +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
Vadim Zeitlin
aafbc3454c
fix for gcc warning about incorrect format arg
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 23:22:45 +00:00
Vadim Zeitlin
8b1d8f3611
gcc 3.1 warning fixes (patch 598343)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 19:22:52 +00:00
Vadim Zeitlin
80695f83d3
removed debugging code from the sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-22 18:02:38 +00:00
Robert Roebling
eba330067e
Removed all deprecated printing code.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 16:29:05 +00:00
Vadim Zeitlin
73028c4b8c
fixed small memory leak
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 20:44:11 +00:00
Vadim Zeitlin
d847e69ac7
fixed crash in text ctrl log on exit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 18:44:15 +00:00
Vadim Zeitlin
94ccc2540c
added tests for the focus events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-31 13:49:56 +00:00
Vadim Zeitlin
0146a47e4d
added the test for GtkText inside wxYield crash
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 11:28:31 +00:00
Vadim Zeitlin
e3603065fd
fixed error in mouse capture test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-25 15:21:13 +00:00
Vadim Zeitlin
53fd33dcf1
no (real) changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-09 01:35:48 +00:00
Vadim Zeitlin
309824154b
log textctrl should be readonly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-03 00:45:22 +00:00
Vadim Zeitlin
60f523207e
Unicode test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-30 22:30:53 +00:00
Vadim Zeitlin
aac7e7fe7b
fixed displaying text in non default charset in the richedit control
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-09 00:47:29 +00:00
Vadim Zeitlin
eda40bfc08
superposition of text styles in wxTextCtrl now works as expected (and as documented)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-26 14:50:50 +00:00
Vadim Zeitlin
cba1148d00
added Remove() test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 15:17:09 +00:00
Vadim Zeitlin
9a7d612157
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-20 14:58:41 +00:00
Vadim Zeitlin
184144794d
added wxTextCtrl::GetSelection() returning a wxString - useful for multiline controls under Windows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 01:27:16 +00:00
Vadim Zeitlin
1ce58dc6f3
allow disabling text events too; show Ctrl-x events correctly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-08 17:31:49 +00:00
Vadim Zeitlin
fb93b610c5
don't log mouse events by default
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-08 17:25:49 +00:00
Mattia Barbon
4693b20c75
Unicode compilation fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-21 20:21:44 +00:00
Vadim Zeitlin
56c4a88b3b
added possibility to filter out some messages - there are too many of them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-23 21:55:43 +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
22670da422
added tests for ScrollLines/Pages
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-01 14:53:59 +00:00