Vadim Zeitlin
526954c596
Globally use "wxWindows licence" consistently.
...
Use "wxWindows licence" and not "wxWidgets licence" (the latter doesn't
exist) and consistently spell "licence" using British spelling.
See #12165 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-07-13 13:29:13 +00:00
Vadim Zeitlin
d2356abe70
Use white background by default for multiline readonly wxTextCtrl under MSW.
...
The best default behaviour seems to be to use white background for multiline
text controls even when they're read-only, as in previous wx versions.
Also see #11521 which could be implemented to make this configurable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-07 05:01:21 +00:00
Vadim Zeitlin
8faed39597
Use wxTE_RICH style for the log window in the text sample.
...
This makes it have nicer colour (white instead of grey by default) under MSW
and wxTE_RICH was already in the code, just commented out -- it seems it's
better to enable it (as it also allows more text to be shown in the control
under old Windows versions) than to remove it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-11-26 15:59:20 +00:00
Vadim Zeitlin
9a83f86094
Globally replace _T() with wxT().
...
Standardize on using a single macro across all wxWidgets sources and solve the name clash with Sun CC standard headers (see #10660 ).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-23 20:30:22 +00:00
Vadim Zeitlin
43b2d5e7c3
Put braces around all calls to wxLogFunctions() inside an if statement.
...
This suppresses all the remaining g++ -Wparentheses warnings and uses consistent style everywhere.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-20 16:47:54 +00:00
Francesco Montorsi
8602802568
add new predefined colour (and relative brush/pen): wxYELLOW ( closes #10669 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-09 12:40:09 +00:00
Francesco Montorsi
41f02b9acc
always call SetIcon() on the main frame of the sample; some small cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 01:01:00 +00:00
Vadim Zeitlin
be83461c7c
add test for bug 716
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-24 22:25:45 +00:00
Vadim Zeitlin
92c01615ec
remove/replace redundant SetAutoLayout() and Fit() calls, leave just SetSizer[AndFit]() ones (patch 1905759)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-15 02:08:02 +00:00
Vadim Zeitlin
647d7ce90b
use %p for printing out a pointer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-06 17:11:37 +00:00
Václav Slavík
53aa9c77b0
test Freeze/Thaw completely, including clearing and setting insertion point
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-04 10:04:25 +00:00
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