From 7c4e16e6980ea76d548fc05f1fb1add9a2f127cd Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 24 Oct 2010 14:34:12 +0000 Subject: [PATCH] Use wxChoicebook instead of wxNotebook in the xrc sample. wxNotebook was unusable with so many pages under all platforms and completely unusable under Mac. Replace it with wxChoicebook which allows to select any page quickly instead of having to do it sequentially (or not being able to do it at all under Mac). Another possibility could be to use wxTreebook and organize the pages in categories, similarly to how it is done in the widgets sample. Closes #3699. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/xrc/rc/controls.xrc | 73 ++++++++++++++++++------------------- 1 file changed, 36 insertions(+), 37 deletions(-) diff --git a/samples/xrc/rc/controls.xrc b/samples/xrc/rc/controls.xrc index 83b5da400c..8a92a50b0b 100644 --- a/samples/xrc/rc/controls.xrc +++ b/samples/xrc/rc/controls.xrc @@ -19,11 +19,10 @@ wxGROW|wxALIGN_CENTER_VERTICAL|wxALL 5 - - 1 + 550,250 - + @@ -55,7 +54,7 @@ - + @@ -126,7 +125,7 @@ - + @@ -146,7 +145,7 @@ - + @@ -174,7 +173,7 @@ - + @@ -202,7 +201,7 @@ - + @@ -231,7 +230,7 @@ - + @@ -279,7 +278,7 @@ lay them out using wxSizers, absolute positioning, everything you like! - + @@ -333,7 +332,7 @@ lay them out using wxSizers, absolute positioning, everything you like! - + @@ -380,7 +379,7 @@ lay them out using wxSizers, absolute positioning, everything you like! - + @@ -417,7 +416,7 @@ lay them out using wxSizers, absolute positioning, everything you like! - + @@ -446,7 +445,7 @@ lay them out using wxSizers, absolute positioning, everything you like! - + @@ -474,7 +473,7 @@ lay them out using wxSizers, absolute positioning, everything you like! - + @@ -502,7 +501,7 @@ lay them out using wxSizers, absolute positioning, everything you like! - + @@ -564,7 +563,7 @@ lay them out using wxSizers, absolute positioning, everything you like! - + @@ -585,7 +584,7 @@ lay them out using wxSizers, absolute positioning, everything you like! - + @@ -613,7 +612,7 @@ lay them out using wxSizers, absolute positioning, everything you like! - + @@ -641,7 +640,7 @@ lay them out using wxSizers, absolute positioning, everything you like! - + @@ -673,7 +672,7 @@ lay them out using wxSizers, absolute positioning, everything you like! - + @@ -697,7 +696,7 @@ lay them out using wxSizers, absolute positioning, everything you like! - + @@ -744,7 +743,7 @@ lay them out using wxSizers, absolute positioning, everything you like! - + @@ -766,7 +765,7 @@ lay them out using wxSizers, absolute positioning, everything you like! - + @@ -788,7 +787,7 @@ lay them out using wxSizers, absolute positioning, everything you like! - + @@ -808,7 +807,7 @@ lay them out using wxSizers, absolute positioning, everything you like! - + @@ -829,7 +828,7 @@ lay them out using wxSizers, absolute positioning, everything you like! - + @@ -858,7 +857,7 @@ lay them out using wxSizers, absolute positioning, everything you like! - + @@ -878,7 +877,7 @@ lay them out using wxSizers, absolute positioning, everything you like! - + @@ -954,7 +953,7 @@ lay them out using wxSizers, absolute positioning, everything you like! - + @@ -1098,7 +1097,7 @@ lay them out using wxSizers, absolute positioning, everything you like! - + @@ -1132,7 +1131,7 @@ lay them out using wxSizers, absolute positioning, everything you like! - + 350,280 @@ -1168,7 +1167,7 @@ lay them out using wxSizers, absolute positioning, everything you like! - + @@ -1190,7 +1189,7 @@ lay them out using wxSizers, absolute positioning, everything you like! - + @@ -1274,7 +1273,7 @@ lay them out using wxSizers, absolute positioning, everything you like! - + @@ -1308,8 +1307,8 @@ lay them out using wxSizers, absolute positioning, everything you like! wxALIGN_CENTRE|wxALL 5 - - + + -- 2.50.0