Commit Graph

240 Commits

Author SHA1 Message Date
Vadim Zeitlin
7891b4d450 don't send weird colours for different controls, this looks really bad under some platforms (such as Mac) and makes the text unreadable under the others; there is widgets sample now for testing whether the colour setting works interactively
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 20:58:21 +00:00
Vadim Zeitlin
361484a8db create a non readonly combobox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 20:55:12 +00:00
Vadim Zeitlin
bc50a2ae95 log wxChoice events in the same format as wxComboBox ones to make it simpler to compare them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 19:16:35 +00:00
Vadim Zeitlin
9ae1959972 use the sizer to layout the main window/panel (this allows to give more size to the log window by resizing the main frame while before it was pretty difficult to see anything in it)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-12 17:04:23 +00:00
Robert Roebling
cc7e9e2083 Added test for wxComboBox::SetString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-20 17:12:07 +00:00
Włodzimierz Skiba
9d8b1d2f3e Somebody forgot to restore from testing phase.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-19 11:09:19 +00:00
Włodzimierz Skiba
a71d815bbe __WIN95__ removed (used to differ win3.1 vs. 'modern' 95 look, nowadays always defined for WXMSW so useless). Minor cleanings and corrections for correct #includes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-19 10:47:44 +00:00
Vadim Zeitlin
d6bbc10c94 also added a check of choice selection in idle time (similar to last check in for combobox)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-17 13:13:42 +00:00
Włodzimierz Skiba
0d29fecd2e Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-16 20:50:02 +00:00
Vadim Zeitlin
f226be17ad added code showing that at least under Windows wxCombobox::GetSelection() return value changes even before EVT_COMBOBOX is sent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-16 12:13:56 +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
Robert Roebling
1a84e759bc Add test for wxChoice's focus events. (no fix yet).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-25 19:35:42 +00:00
Vadim Zeitlin
fe1bc2853c unused param warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 16:45:12 +00:00
Robert Roebling
1dd815f363 Add better test for wxStaticTexts to controls sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-07 22:50:57 +00:00
Robert Roebling
376c0148ef Better correction to the wxListBox misbehaviour.
Strangely, the listbox sends out 2 events upon
   the first selection.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-22 22:45:32 +00:00
Robert Roebling
1e2cb856c4 Show that the GTK+ listbox doesn't deselect any item
in MULTIPLE mode when clicked upon.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-21 22:46:34 +00:00
Vadim Zeitlin
bebc503c78 compilation fix for wxUSE_TOGGLEBTN == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 18:32:26 +00:00
Włodzimierz Skiba
516ab39908 wxUSE_GAUGE/PROGRESSDLG condition.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-25 18:05:12 +00:00
Włodzimierz Skiba
6bb44116c2 wxUSE_SLIDER=0 fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-24 16:08:12 +00:00
Włodzimierz Skiba
61c083e781 wxBookCtrl->wxBookCtrlBase. wxBookCtrl is now most suitable book for given platform. Samples adjustement.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-23 11:45:07 +00:00
Vadim Zeitlin
35960bbf22 added tests for EVT_ICONIZE/MAXIMIZE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-15 22:36:01 +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
Václav Slavík
3f93f659dc demonstrate tab order
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-03 11:14:44 +00:00
Włodzimierz Skiba
960a83ccad Fixes for Smartphone builds. Sample does not work yet but at least creates exacutable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 06:59:48 +00:00
Václav Slavík
29c749b8ba test colours unsetting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 08:01:32 +00:00
Włodzimierz Skiba
5014bb3a2f -1->wxID_ANY, TRUE->true, FALSE->false, wxDefaultPosition & wxDefaultSize replacements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-27 17:50:54 +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
3a5bcc4db0 removed Win16 code (patch 905241), last version with remains of Win16 support tagged with BEFORE_WIN16_REMOVAL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-28 13:10:14 +00:00
Václav Slavík
9230b62136 applied patch to remove use of deprecated constraints API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-28 10:46:36 +00:00
Vadim Zeitlin
fdf1429eea testing wxComboBox::SetBackgroundColour()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-27 00:02:44 +00:00
Ryan Norton
cbf3565d62 Quick fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-13 09:55:50 +00:00
Vadim Zeitlin
a48b9bfb14 added handlers for radio btn events for testing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-27 15:28:58 +00:00
Vadim Zeitlin
a374426f34 create image list of the right size to avoid asserts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-20 18:58:39 +00:00
Mattia Barbon
87728739f2 Various warning and Unicode fixes from ABX.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-09 20:24:34 +00:00
Vadim Zeitlin
0f159c531e warning fix (bug 714677)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-30 11:41:57 +00:00
Julian Smart
91f2c1540f Fix for [ 748805 ] Assert failure for specified situation in samples/controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-07 09:59:38 +00:00
Mattia Barbon
aae0472bf3 Use the wxBitmap implementation from wxX11
in wxMotif; solves various bugs related to wxMask
handling (and effectively adds a lot of wxMask
functionality previously missing).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 16:44:27 +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
07157c53d0 Use checkbox if togglebutton not available.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-11 15:00:26 +00:00
Mattia Barbon
9f84eccdea Make some of the samples compile in Unicode mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-13 21:33:14 +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
413d43d360 made it compile with wxUniv (which doesn't have tooltips)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-27 20:26:56 +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
Robert Roebling
27ff87da23 Fix to not break GTK2 output. (wxLogMessage bug).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-15 20:48:02 +00:00
Mattia Barbon
508d586ea2 Patch [ 584078 ] Misc samples fixes from Dimitri Schoolwerth
Addresses:
  printf-format warinigs
  indentation/style
  unused variable warnings
  used wxID_ABOUT for about menu entry
  removed references to "minimal sample" in other samples
  some other misc warinigs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-02 08:16:15 +00:00
Vadim Zeitlin
bebe1443c9 commented out some strange test code which resulted in memory leaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-04 12:48:17 +00:00
Vadim Zeitlin
76106901f6 added more spin event handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-26 12:46:41 +00:00
Julian Smart
946fb2b9dd Initialized control member pointers and checked for null pointer
to make controls sample run on MacOS X again


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 14:05:12 +00:00
Vadim Zeitlin
e94ff4cbf1 fixed logic in limiting spin ctrl values (patch from Dimitri)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-20 10:00:36 +00:00
Vadim Zeitlin
0545d965de added another size to the status bar display
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 23:55:38 +00:00