Julian Smart
a7dbf7c8bc
Removed double border style
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 20:29:53 +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
Robert Roebling
a85dda4ad8
Test adding page without setting selection.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 18:24:07 +00:00
Vadim Zeitlin
1d6fcbcc70
added wxBookCtrl::ChangeSelection() which is the same as SetSelection() but doesn't send the page change events (second part of patch 1553551)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 17:37:23 +00:00
Włodzimierz Skiba
9804d5404a
wxNB_HITTEST_* flags renamed to wxBK_HITTEST_* to serve all book controls.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 12:21:13 +00:00
Vadim Zeitlin
df1496e3eb
context help for notebook pages tests added
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 18:32:26 +00:00
Vadim Zeitlin
d0a84b6338
fill in flags parameter of HitTest() for all book controls; added new wxNB_HITTEST_ONPAGE bit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 15:54:24 +00:00
Vadim Zeitlin
9d5371c60b
renamed AddSubPage() with pos parameter to InsertSubPage()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-05 12:27:20 +00:00
Julian Smart
d709457c8d
Adapted notebook sample to demonstrate wxToolbook
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-30 15:40:32 +00:00
Vadim Zeitlin
582ca3535a
don't use wxStaticCast to wxBookCtrlBase -- it doesn't work
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-16 16:31:35 +00:00
Włodzimierz Skiba
2ddb4d1358
Unified flags for orienting wxBookCtrls (with backward compatibility). Centralised code for sizing internals.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-21 19:03:06 +00:00
Vadim Zeitlin
136bafcd39
compilation fixes for wxUSE_TREEBOOK=0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-09 22:09:35 +00:00
Vadim Zeitlin
eca15c0d54
Added wxTreebook:
...
- added the control itself
- added protected wxBookCtrlBase::AllowNullPage() to accommodate it
- big changes to the sample to get rid of (most) ugly macros
- added XRC handler for the control
- added docs
- and wxUSE_TREEBOOK everywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-09 18:40:36 +00:00
Vadim Zeitlin
d52f6c4eed
use generic sample icon; no need for separate .rc file
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-17 14:36:24 +00:00
Włodzimierz Skiba
5a053c22d8
Better margin on Smartphone.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-13 15:35:33 +00:00
Włodzimierz Skiba
53d09d5558
Use initial book from available controls. Select it in menu correctly.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-10 19:34:58 +00:00
Włodzimierz Skiba
11d1f1599c
wxUSE_LOG (Smartphone) fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-06 12:30:08 +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
6e9324fc52
removed duplicated code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 16:49:15 +00:00
Włodzimierz Skiba
c0c997853f
Keys to some operations (patch #1037434 ).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-06 20:11:24 +00:00
Włodzimierz Skiba
02161c7c81
wxUSE_*BOOK checks.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-24 13:45:52 +00:00
Włodzimierz Skiba
9133965ef5
Notebook sample redesign. Now it is 'wxNotebook & friends' and presents wxChoicebook and wxListbook without need of recompilation. User interface moved from buttons to menus in order to work with limited devices (lack of button control in Smartphones). Added presentation of default orientation in controls.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-17 17:39:53 +00:00
Vadim Zeitlin
33ebfc3b9b
made wxListbook events more consistent with wxNotebook ones (patch 1001271)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-16 22:14:34 +00:00
Włodzimierz Skiba
f07941fc73
wxUSE_LOG fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 19:11:34 +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
134155b159
Removal of deprecated methods.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-13 13:24:57 +00:00
Robin Dunn
37144cf0f1
Invalidate notebook best size when pages are added or removed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-03 15:49:29 +00:00
Dimitri Schoolwerth
dabbc6a5a1
removed SetAutoLayout(true) calls when a corresponding SetSizer() was also called (the latter already calls SetAutoLayout(true) in case of a non-NULL window); usual cleanup: removing tabs and end of line whitespace, TRUE->true, FALSE->false, -1->wxID_ANY, Enable(false)->Disable(), ""->wxEmptyString
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-12 23:44:08 +00:00
Václav Slavík
ed420f6ddd
set size hints in notebook sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-12 19:38:33 +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
Włodzimierz Skiba
1cfac5b878
Centralized wxDefaultSize/wxDefaultPosition. -1->wxID_ANY, TRUE->true and FALSE->false replacements.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-20 11:00:13 +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
Vadim Zeitlin
5982852a06
multiline checkbox doesn't make sense for listbook
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-09 22:04:14 +00:00
Vadim Zeitlin
9a6c9e31b0
added checkbox for testing wxNB_MULTILINE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 20:20:29 +00:00
Julian Smart
dacaa6f142
Applied patch [ 846809 ] Cleaning of 11 samples
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-11 11:25:46 +00:00
Vadim Zeitlin
4e62c3fd3b
make it possible to use this sample for wxListbook testing too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-21 23:12:41 +00:00
Vadim Zeitlin
5307103227
hack to at least let the sample start up (it still crashes later) under Mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-21 14:44:42 +00:00
Julian Smart
c02e5a31c5
Removed some warnings in widgets sample
...
Reduced some flicker in wxNotebook when using
XP controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-31 13:59:28 +00:00
Julian Smart
85b43fbf7a
Attempt to make wxWindows play better with XP themes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 10:27:03 +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
Julian Smart
44e1a03ff3
Applied patch [ 598173 ] Fixes erroneous logging notebook sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-21 15:58:49 +00:00
Vadim Zeitlin
3957448a34
added a command to delete last page and not only the current one
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 00:09:29 +00:00
Vadim Zeitlin
76645ab3e5
fixed notebook sample page creation for wxGTK (patch 581280)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 14:43:09 +00:00
Julian Smart
c1dfe27754
Applied patch [ 581280 ] Revamped notebook sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-19 19:57:58 +00:00
Gilles Depeyrot
8cf3806b82
use wxWindow instead of wxTopLevelWindow (not yet implemented for wxMOTIF)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-05 21:05:23 +00:00
Vadim Zeitlin
28efed0faa
make the main dialog resizeable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 06:16:12 +00:00
Gilles Depeyrot
563c260640
corrections related to wxDialog inheritance changes (wxTopLevelWindow)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-18 21:00:05 +00:00
Vadim Zeitlin
ef2992354c
applied patch 424550 (fix compilation of the notebook sample in tabbed dialog mode)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 17:48:20 +00:00
Julian Smart
37d403aa1c
Added to wxSystemSettings for better GTK+ themes compatibility
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-01 08:35:30 +00:00
Bryan Petty
f6bcfd974e
merged 2.2 branch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-15 19:51:35 +00:00