Vadim Zeitlin
ca288f2afe
Use GetWidgets() in the widgets samples instead of GetWidget2().
...
Add a function which can be overridden to return an arbitrary number of
widgets instead of having just GetWidget() and GetWidget2(): spin control page
already uses 3 widgets (and defines GetWidget3() which is never called) and we
could have even more in the future. Just use a generic solution which will
always work.
The practical consequence of this is that the "Enable/Disable" menu item now
also enables and disables the wxSpinCtrlDouble in the spin page, see #12045 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-05-13 15:31:30 +00:00
Stefan Csomor
d3d256efc1
fixing typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-23 14:14:35 +00:00
Vadim Zeitlin
6a8d793736
add a new menu for wxTextEntry-specific tests, currently it allows to check how auto-completion works ( #9614 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-29 00:35:35 +00:00
Vadim Zeitlin
747d7d7c15
made all XPM const to avoid warnings from mingw32 4.0 and adopt the code accordingly (patch 1872384)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-16 01:39:44 +00:00
Paul Cornett
7742ea6a6f
warning fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-12 17:39:46 +00:00
Vadim Zeitlin
993b016d6c
use smaller icons, it looks better (patch 1695225)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 13:25:34 +00:00
Włodzimierz Skiba
0cebbfc2bd
Connect changed page event after subpages are created so book->SetSelection does not cause any lazy creation and non-treebook-based build does not crash.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-04 09:38:56 +00:00
Vadim Zeitlin
3e85973919
prevent selecting the treebook items without corresponding pages to ensure that CurrentPage() always returns something non NULL and removed the checks for it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 21:05:20 +00:00
Stefan Neis
fe5dc33dee
With fix from treebase.cpp,v 1.28, (generic) treectrl now also works on OS/2.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 16:06:27 +00:00
Stefan Neis
4b90e06ee5
Don't use TreeBook for OS/2 PM port (at least not yet).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-11 15:37:11 +00:00
Włodzimierz Skiba
895cc20597
Use bottom flat notebook on PocketPC by default.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 13:12:20 +00:00
Włodzimierz Skiba
453535a739
On-demand creation of the pages for speedup of sample launch.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 14:10:06 +00:00
Włodzimierz Skiba
261357eb0a
Small devices adjustements.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 14:07:47 +00:00
Włodzimierz Skiba
727eb4c12c
Better screen usage on smaller devices.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 13:59:24 +00:00
Włodzimierz Skiba
d8d07a796f
wxUniv port mentioned instead of native, wxButton ports listed, minor placement fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 15:36:44 +00:00
Włodzimierz Skiba
f2fdc4d56e
Rearranged widgets sample to show more and categorized widgets.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 19:49:09 +00:00
Vadim Zeitlin
1301e2289f
added a menu allowing to change the border style used by the widget
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 23:39:11 +00:00
Mattia Barbon
5378558e5c
No significant changes. Remove reliance on wx/bookctrl.h being
...
included in wx/sizer.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-28 08:54:56 +00:00
Vadim Zeitlin
1c01dd1629
1. added possibility to test setting tooltip for the widget
...
2. added WidgetPage::GetWidget2() for pages like the spin one which shows
2 widgets and not only one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 01:15:46 +00:00
Włodzimierz Skiba
49abcb2f46
Remove some controls from limited screen area of Smartphone.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-07 18:30:36 +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
195df7a767
added tests for setting fg/bg colours
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 19:03:04 +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
Dimitri Schoolwerth
2673bcb00d
Applied patch #876800 : "Alphabetical order of tabs in widgets sample".
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-19 13:27:24 +00:00
Julian Smart
206d3a16ca
Applied patch [ 829144 ] Compilation error fixes for samples
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-11 10:32:15 +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
Gilles Depeyrot
0b90b51ceb
moved wx/panel include to correct wxGTK compilation error
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 15:54:25 +00:00
Vadim Zeitlin
32b8ec418a
added more files (unchanged) from wxUniv branch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-26 21:05:06 +00:00