Vadim Zeitlin
b7ca485316
added GetLineText() test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-13 13:48:11 +00:00
Vadim Zeitlin
88fb99a262
compilation fix after argv changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-13 13:15:04 +00:00
Robert Roebling
6e2b69c66f
compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-09 15:31:11 +00:00
Vadim Zeitlin
6ab069f2b6
test wxTE_NO_VSCROLL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 02:39:08 +00:00
Vadim Zeitlin
45e6e6f8ab
call OnInit() from all samples to allow using standard command line options with all of them (patch 1623971)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-04 00:34:18 +00:00
Vadim Zeitlin
7ddc93433c
add test for ChangeValue()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 20:38:14 +00:00
Vadim Zeitlin
f6519b40fe
added wxTextCtrl::ChangeValue() which is the same as SetValue() but doesn't send the text changed event (first part of patch 1553551)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 17:46:12 +00:00
Mart Raudsepp
7fb3f3c448
Add ability to test tab stops. Very slightly modified patch from #1518114 (Tim Kosse)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-23 12:07:56 +00:00
Vadim Zeitlin
dabb9b6d29
added a DiscardEdits() test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 19:03:51 +00:00
Vadim Zeitlin
ff9a8ac6ba
test IsModified() inside OnText()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-16 23:39:48 +00:00
Vadim Zeitlin
78c9181500
added clipboard events (wxEVT_COMMAND_TEXT_COPY/CUT/PASTE) and implemented them for wxMSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-12 15:21:41 +00:00
Włodzimierz Skiba
3ad4e2df04
PRIOR/NEXT build fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 10:27:44 +00:00
Vadim Zeitlin
c5dd5a3dac
test EVT_TEXT_ENTER
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-08 00:15:20 +00:00
Vadim Zeitlin
5b07594ad3
added tests of update UI handlers for clipboard menu items; minor cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-23 15:40:03 +00:00
Michael Wetherell
548bbe143b
Replace non-ascii characters with escapes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-27 01:58:19 +00:00
Julian Smart
91b073576e
Use standard ids
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-02 12:04:48 +00:00
Julian Smart
5a22377ee5
Spacing is better on GTK+ and (hopefully) Mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-26 14:40:39 +00:00
Kevin Hock
22095a6e1a
Sample update - wxTE_AUTO_URL from Mart R. [patch 1126182]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 02:57:46 +00:00
Vadim Zeitlin
c95393460e
simplified sizers, removed OnSize() which is not needed any more
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-22 23:54:03 +00:00
Ryan Norton
093dee5e9d
fix for [ 1055191 ] wxTextCtrl::GetStyle() wrong attr and extended stat bar in text ctrl sample with rich text to show font attributes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-07 13:01:59 +00:00
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