1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>wxWidgets: wxSizer Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="extra_stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="page_container">
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0" style="width: 100%;">
<tbody>
<tr>
<td id="projectlogo">
<a href="http://www.wxwidgets.org/" target="_new">
<img alt="wxWidgets" src="logo.png"/>
</a>
</td>
<td style="padding-left: 0.5em; text-align: right;">
<span id="projectnumber">Version: 3.0.2</span>
</td>
</tr>
</tbody>
</table>
</div>
<!-- Generated by Doxygen 1.8.2 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Categories</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="classes.html"><span>Class Index</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="classwx_sizer-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">wxSizer Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span><div class="ingroups"><a class="el" href="group__group__class__winlayout.html">Window Layout</a></div></div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include <wx/sizer.h></code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
<img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for wxSizer:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classwx_sizer__inherit__graph.png" border="0" usemap="#wx_sizer_inherit__map" alt="Inheritance graph"/></div>
<map name="wx_sizer_inherit__map" id="wx_sizer_inherit__map">
<area shape="rect" id="node5" href="classwx_box_sizer.html" title="The basic idea behind a box sizer is that windows will most often be laid out in rather simple basic ..." alt="" coords="229,161,317,189"/><area shape="rect" id="node13" href="classwx_grid_sizer.html" title="A grid sizer is a sizer which lays out its children in a two-dimensional table with all table fields ..." alt="" coords="425,161,516,189"/><area shape="rect" id="node2" href="classwx_object.html" title="This is the root class of many of the wxWidgets classes." alt="" coords="292,6,367,34"/><area shape="rect" id="node7" href="classwx_static_box_sizer.html" title="wxStaticBoxSizer is a sizer derived from wxBoxSizer but adds a static box around the sizer..." alt="" coords="5,238,128,266"/><area shape="rect" id="node9" href="classwx_std_dialog_button_sizer.html" title="This class creates button layouts which conform to the standard button spacing and ordering defined b..." alt="" coords="152,238,312,266"/><area shape="rect" id="node11" href="classwx_wrap_sizer.html" title="A wrap sizer lays out its items in a single line, like a box sizer – as long as there is space availa..." alt="" coords="336,238,432,266"/><area shape="rect" id="node15" href="classwx_flex_grid_sizer.html" title="A flex grid sizer is a sizer which lays out its children in a two-dimensional table with all table fi..." alt="" coords="456,238,571,266"/><area shape="rect" id="node17" href="classwx_grid_bag_sizer.html" title="A wxSizer that can lay out items in a virtual grid like a wxFlexGridSizer but in this case explicit p..." alt="" coords="457,315,569,343"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="classwx_sizer.html" title="wxSizer is the abstract base class used for laying out subwindows in a window.">wxSizer</a> is the abstract base class used for laying out subwindows in a window. </p>
<p>You cannot use <a class="el" href="classwx_sizer.html" title="wxSizer is the abstract base class used for laying out subwindows in a window.">wxSizer</a> directly; instead, you will have to use one of the sizer classes derived from it. Currently there are <a class="el" href="classwx_box_sizer.html" title="The basic idea behind a box sizer is that windows will most often be laid out in rather simple basic ...">wxBoxSizer</a>, <a class="el" href="classwx_static_box_sizer.html" title="wxStaticBoxSizer is a sizer derived from wxBoxSizer but adds a static box around the sizer...">wxStaticBoxSizer</a>, <a class="el" href="classwx_grid_sizer.html" title="A grid sizer is a sizer which lays out its children in a two-dimensional table with all table fields ...">wxGridSizer</a>, <a class="el" href="classwx_flex_grid_sizer.html" title="A flex grid sizer is a sizer which lays out its children in a two-dimensional table with all table fi...">wxFlexGridSizer</a>, <a class="el" href="classwx_wrap_sizer.html" title="A wrap sizer lays out its items in a single line, like a box sizer – as long as there is space availa...">wxWrapSizer</a> and <a class="el" href="classwx_grid_bag_sizer.html" title="A wxSizer that can lay out items in a virtual grid like a wxFlexGridSizer but in this case explicit p...">wxGridBagSizer</a>.</p>
<p>The layout algorithm used by sizers in wxWidgets is closely related to layout in other GUI toolkits, such as Java's AWT, the GTK toolkit or the Qt toolkit. It is based upon the idea of the individual subwindows reporting their minimal required size and their ability to get stretched if the size of the parent window has changed.</p>
<p>This will most often mean that the programmer does not set the original size of a dialog in the beginning, rather the dialog will be assigned a sizer and this sizer will be queried about the recommended size. The sizer in turn will query its children, which can be normal windows, empty space or other sizers, so that a hierarchy of sizers can be constructed. Note that <a class="el" href="classwx_sizer.html" title="wxSizer is the abstract base class used for laying out subwindows in a window.">wxSizer</a> does not derive from <a class="el" href="classwx_window.html" title="wxWindow is the base class for all windows and represents any visible object on screen.">wxWindow</a> and thus does not interfere with tab ordering and requires very little resources compared to a real window on screen.</p>
<p>What makes sizers so well fitted for use in wxWidgets is the fact that every control reports its own minimal size and the algorithm can handle differences in font sizes or different window (dialog item) sizes on different platforms without problems. If e.g. the standard font as well as the overall design of Motif widgets requires more space than on Windows, the initial dialog size will automatically be bigger on Motif than on Windows.</p>
<p>Sizers may also be used to control the layout of custom drawn items on the window. The <a class="el" href="classwx_sizer.html#a4e2122f2749261473c21cb192d00709f" title="Appends a child to the sizer.">wxSizer::Add()</a>, <a class="el" href="classwx_sizer.html#aafc5f53e9d3511440be05f9805bb2871" title="Insert a child into the sizer before any existing item at index.">wxSizer::Insert()</a>, and <a class="el" href="classwx_sizer.html#a7417fb9b0e3b4777c11b381f14cf0153" title="Same as Add(), but prepends the items to the beginning of the list of items (windows, subsizers or spaces) owned by this sizer.">wxSizer::Prepend()</a> functions return a pointer to the newly added <a class="el" href="classwx_sizer_item.html" title="The wxSizerItem class is used to track the position, size and other attributes of each item managed b...">wxSizerItem</a>. Just add empty space of the desired size and attributes, and then use the <a class="el" href="classwx_sizer_item.html#a3c3a8e59193eb64cb6cf1e120c9ed544" title="Get the rectangle of the item on the parent window, excluding borders.">wxSizerItem::GetRect()</a> method to determine where the drawing operations should take place.</p>
<p>Please notice that sizers, like child windows, are owned by the library and will be deleted by it which implies that they must be allocated on the heap. However if you create a sizer and do not add it to another sizer or window, the library wouldn't be able to delete such an orphan sizer and in this, and only this, case it should be deleted explicitly.</p>
<h1><a class="anchor" id="wxsizer_flags"></a>
wxSizer flags</h1>
<p>The "flag" argument accepted by wxSizeItem constructors and other functions, e.g. <a class="el" href="classwx_sizer.html#a4e2122f2749261473c21cb192d00709f" title="Appends a child to the sizer.">wxSizer::Add()</a>, is OR-combination of the following flags. Two main behaviours are defined using these flags. One is the border around a window: the border parameter determines the border width whereas the flags given here determine which side(s) of the item that the border will be added. The other flags determine how the sizer item behaves when the space allotted to the sizer changes, and is somewhat dependent on the specific kind of sizer used.</p>
<table class="doclist" border="1" cellspacing="0">
<tr>
<td><span class="itemdef">wxTOP<br/>
wxBOTTOM<br/>
wxLEFT<br/>
wxRIGHT<br/>
wxALL</span> </td><td>These flags are used to specify which side(s) of the sizer item the border width will apply to. </td></tr>
<tr>
<td><span class="itemdef">wxEXPAND</span> </td><td>The item will be expanded to fill the space assigned to the item. </td></tr>
<tr>
<td><span class="itemdef">wxSHAPED</span> </td><td>The item will be expanded as much as possible while also maintaining its aspect ratio. </td></tr>
<tr>
<td><span class="itemdef">wxFIXED_MINSIZE</span> </td><td>Normally wxSizers will use GetAdjustedBestSize() to determine what the minimal size of window items should be, and will use that size to calculate the layout. This allows layouts to adjust when an item changes and its best size becomes different. If you would rather have a window item stay the size it started with then use <code>wxFIXED_MINSIZE</code>. </td></tr>
<tr>
<td><span class="itemdef">wxRESERVE_SPACE_EVEN_IF_HIDDEN</span> </td><td>Normally wxSizers don't allocate space for hidden windows or other items. This flag overrides this behaviour so that sufficient space is allocated for the window even if it isn't visible. This makes it possible to dynamically show and hide controls without resizing parent dialog, for example. (Available since 2.8.8.) </td></tr>
<tr>
<td><span class="itemdef">wxALIGN_CENTER<br/>
wxALIGN_CENTRE<br/>
wxALIGN_LEFT<br/>
wxALIGN_RIGHT<br/>
wxALIGN_TOP<br/>
wxALIGN_BOTTOM<br/>
wxALIGN_CENTER_VERTICAL<br/>
wxALIGN_CENTRE_VERTICAL<br/>
wxALIGN_CENTER_HORIZONTAL<br/>
wxALIGN_CENTRE_HORIZONTAL</span> </td><td>The <code>wxALIGN_*</code> flags allow you to specify the alignment of the item within the space allotted to it by the sizer, adjusted for the border if any. </td></tr>
</table>
<h2></h2>
<div><span class="lib">Library:</span>  <span class="lib_text"><a class="el" href="page_libs.html#page_libs_wxcore">wxCore</a></span></div><div><span class="category">Category:</span>  <span class="category_text"><a class="el" href="group__group__class__winlayout.html">Window Layout</a></span></div><dl class="section see"><dt>See Also</dt><dd><a class="el" href="overview_sizer.html">Sizers Overview</a> </dd></dl>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ae05f76a5e5a8e721065dd5aec1bd6cb2"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#ae05f76a5e5a8e721065dd5aec1bd6cb2">wxSizer</a> ()</td></tr>
<tr class="memdesc:ae05f76a5e5a8e721065dd5aec1bd6cb2"><td class="mdescLeft"> </td><td class="mdescRight">The constructor. <a href="#ae05f76a5e5a8e721065dd5aec1bd6cb2"></a><br/></td></tr>
<tr class="separator:ae05f76a5e5a8e721065dd5aec1bd6cb2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5d52467e4e1367939ef4d9ddc6876cfe"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a5d52467e4e1367939ef4d9ddc6876cfe">~wxSizer</a> ()</td></tr>
<tr class="memdesc:a5d52467e4e1367939ef4d9ddc6876cfe"><td class="mdescLeft"> </td><td class="mdescRight">The destructor. <a href="#a5d52467e4e1367939ef4d9ddc6876cfe"></a><br/></td></tr>
<tr class="separator:a5d52467e4e1367939ef4d9ddc6876cfe"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4e2122f2749261473c21cb192d00709f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a4e2122f2749261473c21cb192d00709f">Add</a> (<a class="el" href="classwx_window.html">wxWindow</a> *window, const <a class="el" href="classwx_sizer_flags.html">wxSizerFlags</a> &flags)</td></tr>
<tr class="memdesc:a4e2122f2749261473c21cb192d00709f"><td class="mdescLeft"> </td><td class="mdescRight">Appends a child to the sizer. <a href="#a4e2122f2749261473c21cb192d00709f"></a><br/></td></tr>
<tr class="separator:a4e2122f2749261473c21cb192d00709f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a81d21f287c416da96739a73faa54840d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a81d21f287c416da96739a73faa54840d">Add</a> (<a class="el" href="classwx_window.html">wxWindow</a> *window, int proportion=0, int flag=0, int border=0, <a class="el" href="classwx_object.html">wxObject</a> *userData=NULL)</td></tr>
<tr class="memdesc:a81d21f287c416da96739a73faa54840d"><td class="mdescLeft"> </td><td class="mdescRight">Appends a child to the sizer. <a href="#a81d21f287c416da96739a73faa54840d"></a><br/></td></tr>
<tr class="separator:a81d21f287c416da96739a73faa54840d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1c45a17c2d1e2d669c46d558d521d891"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a1c45a17c2d1e2d669c46d558d521d891">Add</a> (<a class="el" href="classwx_sizer.html">wxSizer</a> *sizer, const <a class="el" href="classwx_sizer_flags.html">wxSizerFlags</a> &flags)</td></tr>
<tr class="memdesc:a1c45a17c2d1e2d669c46d558d521d891"><td class="mdescLeft"> </td><td class="mdescRight">Appends a child to the sizer. <a href="#a1c45a17c2d1e2d669c46d558d521d891"></a><br/></td></tr>
<tr class="separator:a1c45a17c2d1e2d669c46d558d521d891"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aaa40babf76cdb56d20f6c37fff282610"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#aaa40babf76cdb56d20f6c37fff282610">Add</a> (<a class="el" href="classwx_sizer.html">wxSizer</a> *sizer, int proportion=0, int flag=0, int border=0, <a class="el" href="classwx_object.html">wxObject</a> *userData=NULL)</td></tr>
<tr class="memdesc:aaa40babf76cdb56d20f6c37fff282610"><td class="mdescLeft"> </td><td class="mdescRight">Appends a child to the sizer. <a href="#aaa40babf76cdb56d20f6c37fff282610"></a><br/></td></tr>
<tr class="separator:aaa40babf76cdb56d20f6c37fff282610"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa2d6009b34b1d34de920390795d8c0fb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#aa2d6009b34b1d34de920390795d8c0fb">Add</a> (int width, int height, int proportion=0, int flag=0, int border=0, <a class="el" href="classwx_object.html">wxObject</a> *userData=NULL)</td></tr>
<tr class="memdesc:aa2d6009b34b1d34de920390795d8c0fb"><td class="mdescLeft"> </td><td class="mdescRight">Appends a spacer child to the sizer. <a href="#aa2d6009b34b1d34de920390795d8c0fb"></a><br/></td></tr>
<tr class="separator:aa2d6009b34b1d34de920390795d8c0fb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae31cc0acff44034260899966ce8d2a3c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#ae31cc0acff44034260899966ce8d2a3c">Add</a> (int width, int height, const <a class="el" href="classwx_sizer_flags.html">wxSizerFlags</a> &flags)</td></tr>
<tr class="memdesc:ae31cc0acff44034260899966ce8d2a3c"><td class="mdescLeft"> </td><td class="mdescRight">Appends a spacer child to the sizer. <a href="#ae31cc0acff44034260899966ce8d2a3c"></a><br/></td></tr>
<tr class="separator:ae31cc0acff44034260899966ce8d2a3c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6d7602d14f246395773e00ca46bf816a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a6d7602d14f246395773e00ca46bf816a">Add</a> (<a class="el" href="classwx_sizer_item.html">wxSizerItem</a> *item)</td></tr>
<tr class="separator:a6d7602d14f246395773e00ca46bf816a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aedfc0bfd98114c348766431dcb49c9f3"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_sizer_item.html">wxSizerItem</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#aedfc0bfd98114c348766431dcb49c9f3">AddSpacer</a> (int size)</td></tr>
<tr class="memdesc:aedfc0bfd98114c348766431dcb49c9f3"><td class="mdescLeft"> </td><td class="mdescRight">This base function adds non-stretchable space to both the horizontal and vertical orientation of the sizer. <a href="#aedfc0bfd98114c348766431dcb49c9f3"></a><br/></td></tr>
<tr class="separator:aedfc0bfd98114c348766431dcb49c9f3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af529134a9dc74a0551d12e747af5c976"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#af529134a9dc74a0551d12e747af5c976">AddStretchSpacer</a> (int prop=1)</td></tr>
<tr class="memdesc:af529134a9dc74a0551d12e747af5c976"><td class="mdescLeft"> </td><td class="mdescRight">Adds stretchable space to the sizer. <a href="#af529134a9dc74a0551d12e747af5c976"></a><br/></td></tr>
<tr class="separator:af529134a9dc74a0551d12e747af5c976"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a371b9b72e55c1fedfbea9d298bc2df77"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_size.html">wxSize</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a371b9b72e55c1fedfbea9d298bc2df77">CalcMin</a> ()=0</td></tr>
<tr class="memdesc:a371b9b72e55c1fedfbea9d298bc2df77"><td class="mdescLeft"> </td><td class="mdescRight">This method is abstract and has to be overwritten by any derived class. <a href="#a371b9b72e55c1fedfbea9d298bc2df77"></a><br/></td></tr>
<tr class="separator:a371b9b72e55c1fedfbea9d298bc2df77"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5909429d14de1baf1b832d5c1abf7821"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a5909429d14de1baf1b832d5c1abf7821">Clear</a> (bool delete_windows=false)</td></tr>
<tr class="memdesc:a5909429d14de1baf1b832d5c1abf7821"><td class="mdescLeft"> </td><td class="mdescRight">Detaches all children from the sizer. <a href="#a5909429d14de1baf1b832d5c1abf7821"></a><br/></td></tr>
<tr class="separator:a5909429d14de1baf1b832d5c1abf7821"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0da5d65c9b4192bd24cc3feb1be69e59"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_size.html">wxSize</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a0da5d65c9b4192bd24cc3feb1be69e59">ComputeFittingClientSize</a> (<a class="el" href="classwx_window.html">wxWindow</a> *window)</td></tr>
<tr class="memdesc:a0da5d65c9b4192bd24cc3feb1be69e59"><td class="mdescLeft"> </td><td class="mdescRight">Computes client area size for <em>window</em> so that it matches the sizer's minimal size. <a href="#a0da5d65c9b4192bd24cc3feb1be69e59"></a><br/></td></tr>
<tr class="separator:a0da5d65c9b4192bd24cc3feb1be69e59"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3056cb4d47ea296e095b6cbc35d61155"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_size.html">wxSize</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a3056cb4d47ea296e095b6cbc35d61155">ComputeFittingWindowSize</a> (<a class="el" href="classwx_window.html">wxWindow</a> *window)</td></tr>
<tr class="memdesc:a3056cb4d47ea296e095b6cbc35d61155"><td class="mdescLeft"> </td><td class="mdescRight">Like <a class="el" href="classwx_sizer.html#a0da5d65c9b4192bd24cc3feb1be69e59" title="Computes client area size for window so that it matches the sizer's minimal size.">ComputeFittingClientSize()</a>, but converts the result into window size. <a href="#a3056cb4d47ea296e095b6cbc35d61155"></a><br/></td></tr>
<tr class="separator:a3056cb4d47ea296e095b6cbc35d61155"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a362d7d556185fe9cd1b5d24004b86518"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a362d7d556185fe9cd1b5d24004b86518">Detach</a> (<a class="el" href="classwx_window.html">wxWindow</a> *window)</td></tr>
<tr class="memdesc:a362d7d556185fe9cd1b5d24004b86518"><td class="mdescLeft"> </td><td class="mdescRight">Detach the child <em>window</em> from the sizer without destroying it. <a href="#a362d7d556185fe9cd1b5d24004b86518"></a><br/></td></tr>
<tr class="separator:a362d7d556185fe9cd1b5d24004b86518"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0283dc800bd1c03cd10d437cef240791"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a0283dc800bd1c03cd10d437cef240791">Detach</a> (<a class="el" href="classwx_sizer.html">wxSizer</a> *sizer)</td></tr>
<tr class="memdesc:a0283dc800bd1c03cd10d437cef240791"><td class="mdescLeft"> </td><td class="mdescRight">Detach the child <em>sizer</em> from the sizer without destroying it. <a href="#a0283dc800bd1c03cd10d437cef240791"></a><br/></td></tr>
<tr class="separator:a0283dc800bd1c03cd10d437cef240791"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aef45062fe9096f2c48c20d8ae3ad6476"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#aef45062fe9096f2c48c20d8ae3ad6476">Detach</a> (int index)</td></tr>
<tr class="memdesc:aef45062fe9096f2c48c20d8ae3ad6476"><td class="mdescLeft"> </td><td class="mdescRight">Detach a item at position <em>index</em> from the sizer without destroying it. <a href="#aef45062fe9096f2c48c20d8ae3ad6476"></a><br/></td></tr>
<tr class="separator:aef45062fe9096f2c48c20d8ae3ad6476"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abad9cedc0cbe9ade2c799da23462d17e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_size.html">wxSize</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#abad9cedc0cbe9ade2c799da23462d17e">Fit</a> (<a class="el" href="classwx_window.html">wxWindow</a> *window)</td></tr>
<tr class="memdesc:abad9cedc0cbe9ade2c799da23462d17e"><td class="mdescLeft"> </td><td class="mdescRight">Tell the sizer to resize the <em>window</em> so that its client area matches the sizer's minimal size (<a class="el" href="classwx_sizer.html#a0da5d65c9b4192bd24cc3feb1be69e59" title="Computes client area size for window so that it matches the sizer's minimal size.">ComputeFittingClientSize()</a> is called to determine it). <a href="#abad9cedc0cbe9ade2c799da23462d17e"></a><br/></td></tr>
<tr class="separator:abad9cedc0cbe9ade2c799da23462d17e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a37904ed600fd389345295ff89aa09fdc"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a37904ed600fd389345295ff89aa09fdc">FitInside</a> (<a class="el" href="classwx_window.html">wxWindow</a> *window)</td></tr>
<tr class="memdesc:a37904ed600fd389345295ff89aa09fdc"><td class="mdescLeft"> </td><td class="mdescRight">Tell the sizer to resize the virtual size of the <em>window</em> to match the sizer's minimal size. <a href="#a37904ed600fd389345295ff89aa09fdc"></a><br/></td></tr>
<tr class="separator:a37904ed600fd389345295ff89aa09fdc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad0cc504036ef6c3a9d670dc3c98df3a5"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#ad0cc504036ef6c3a9d670dc3c98df3a5">InformFirstDirection</a> (int direction, int size, int availableOtherDir)</td></tr>
<tr class="memdesc:ad0cc504036ef6c3a9d670dc3c98df3a5"><td class="mdescLeft"> </td><td class="mdescRight">Inform sizer about the first direction that has been decided (by parent item). <a href="#ad0cc504036ef6c3a9d670dc3c98df3a5"></a><br/></td></tr>
<tr class="separator:ad0cc504036ef6c3a9d670dc3c98df3a5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afc4df63c94cf062b7ef29d274d2ee6c1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_window.html">wxWindow</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#afc4df63c94cf062b7ef29d274d2ee6c1">GetContainingWindow</a> () const </td></tr>
<tr class="memdesc:afc4df63c94cf062b7ef29d274d2ee6c1"><td class="mdescLeft"> </td><td class="mdescRight">Returns the window this sizer is used in or <span class="literal">NULL</span> if none. <a href="#afc4df63c94cf062b7ef29d274d2ee6c1"></a><br/></td></tr>
<tr class="separator:afc4df63c94cf062b7ef29d274d2ee6c1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a687d055d72ff655c3e86a7010f16bfc6"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a687d055d72ff655c3e86a7010f16bfc6">SetContainingWindow</a> (<a class="el" href="classwx_window.html">wxWindow</a> *window)</td></tr>
<tr class="memdesc:a687d055d72ff655c3e86a7010f16bfc6"><td class="mdescLeft"> </td><td class="mdescRight">Set the window this sizer is used in. <a href="#a687d055d72ff655c3e86a7010f16bfc6"></a><br/></td></tr>
<tr class="separator:a687d055d72ff655c3e86a7010f16bfc6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac0e0239d22c99213b99bbafdade6793d"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#ac0e0239d22c99213b99bbafdade6793d">GetItemCount</a> () const </td></tr>
<tr class="memdesc:ac0e0239d22c99213b99bbafdade6793d"><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of items in the sizer. <a href="#ac0e0239d22c99213b99bbafdade6793d"></a><br/></td></tr>
<tr class="separator:ac0e0239d22c99213b99bbafdade6793d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:adca9ab35f05d28156ac0d4bc2e2ed6ac"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#adca9ab35f05d28156ac0d4bc2e2ed6ac">GetItem</a> (<a class="el" href="classwx_window.html">wxWindow</a> *window, bool recursive=false)</td></tr>
<tr class="memdesc:adca9ab35f05d28156ac0d4bc2e2ed6ac"><td class="mdescLeft"> </td><td class="mdescRight">Finds <a class="el" href="classwx_sizer_item.html" title="The wxSizerItem class is used to track the position, size and other attributes of each item managed b...">wxSizerItem</a> which holds the given <em>window</em>. <a href="#adca9ab35f05d28156ac0d4bc2e2ed6ac"></a><br/></td></tr>
<tr class="separator:adca9ab35f05d28156ac0d4bc2e2ed6ac"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acb45fd75ab336670f41879fd557a7c65"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#acb45fd75ab336670f41879fd557a7c65">GetItem</a> (<a class="el" href="classwx_sizer.html">wxSizer</a> *sizer, bool recursive=false)</td></tr>
<tr class="memdesc:acb45fd75ab336670f41879fd557a7c65"><td class="mdescLeft"> </td><td class="mdescRight">Finds <a class="el" href="classwx_sizer_item.html" title="The wxSizerItem class is used to track the position, size and other attributes of each item managed b...">wxSizerItem</a> which holds the given <em>sizer</em>. <a href="#acb45fd75ab336670f41879fd557a7c65"></a><br/></td></tr>
<tr class="separator:acb45fd75ab336670f41879fd557a7c65"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2aa7f3c241944ae28ee9cbd6df662227"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a2aa7f3c241944ae28ee9cbd6df662227">GetItem</a> (size_t index)</td></tr>
<tr class="memdesc:a2aa7f3c241944ae28ee9cbd6df662227"><td class="mdescLeft"> </td><td class="mdescRight">Finds <a class="el" href="classwx_sizer_item.html" title="The wxSizerItem class is used to track the position, size and other attributes of each item managed b...">wxSizerItem</a> which is located in the sizer at position <em>index</em>. <a href="#a2aa7f3c241944ae28ee9cbd6df662227"></a><br/></td></tr>
<tr class="separator:a2aa7f3c241944ae28ee9cbd6df662227"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab94e21f858a3c82055faed4b621e4ad2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#ab94e21f858a3c82055faed4b621e4ad2">GetItemById</a> (int id, bool recursive=false)</td></tr>
<tr class="memdesc:ab94e21f858a3c82055faed4b621e4ad2"><td class="mdescLeft"> </td><td class="mdescRight">Finds item of the sizer which has the given <em>id</em>. <a href="#ab94e21f858a3c82055faed4b621e4ad2"></a><br/></td></tr>
<tr class="separator:ab94e21f858a3c82055faed4b621e4ad2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9fab8d16aefe347dbd57e0bdfe0d810d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_size.html">wxSize</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a9fab8d16aefe347dbd57e0bdfe0d810d">GetMinSize</a> ()</td></tr>
<tr class="memdesc:a9fab8d16aefe347dbd57e0bdfe0d810d"><td class="mdescLeft"> </td><td class="mdescRight">Returns the minimal size of the sizer. <a href="#a9fab8d16aefe347dbd57e0bdfe0d810d"></a><br/></td></tr>
<tr class="separator:a9fab8d16aefe347dbd57e0bdfe0d810d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3907d4a032274c808b57de3c0c70d215"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_point.html">wxPoint</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a3907d4a032274c808b57de3c0c70d215">GetPosition</a> () const </td></tr>
<tr class="memdesc:a3907d4a032274c808b57de3c0c70d215"><td class="mdescLeft"> </td><td class="mdescRight">Returns the current position of the sizer. <a href="#a3907d4a032274c808b57de3c0c70d215"></a><br/></td></tr>
<tr class="separator:a3907d4a032274c808b57de3c0c70d215"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4898d4754c1b45e8acc79a2376fc6220"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_size.html">wxSize</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a4898d4754c1b45e8acc79a2376fc6220">GetSize</a> () const </td></tr>
<tr class="memdesc:a4898d4754c1b45e8acc79a2376fc6220"><td class="mdescLeft"> </td><td class="mdescRight">Returns the current size of the sizer. <a href="#a4898d4754c1b45e8acc79a2376fc6220"></a><br/></td></tr>
<tr class="separator:a4898d4754c1b45e8acc79a2376fc6220"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a317299431009a0adb4874f9c3f39ea8c"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a317299431009a0adb4874f9c3f39ea8c">Hide</a> (<a class="el" href="classwx_window.html">wxWindow</a> *window, bool recursive=false)</td></tr>
<tr class="memdesc:a317299431009a0adb4874f9c3f39ea8c"><td class="mdescLeft"> </td><td class="mdescRight">Hides the child <em>window</em>. <a href="#a317299431009a0adb4874f9c3f39ea8c"></a><br/></td></tr>
<tr class="separator:a317299431009a0adb4874f9c3f39ea8c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae822dbd21860bfdbf7f76ca22cdcc1f4"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#ae822dbd21860bfdbf7f76ca22cdcc1f4">Hide</a> (<a class="el" href="classwx_sizer.html">wxSizer</a> *sizer, bool recursive=false)</td></tr>
<tr class="memdesc:ae822dbd21860bfdbf7f76ca22cdcc1f4"><td class="mdescLeft"> </td><td class="mdescRight">Hides the child <em>sizer</em>. <a href="#ae822dbd21860bfdbf7f76ca22cdcc1f4"></a><br/></td></tr>
<tr class="separator:ae822dbd21860bfdbf7f76ca22cdcc1f4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a53c972f52267daea500d78f606fa0032"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a53c972f52267daea500d78f606fa0032">Hide</a> (size_t index)</td></tr>
<tr class="memdesc:a53c972f52267daea500d78f606fa0032"><td class="mdescLeft"> </td><td class="mdescRight">Hides the item at position <em>index</em>. <a href="#a53c972f52267daea500d78f606fa0032"></a><br/></td></tr>
<tr class="separator:a53c972f52267daea500d78f606fa0032"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aafc5f53e9d3511440be05f9805bb2871"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#aafc5f53e9d3511440be05f9805bb2871">Insert</a> (size_t index, <a class="el" href="classwx_window.html">wxWindow</a> *window, const <a class="el" href="classwx_sizer_flags.html">wxSizerFlags</a> &flags)</td></tr>
<tr class="memdesc:aafc5f53e9d3511440be05f9805bb2871"><td class="mdescLeft"> </td><td class="mdescRight">Insert a child into the sizer before any existing item at <em>index</em>. <a href="#aafc5f53e9d3511440be05f9805bb2871"></a><br/></td></tr>
<tr class="separator:aafc5f53e9d3511440be05f9805bb2871"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aecb6744c0c82c0eb1ae12a532d5d019b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#aecb6744c0c82c0eb1ae12a532d5d019b">Insert</a> (size_t index, <a class="el" href="classwx_window.html">wxWindow</a> *window, int proportion=0, int flag=0, int border=0, <a class="el" href="classwx_object.html">wxObject</a> *userData=NULL)</td></tr>
<tr class="memdesc:aecb6744c0c82c0eb1ae12a532d5d019b"><td class="mdescLeft"> </td><td class="mdescRight">Insert a child into the sizer before any existing item at <em>index</em>. <a href="#aecb6744c0c82c0eb1ae12a532d5d019b"></a><br/></td></tr>
<tr class="separator:aecb6744c0c82c0eb1ae12a532d5d019b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a244f64c3d5c900615b2384b320f6c17b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a244f64c3d5c900615b2384b320f6c17b">Insert</a> (size_t index, <a class="el" href="classwx_sizer.html">wxSizer</a> *sizer, const <a class="el" href="classwx_sizer_flags.html">wxSizerFlags</a> &flags)</td></tr>
<tr class="memdesc:a244f64c3d5c900615b2384b320f6c17b"><td class="mdescLeft"> </td><td class="mdescRight">Insert a child into the sizer before any existing item at <em>index</em>. <a href="#a244f64c3d5c900615b2384b320f6c17b"></a><br/></td></tr>
<tr class="separator:a244f64c3d5c900615b2384b320f6c17b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9308aed2cb55227ac1aec7e14707eb3e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a9308aed2cb55227ac1aec7e14707eb3e">Insert</a> (size_t index, <a class="el" href="classwx_sizer.html">wxSizer</a> *sizer, int proportion=0, int flag=0, int border=0, <a class="el" href="classwx_object.html">wxObject</a> *userData=NULL)</td></tr>
<tr class="memdesc:a9308aed2cb55227ac1aec7e14707eb3e"><td class="mdescLeft"> </td><td class="mdescRight">Insert a child into the sizer before any existing item at <em>index</em>. <a href="#a9308aed2cb55227ac1aec7e14707eb3e"></a><br/></td></tr>
<tr class="separator:a9308aed2cb55227ac1aec7e14707eb3e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a43cfac9112288a7d9302ceb674694bf4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a43cfac9112288a7d9302ceb674694bf4">Insert</a> (size_t index, int width, int height, int proportion=0, int flag=0, int border=0, <a class="el" href="classwx_object.html">wxObject</a> *userData=NULL)</td></tr>
<tr class="memdesc:a43cfac9112288a7d9302ceb674694bf4"><td class="mdescLeft"> </td><td class="mdescRight">Insert a child into the sizer before any existing item at <em>index</em>. <a href="#a43cfac9112288a7d9302ceb674694bf4"></a><br/></td></tr>
<tr class="separator:a43cfac9112288a7d9302ceb674694bf4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a77ba44e034aa8a6d7a9ff051dbb46e7b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a77ba44e034aa8a6d7a9ff051dbb46e7b">Insert</a> (size_t index, int width, int height, const <a class="el" href="classwx_sizer_flags.html">wxSizerFlags</a> &flags)</td></tr>
<tr class="memdesc:a77ba44e034aa8a6d7a9ff051dbb46e7b"><td class="mdescLeft"> </td><td class="mdescRight">Insert a child into the sizer before any existing item at <em>index</em>. <a href="#a77ba44e034aa8a6d7a9ff051dbb46e7b"></a><br/></td></tr>
<tr class="separator:a77ba44e034aa8a6d7a9ff051dbb46e7b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6d1daeda52f9f944a0ebd667471ecf6d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a6d1daeda52f9f944a0ebd667471ecf6d">Insert</a> (size_t index, <a class="el" href="classwx_sizer_item.html">wxSizerItem</a> *item)</td></tr>
<tr class="separator:a6d1daeda52f9f944a0ebd667471ecf6d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afb001f9018ff92400937bf6bd494de0d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#afb001f9018ff92400937bf6bd494de0d">InsertSpacer</a> (size_t index, int size)</td></tr>
<tr class="memdesc:afb001f9018ff92400937bf6bd494de0d"><td class="mdescLeft"> </td><td class="mdescRight">Inserts non-stretchable space to the sizer. <a href="#afb001f9018ff92400937bf6bd494de0d"></a><br/></td></tr>
<tr class="separator:afb001f9018ff92400937bf6bd494de0d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8aeaaac2a98635d45a06961e505e8dde"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a8aeaaac2a98635d45a06961e505e8dde">InsertStretchSpacer</a> (size_t index, int prop=1)</td></tr>
<tr class="memdesc:a8aeaaac2a98635d45a06961e505e8dde"><td class="mdescLeft"> </td><td class="mdescRight">Inserts stretchable space to the sizer. <a href="#a8aeaaac2a98635d45a06961e505e8dde"></a><br/></td></tr>
<tr class="separator:a8aeaaac2a98635d45a06961e505e8dde"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae456d3459b9b31545100a799eb5e8c2a"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#ae456d3459b9b31545100a799eb5e8c2a">IsEmpty</a> () const </td></tr>
<tr class="memdesc:ae456d3459b9b31545100a799eb5e8c2a"><td class="mdescLeft"> </td><td class="mdescRight">Return <span class="literal">true</span> if the sizer has no elements. <a href="#ae456d3459b9b31545100a799eb5e8c2a"></a><br/></td></tr>
<tr class="separator:ae456d3459b9b31545100a799eb5e8c2a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a44f05d5396f62aa3764d319489223536"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a44f05d5396f62aa3764d319489223536">IsShown</a> (<a class="el" href="classwx_window.html">wxWindow</a> *window) const </td></tr>
<tr class="memdesc:a44f05d5396f62aa3764d319489223536"><td class="mdescLeft"> </td><td class="mdescRight">Returns <span class="literal">true</span> if the <em>window</em> is shown. <a href="#a44f05d5396f62aa3764d319489223536"></a><br/></td></tr>
<tr class="separator:a44f05d5396f62aa3764d319489223536"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5fd1c503a027709c29e4f56c9707b75c"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a5fd1c503a027709c29e4f56c9707b75c">IsShown</a> (<a class="el" href="classwx_sizer.html">wxSizer</a> *sizer) const </td></tr>
<tr class="memdesc:a5fd1c503a027709c29e4f56c9707b75c"><td class="mdescLeft"> </td><td class="mdescRight">Returns <span class="literal">true</span> if the <em>sizer</em> is shown. <a href="#a5fd1c503a027709c29e4f56c9707b75c"></a><br/></td></tr>
<tr class="separator:a5fd1c503a027709c29e4f56c9707b75c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7543a671a8ae7193ba8d15532ca8712d"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a7543a671a8ae7193ba8d15532ca8712d">IsShown</a> (size_t index) const </td></tr>
<tr class="memdesc:a7543a671a8ae7193ba8d15532ca8712d"><td class="mdescLeft"> </td><td class="mdescRight">Returns <span class="literal">true</span> if the item at <em>index</em> is shown. <a href="#a7543a671a8ae7193ba8d15532ca8712d"></a><br/></td></tr>
<tr class="separator:a7543a671a8ae7193ba8d15532ca8712d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1ea8589882944f8ac78b6ff8abde1554"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a1ea8589882944f8ac78b6ff8abde1554">Layout</a> ()</td></tr>
<tr class="memdesc:a1ea8589882944f8ac78b6ff8abde1554"><td class="mdescLeft"> </td><td class="mdescRight">Call this to force layout of the children anew, e.g. after having added a child to or removed a child (window, other sizer or space) from the sizer while keeping the current dimension. <a href="#a1ea8589882944f8ac78b6ff8abde1554"></a><br/></td></tr>
<tr class="separator:a1ea8589882944f8ac78b6ff8abde1554"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7417fb9b0e3b4777c11b381f14cf0153"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a7417fb9b0e3b4777c11b381f14cf0153">Prepend</a> (<a class="el" href="classwx_window.html">wxWindow</a> *window, const <a class="el" href="classwx_sizer_flags.html">wxSizerFlags</a> &flags)</td></tr>
<tr class="memdesc:a7417fb9b0e3b4777c11b381f14cf0153"><td class="mdescLeft"> </td><td class="mdescRight">Same as <a class="el" href="classwx_sizer.html#a4e2122f2749261473c21cb192d00709f" title="Appends a child to the sizer.">Add()</a>, but prepends the items to the beginning of the list of items (windows, subsizers or spaces) owned by this sizer. <a href="#a7417fb9b0e3b4777c11b381f14cf0153"></a><br/></td></tr>
<tr class="separator:a7417fb9b0e3b4777c11b381f14cf0153"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a66ce726dcc4bf0a283530d3bc425aae9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a66ce726dcc4bf0a283530d3bc425aae9">Prepend</a> (<a class="el" href="classwx_window.html">wxWindow</a> *window, int proportion=0, int flag=0, int border=0, <a class="el" href="classwx_object.html">wxObject</a> *userData=NULL)</td></tr>
<tr class="memdesc:a66ce726dcc4bf0a283530d3bc425aae9"><td class="mdescLeft"> </td><td class="mdescRight">Same as <a class="el" href="classwx_sizer.html#a4e2122f2749261473c21cb192d00709f" title="Appends a child to the sizer.">Add()</a>, but prepends the items to the beginning of the list of items (windows, subsizers or spaces) owned by this sizer. <a href="#a66ce726dcc4bf0a283530d3bc425aae9"></a><br/></td></tr>
<tr class="separator:a66ce726dcc4bf0a283530d3bc425aae9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aedfd27f1b77cd34d23c06e001670a62d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#aedfd27f1b77cd34d23c06e001670a62d">Prepend</a> (<a class="el" href="classwx_sizer.html">wxSizer</a> *sizer, const <a class="el" href="classwx_sizer_flags.html">wxSizerFlags</a> &flags)</td></tr>
<tr class="memdesc:aedfd27f1b77cd34d23c06e001670a62d"><td class="mdescLeft"> </td><td class="mdescRight">Same as <a class="el" href="classwx_sizer.html#a4e2122f2749261473c21cb192d00709f" title="Appends a child to the sizer.">Add()</a>, but prepends the items to the beginning of the list of items (windows, subsizers or spaces) owned by this sizer. <a href="#aedfd27f1b77cd34d23c06e001670a62d"></a><br/></td></tr>
<tr class="separator:aedfd27f1b77cd34d23c06e001670a62d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a968936425f2d5e6b9c15a3820737e1fe"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a968936425f2d5e6b9c15a3820737e1fe">Prepend</a> (<a class="el" href="classwx_sizer.html">wxSizer</a> *sizer, int proportion=0, int flag=0, int border=0, <a class="el" href="classwx_object.html">wxObject</a> *userData=NULL)</td></tr>
<tr class="memdesc:a968936425f2d5e6b9c15a3820737e1fe"><td class="mdescLeft"> </td><td class="mdescRight">Same as <a class="el" href="classwx_sizer.html#a4e2122f2749261473c21cb192d00709f" title="Appends a child to the sizer.">Add()</a>, but prepends the items to the beginning of the list of items (windows, subsizers or spaces) owned by this sizer. <a href="#a968936425f2d5e6b9c15a3820737e1fe"></a><br/></td></tr>
<tr class="separator:a968936425f2d5e6b9c15a3820737e1fe"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a504343f0780c3d1ea7f16bcf1e6e90b5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a504343f0780c3d1ea7f16bcf1e6e90b5">Prepend</a> (int width, int height, int proportion=0, int flag=0, int border=0, <a class="el" href="classwx_object.html">wxObject</a> *userData=NULL)</td></tr>
<tr class="memdesc:a504343f0780c3d1ea7f16bcf1e6e90b5"><td class="mdescLeft"> </td><td class="mdescRight">Same as <a class="el" href="classwx_sizer.html#a4e2122f2749261473c21cb192d00709f" title="Appends a child to the sizer.">Add()</a>, but prepends the items to the beginning of the list of items (windows, subsizers or spaces) owned by this sizer. <a href="#a504343f0780c3d1ea7f16bcf1e6e90b5"></a><br/></td></tr>
<tr class="separator:a504343f0780c3d1ea7f16bcf1e6e90b5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac0335ec5f36e76639bd5a52add3eac88"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#ac0335ec5f36e76639bd5a52add3eac88">Prepend</a> (int width, int height, const <a class="el" href="classwx_sizer_flags.html">wxSizerFlags</a> &flags)</td></tr>
<tr class="memdesc:ac0335ec5f36e76639bd5a52add3eac88"><td class="mdescLeft"> </td><td class="mdescRight">Same as <a class="el" href="classwx_sizer.html#a4e2122f2749261473c21cb192d00709f" title="Appends a child to the sizer.">Add()</a>, but prepends the items to the beginning of the list of items (windows, subsizers or spaces) owned by this sizer. <a href="#ac0335ec5f36e76639bd5a52add3eac88"></a><br/></td></tr>
<tr class="separator:ac0335ec5f36e76639bd5a52add3eac88"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0f34608b8bf5b119938cea846a4b29c6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a0f34608b8bf5b119938cea846a4b29c6">Prepend</a> (<a class="el" href="classwx_sizer_item.html">wxSizerItem</a> *item)</td></tr>
<tr class="separator:a0f34608b8bf5b119938cea846a4b29c6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acc707e1e6d0afd18dc4e70052fa21d78"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#acc707e1e6d0afd18dc4e70052fa21d78">PrependSpacer</a> (int size)</td></tr>
<tr class="memdesc:acc707e1e6d0afd18dc4e70052fa21d78"><td class="mdescLeft"> </td><td class="mdescRight">Prepends non-stretchable space to the sizer. <a href="#acc707e1e6d0afd18dc4e70052fa21d78"></a><br/></td></tr>
<tr class="separator:acc707e1e6d0afd18dc4e70052fa21d78"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac102680023527ab0610a0d2a6340d4e4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#ac102680023527ab0610a0d2a6340d4e4">PrependStretchSpacer</a> (int prop=1)</td></tr>
<tr class="memdesc:ac102680023527ab0610a0d2a6340d4e4"><td class="mdescLeft"> </td><td class="mdescRight">Prepends stretchable space to the sizer. <a href="#ac102680023527ab0610a0d2a6340d4e4"></a><br/></td></tr>
<tr class="separator:ac102680023527ab0610a0d2a6340d4e4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad8bbc5e78a46f85d445db3c324fe1614"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#ad8bbc5e78a46f85d445db3c324fe1614">RecalcSizes</a> ()=0</td></tr>
<tr class="memdesc:ad8bbc5e78a46f85d445db3c324fe1614"><td class="mdescLeft"> </td><td class="mdescRight">This method is abstract and has to be overwritten by any derived class. <a href="#ad8bbc5e78a46f85d445db3c324fe1614"></a><br/></td></tr>
<tr class="separator:ad8bbc5e78a46f85d445db3c324fe1614"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a06ef74a0bb6aba1f1d3aab02fb402fec"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a06ef74a0bb6aba1f1d3aab02fb402fec">Remove</a> (<a class="el" href="classwx_window.html">wxWindow</a> *window)</td></tr>
<tr class="memdesc:a06ef74a0bb6aba1f1d3aab02fb402fec"><td class="mdescLeft"> </td><td class="mdescRight">Removes a child window from the sizer, but does <b>not</b> destroy it (because windows are owned by their parent window, not the sizer). <a href="#a06ef74a0bb6aba1f1d3aab02fb402fec"></a><br/></td></tr>
<tr class="separator:a06ef74a0bb6aba1f1d3aab02fb402fec"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7fce6ce0e986e00e6702914436b6191a"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a7fce6ce0e986e00e6702914436b6191a">Remove</a> (<a class="el" href="classwx_sizer.html">wxSizer</a> *sizer)</td></tr>
<tr class="memdesc:a7fce6ce0e986e00e6702914436b6191a"><td class="mdescLeft"> </td><td class="mdescRight">Removes a sizer child from the sizer and destroys it. <a href="#a7fce6ce0e986e00e6702914436b6191a"></a><br/></td></tr>
<tr class="separator:a7fce6ce0e986e00e6702914436b6191a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:accad1425ce5f2504fb63d2801b5b85e1"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#accad1425ce5f2504fb63d2801b5b85e1">Remove</a> (int index)</td></tr>
<tr class="memdesc:accad1425ce5f2504fb63d2801b5b85e1"><td class="mdescLeft"> </td><td class="mdescRight">Removes a child from the sizer and destroys it if it is a sizer or a spacer, but not if it is a window (because windows are owned by their parent window, not the sizer). <a href="#accad1425ce5f2504fb63d2801b5b85e1"></a><br/></td></tr>
<tr class="separator:accad1425ce5f2504fb63d2801b5b85e1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ade62512b74abfa0c6ff45825ea0c9d9d"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#ade62512b74abfa0c6ff45825ea0c9d9d">Replace</a> (<a class="el" href="classwx_window.html">wxWindow</a> *oldwin, <a class="el" href="classwx_window.html">wxWindow</a> *newwin, bool recursive=false)</td></tr>
<tr class="memdesc:ade62512b74abfa0c6ff45825ea0c9d9d"><td class="mdescLeft"> </td><td class="mdescRight">Detaches the given <em>oldwin</em> from the sizer and replaces it with the given <em>newwin</em>. <a href="#ade62512b74abfa0c6ff45825ea0c9d9d"></a><br/></td></tr>
<tr class="separator:ade62512b74abfa0c6ff45825ea0c9d9d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a842fc94c0f5e58597216cb952e044509"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a842fc94c0f5e58597216cb952e044509">Replace</a> (<a class="el" href="classwx_sizer.html">wxSizer</a> *oldsz, <a class="el" href="classwx_sizer.html">wxSizer</a> *newsz, bool recursive=false)</td></tr>
<tr class="memdesc:a842fc94c0f5e58597216cb952e044509"><td class="mdescLeft"> </td><td class="mdescRight">Detaches the given <em>oldsz</em> from the sizer and replaces it with the given <em>newsz</em>. <a href="#a842fc94c0f5e58597216cb952e044509"></a><br/></td></tr>
<tr class="separator:a842fc94c0f5e58597216cb952e044509"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5283d4d5fd059cea93e9401e3708f294"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a5283d4d5fd059cea93e9401e3708f294">Replace</a> (size_t index, <a class="el" href="classwx_sizer_item.html">wxSizerItem</a> *newitem)</td></tr>
<tr class="memdesc:a5283d4d5fd059cea93e9401e3708f294"><td class="mdescLeft"> </td><td class="mdescRight">Detaches the given item at position <em>index</em> from the sizer and replaces it with the given <a class="el" href="classwx_sizer_item.html" title="The wxSizerItem class is used to track the position, size and other attributes of each item managed b...">wxSizerItem</a> <em>newitem</em>. <a href="#a5283d4d5fd059cea93e9401e3708f294"></a><br/></td></tr>
<tr class="separator:a5283d4d5fd059cea93e9401e3708f294"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3c5483afdc5b5b5657548e190226f285"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a3c5483afdc5b5b5657548e190226f285">SetDimension</a> (int x, int y, int width, int height)</td></tr>
<tr class="memdesc:a3c5483afdc5b5b5657548e190226f285"><td class="mdescLeft"> </td><td class="mdescRight">Call this to force the sizer to take the given dimension and thus force the items owned by the sizer to resize themselves according to the rules defined by the parameter in the <a class="el" href="classwx_sizer.html#a4e2122f2749261473c21cb192d00709f" title="Appends a child to the sizer.">Add()</a> and <a class="el" href="classwx_sizer.html#a7417fb9b0e3b4777c11b381f14cf0153" title="Same as Add(), but prepends the items to the beginning of the list of items (windows, subsizers or spaces) owned by this sizer.">Prepend()</a> methods. <a href="#a3c5483afdc5b5b5657548e190226f285"></a><br/></td></tr>
<tr class="separator:a3c5483afdc5b5b5657548e190226f285"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa993f4a4534bd4dd24c801bfda6da224"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#aa993f4a4534bd4dd24c801bfda6da224">SetDimension</a> (const <a class="el" href="classwx_point.html">wxPoint</a> &pos, const <a class="el" href="classwx_size.html">wxSize</a> &size)</td></tr>
<tr class="memdesc:aa993f4a4534bd4dd24c801bfda6da224"><td class="mdescLeft"> </td><td class="mdescRight">This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. <a href="#aa993f4a4534bd4dd24c801bfda6da224"></a><br/></td></tr>
<tr class="separator:aa993f4a4534bd4dd24c801bfda6da224"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a97bbbf3ee6e55c321d7bb72b4c1b7d79"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a97bbbf3ee6e55c321d7bb72b4c1b7d79">SetMinSize</a> (const <a class="el" href="classwx_size.html">wxSize</a> &size)</td></tr>
<tr class="memdesc:a97bbbf3ee6e55c321d7bb72b4c1b7d79"><td class="mdescLeft"> </td><td class="mdescRight">Call this to give the sizer a minimal size. <a href="#a97bbbf3ee6e55c321d7bb72b4c1b7d79"></a><br/></td></tr>
<tr class="separator:a97bbbf3ee6e55c321d7bb72b4c1b7d79"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0e89f59e611c0279e8bee1b7ee345446"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a0e89f59e611c0279e8bee1b7ee345446">SetMinSize</a> (int width, int height)</td></tr>
<tr class="memdesc:a0e89f59e611c0279e8bee1b7ee345446"><td class="mdescLeft"> </td><td class="mdescRight">This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. <a href="#a0e89f59e611c0279e8bee1b7ee345446"></a><br/></td></tr>
<tr class="separator:a0e89f59e611c0279e8bee1b7ee345446"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abc460cd0e2bb3bde72142fdb434bc546"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#abc460cd0e2bb3bde72142fdb434bc546">SetSizeHints</a> (<a class="el" href="classwx_window.html">wxWindow</a> *window)</td></tr>
<tr class="memdesc:abc460cd0e2bb3bde72142fdb434bc546"><td class="mdescLeft"> </td><td class="mdescRight">This method first calls <a class="el" href="classwx_sizer.html#abad9cedc0cbe9ade2c799da23462d17e" title="Tell the sizer to resize the window so that its client area matches the sizer's minimal size (Compute...">Fit()</a> and then <a class="el" href="classwx_top_level_window.html#ac01a45e5d82e4e3be22a4841c1217e11" title="Allows specification of minimum and maximum window sizes, and window size increments.">wxTopLevelWindow::SetSizeHints()</a> on the <em>window</em> passed to it. <a href="#abc460cd0e2bb3bde72142fdb434bc546"></a><br/></td></tr>
<tr class="separator:abc460cd0e2bb3bde72142fdb434bc546"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a92cab30589d91cc09028a3abfefe6221"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a92cab30589d91cc09028a3abfefe6221">SetVirtualSizeHints</a> (<a class="el" href="classwx_window.html">wxWindow</a> *window)</td></tr>
<tr class="memdesc:a92cab30589d91cc09028a3abfefe6221"><td class="mdescLeft"> </td><td class="mdescRight">Tell the sizer to set the minimal size of the <em>window</em> virtual area to match the sizer's minimal size. <a href="#a92cab30589d91cc09028a3abfefe6221"></a><br/></td></tr>
<tr class="separator:a92cab30589d91cc09028a3abfefe6221"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afb6638468fe2253d1870b4d387c57a0b"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#afb6638468fe2253d1870b4d387c57a0b">Show</a> (<a class="el" href="classwx_window.html">wxWindow</a> *window, bool show=true, bool recursive=false)</td></tr>
<tr class="memdesc:afb6638468fe2253d1870b4d387c57a0b"><td class="mdescLeft"> </td><td class="mdescRight">Shows or hides the <em>window</em>. <a href="#afb6638468fe2253d1870b4d387c57a0b"></a><br/></td></tr>
<tr class="separator:afb6638468fe2253d1870b4d387c57a0b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a65289f40a39fb31512f93d8d7f63720e"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a65289f40a39fb31512f93d8d7f63720e">Show</a> (<a class="el" href="classwx_sizer.html">wxSizer</a> *sizer, bool show=true, bool recursive=false)</td></tr>
<tr class="memdesc:a65289f40a39fb31512f93d8d7f63720e"><td class="mdescLeft"> </td><td class="mdescRight">Shows or hides <em>sizer</em>. <a href="#a65289f40a39fb31512f93d8d7f63720e"></a><br/></td></tr>
<tr class="separator:a65289f40a39fb31512f93d8d7f63720e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a15f781b11cbe978d6fbc0b62f32bc3b4"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a15f781b11cbe978d6fbc0b62f32bc3b4">Show</a> (size_t index, bool show=true)</td></tr>
<tr class="memdesc:a15f781b11cbe978d6fbc0b62f32bc3b4"><td class="mdescLeft"> </td><td class="mdescRight">Shows the item at <em>index</em>. <a href="#a15f781b11cbe978d6fbc0b62f32bc3b4"></a><br/></td></tr>
<tr class="separator:a15f781b11cbe978d6fbc0b62f32bc3b4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a95533b38ceb29ddbaf902f4bf680daa6"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a95533b38ceb29ddbaf902f4bf680daa6">ShowItems</a> (bool show)</td></tr>
<tr class="memdesc:a95533b38ceb29ddbaf902f4bf680daa6"><td class="mdescLeft"> </td><td class="mdescRight">Show or hide all items managed by the sizer. <a href="#a95533b38ceb29ddbaf902f4bf680daa6"></a><br/></td></tr>
<tr class="separator:a95533b38ceb29ddbaf902f4bf680daa6"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr class="memitem:a619f8bd8f4fd641819626813b1c1f576"><td class="memItemLeft" align="right" valign="top">wxSizerItemList & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a619f8bd8f4fd641819626813b1c1f576">GetChildren</a> ()</td></tr>
<tr class="memdesc:a619f8bd8f4fd641819626813b1c1f576"><td class="mdescLeft"> </td><td class="mdescRight">Returns the list of the items in this sizer. <a href="#a619f8bd8f4fd641819626813b1c1f576"></a><br/></td></tr>
<tr class="separator:a619f8bd8f4fd641819626813b1c1f576"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a542ef0705987b3b25cec3d0607dfdca2"><td class="memItemLeft" align="right" valign="top">const wxSizerItemList & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a542ef0705987b3b25cec3d0607dfdca2">GetChildren</a> () const </td></tr>
<tr class="memdesc:a542ef0705987b3b25cec3d0607dfdca2"><td class="mdescLeft"> </td><td class="mdescRight">Returns the list of the items in this sizer. <a href="#a542ef0705987b3b25cec3d0607dfdca2"></a><br/></td></tr>
<tr class="separator:a542ef0705987b3b25cec3d0607dfdca2"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr class="memitem:a26fc90231667639d5af7c2f8f7b75c80"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a26fc90231667639d5af7c2f8f7b75c80">SetItemMinSize</a> (<a class="el" href="classwx_window.html">wxWindow</a> *window, int width, int height)</td></tr>
<tr class="memdesc:a26fc90231667639d5af7c2f8f7b75c80"><td class="mdescLeft"> </td><td class="mdescRight">Set an item's minimum size by window, sizer, or position. <a href="#a26fc90231667639d5af7c2f8f7b75c80"></a><br/></td></tr>
<tr class="separator:a26fc90231667639d5af7c2f8f7b75c80"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a486d80e43e6cbd8fea5fa2879d111071"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a486d80e43e6cbd8fea5fa2879d111071">SetItemMinSize</a> (<a class="el" href="classwx_window.html">wxWindow</a> *window, const <a class="el" href="classwx_size.html">wxSize</a> &size)</td></tr>
<tr class="memdesc:a486d80e43e6cbd8fea5fa2879d111071"><td class="mdescLeft"> </td><td class="mdescRight">Set an item's minimum size by window, sizer, or position. <a href="#a486d80e43e6cbd8fea5fa2879d111071"></a><br/></td></tr>
<tr class="separator:a486d80e43e6cbd8fea5fa2879d111071"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8e4230a56ca442a3eb3577f6c47094d4"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a8e4230a56ca442a3eb3577f6c47094d4">SetItemMinSize</a> (<a class="el" href="classwx_sizer.html">wxSizer</a> *sizer, int width, int height)</td></tr>
<tr class="memdesc:a8e4230a56ca442a3eb3577f6c47094d4"><td class="mdescLeft"> </td><td class="mdescRight">Set an item's minimum size by window, sizer, or position. <a href="#a8e4230a56ca442a3eb3577f6c47094d4"></a><br/></td></tr>
<tr class="separator:a8e4230a56ca442a3eb3577f6c47094d4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9941c644acf3b215678cea0ea15aeec0"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#a9941c644acf3b215678cea0ea15aeec0">SetItemMinSize</a> (<a class="el" href="classwx_sizer.html">wxSizer</a> *sizer, const <a class="el" href="classwx_size.html">wxSize</a> &size)</td></tr>
<tr class="memdesc:a9941c644acf3b215678cea0ea15aeec0"><td class="mdescLeft"> </td><td class="mdescRight">Set an item's minimum size by window, sizer, or position. <a href="#a9941c644acf3b215678cea0ea15aeec0"></a><br/></td></tr>
<tr class="separator:a9941c644acf3b215678cea0ea15aeec0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aae51219b9dfd74c3af5823e39f558ed4"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#aae51219b9dfd74c3af5823e39f558ed4">SetItemMinSize</a> (size_t index, int width, int height)</td></tr>
<tr class="memdesc:aae51219b9dfd74c3af5823e39f558ed4"><td class="mdescLeft"> </td><td class="mdescRight">Set an item's minimum size by window, sizer, or position. <a href="#aae51219b9dfd74c3af5823e39f558ed4"></a><br/></td></tr>
<tr class="separator:aae51219b9dfd74c3af5823e39f558ed4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abc7a754f4a12f80025fad0d131082fbb"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_sizer.html#abc7a754f4a12f80025fad0d131082fbb">SetItemMinSize</a> (size_t index, const <a class="el" href="classwx_size.html">wxSize</a> &size)</td></tr>
<tr class="memdesc:abc7a754f4a12f80025fad0d131082fbb"><td class="mdescLeft"> </td><td class="mdescRight">Set an item's minimum size by window, sizer, or position. <a href="#abc7a754f4a12f80025fad0d131082fbb"></a><br/></td></tr>
<tr class="separator:abc7a754f4a12f80025fad0d131082fbb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classwx_object"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classwx_object')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classwx_object.html">wxObject</a></td></tr>
<tr class="memitem:acaa378363a28af421ab56ad7b46eadf0 inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#acaa378363a28af421ab56ad7b46eadf0">wxObject</a> ()</td></tr>
<tr class="memdesc:acaa378363a28af421ab56ad7b46eadf0 inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Default ctor; initializes to <span class="literal">NULL</span> the internal reference data. <a href="#acaa378363a28af421ab56ad7b46eadf0"></a><br/></td></tr>
<tr class="separator:acaa378363a28af421ab56ad7b46eadf0 inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4721b4dc9b7aff0f30904ba2ea3954cf inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a4721b4dc9b7aff0f30904ba2ea3954cf">wxObject</a> (const <a class="el" href="classwx_object.html">wxObject</a> &other)</td></tr>
<tr class="memdesc:a4721b4dc9b7aff0f30904ba2ea3954cf inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Copy ctor. <a href="#a4721b4dc9b7aff0f30904ba2ea3954cf"></a><br/></td></tr>
<tr class="separator:a4721b4dc9b7aff0f30904ba2ea3954cf inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2a51aa8bfbab47ca2f051bcf84b3f35b inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a2a51aa8bfbab47ca2f051bcf84b3f35b">~wxObject</a> ()</td></tr>
<tr class="memdesc:a2a51aa8bfbab47ca2f051bcf84b3f35b inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#a2a51aa8bfbab47ca2f051bcf84b3f35b"></a><br/></td></tr>
<tr class="separator:a2a51aa8bfbab47ca2f051bcf84b3f35b inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab3a0c6f723cbaddb47be4e8dd98cc8e2 inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_class_info.html">wxClassInfo</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#ab3a0c6f723cbaddb47be4e8dd98cc8e2">GetClassInfo</a> () const </td></tr>
<tr class="memdesc:ab3a0c6f723cbaddb47be4e8dd98cc8e2 inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">This virtual function is redefined for every class that requires run-time type information, when using the <a class="el" href="group__group__funcmacro__rtti.html#ga20465fc7e022e29a5dacfad46e152e75" title="Used inside a class declaration to declare that the class should be made known to the class hierarchy...">wxDECLARE_CLASS</a> macro (or similar). <a href="#ab3a0c6f723cbaddb47be4e8dd98cc8e2"></a><br/></td></tr>
<tr class="separator:ab3a0c6f723cbaddb47be4e8dd98cc8e2 inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aabdb4fc957226544a8408167844e4f42 inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_object_ref_data.html">wxObjectRefData</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#aabdb4fc957226544a8408167844e4f42">GetRefData</a> () const </td></tr>
<tr class="memdesc:aabdb4fc957226544a8408167844e4f42 inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <a class="el" href="classwx_object.html#a9e31954530a0abd54982effc443ed2b8" title="Pointer to an object which is the object's reference-counted data.">wxObject::m_refData</a> pointer, i.e. the data referenced by this object. <a href="#aabdb4fc957226544a8408167844e4f42"></a><br/></td></tr>
<tr class="separator:aabdb4fc957226544a8408167844e4f42 inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af40d580385cf4f8112fae7713404b01e inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#af40d580385cf4f8112fae7713404b01e">IsKindOf</a> (const <a class="el" href="classwx_class_info.html">wxClassInfo</a> *info) const </td></tr>
<tr class="memdesc:af40d580385cf4f8112fae7713404b01e inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Determines whether this class is a subclass of (or the same class as) the given class. <a href="#af40d580385cf4f8112fae7713404b01e"></a><br/></td></tr>
<tr class="separator:af40d580385cf4f8112fae7713404b01e inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a80a1a3fda7b14396a9ddd3d7a46a88bd inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a80a1a3fda7b14396a9ddd3d7a46a88bd">IsSameAs</a> (const <a class="el" href="classwx_object.html">wxObject</a> &obj) const </td></tr>
<tr class="memdesc:a80a1a3fda7b14396a9ddd3d7a46a88bd inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Returns <span class="literal">true</span> if this object has the same data pointer as <em>obj</em>. <a href="#a80a1a3fda7b14396a9ddd3d7a46a88bd"></a><br/></td></tr>
<tr class="separator:a80a1a3fda7b14396a9ddd3d7a46a88bd inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2f6f1aa51fe9fc2b1415ca4211a90e9e inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a2f6f1aa51fe9fc2b1415ca4211a90e9e">Ref</a> (const <a class="el" href="classwx_object.html">wxObject</a> &clone)</td></tr>
<tr class="memdesc:a2f6f1aa51fe9fc2b1415ca4211a90e9e inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Makes this object refer to the data in <em>clone</em>. <a href="#a2f6f1aa51fe9fc2b1415ca4211a90e9e"></a><br/></td></tr>
<tr class="separator:a2f6f1aa51fe9fc2b1415ca4211a90e9e inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afab780710f2adc1bb33310e27590140b inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#afab780710f2adc1bb33310e27590140b">SetRefData</a> (<a class="el" href="classwx_object_ref_data.html">wxObjectRefData</a> *data)</td></tr>
<tr class="memdesc:afab780710f2adc1bb33310e27590140b inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Sets the <a class="el" href="classwx_object.html#a9e31954530a0abd54982effc443ed2b8" title="Pointer to an object which is the object's reference-counted data.">wxObject::m_refData</a> pointer. <a href="#afab780710f2adc1bb33310e27590140b"></a><br/></td></tr>
<tr class="separator:afab780710f2adc1bb33310e27590140b inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af51efc6b1ae632fc7f0cd7ebbce9fa36 inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#af51efc6b1ae632fc7f0cd7ebbce9fa36">UnRef</a> ()</td></tr>
<tr class="memdesc:af51efc6b1ae632fc7f0cd7ebbce9fa36 inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Decrements the reference count in the associated data, and if it is zero, deletes the data. <a href="#af51efc6b1ae632fc7f0cd7ebbce9fa36"></a><br/></td></tr>
<tr class="separator:af51efc6b1ae632fc7f0cd7ebbce9fa36 inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a74b40e42d19a4b9e9bec0b57d62a5725 inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a74b40e42d19a4b9e9bec0b57d62a5725">UnShare</a> ()</td></tr>
<tr class="memdesc:a74b40e42d19a4b9e9bec0b57d62a5725 inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">This is the same of <a class="el" href="classwx_object.html#a60204063f3cc3aa2fa1c7ff5bda9eb13" title="Ensure that this object's data is not shared with any other object.">AllocExclusive()</a> but this method is public. <a href="#a74b40e42d19a4b9e9bec0b57d62a5725"></a><br/></td></tr>
<tr class="separator:a74b40e42d19a4b9e9bec0b57d62a5725 inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a07b8f34f5afc5743195c5fed052f55d3 inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a07b8f34f5afc5743195c5fed052f55d3">operator delete</a> (void *buf)</td></tr>
<tr class="memdesc:a07b8f34f5afc5743195c5fed052f55d3 inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">The <em>delete</em> operator is defined for debugging versions of the library only, when the identifier <code><b>WXDEBUG</b></code> is defined. <a href="#a07b8f34f5afc5743195c5fed052f55d3"></a><br/></td></tr>
<tr class="separator:a07b8f34f5afc5743195c5fed052f55d3 inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a96fa423a1dbc212c8227a5d83825971f inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a96fa423a1dbc212c8227a5d83825971f">operator new</a> (size_t size, const <a class="el" href="classwx_string.html">wxString</a> &filename=NULL, int lineNum=0)</td></tr>
<tr class="memdesc:a96fa423a1dbc212c8227a5d83825971f inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">The <em>new</em> operator is defined for debugging versions of the library only, when the identifier <code><b>WXDEBUG</b></code> is defined. <a href="#a96fa423a1dbc212c8227a5d83825971f"></a><br/></td></tr>
<tr class="separator:a96fa423a1dbc212c8227a5d83825971f inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_methods_classwx_object"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classwx_object')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classwx_object.html">wxObject</a></td></tr>
<tr class="memitem:a60204063f3cc3aa2fa1c7ff5bda9eb13 inherit pro_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a60204063f3cc3aa2fa1c7ff5bda9eb13">AllocExclusive</a> ()</td></tr>
<tr class="memdesc:a60204063f3cc3aa2fa1c7ff5bda9eb13 inherit pro_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Ensure that this object's data is not shared with any other object. <a href="#a60204063f3cc3aa2fa1c7ff5bda9eb13"></a><br/></td></tr>
<tr class="separator:a60204063f3cc3aa2fa1c7ff5bda9eb13 inherit pro_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a95c6a5e4e1e03ff23c7b9efe4cff0c1a inherit pro_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_object_ref_data.html">wxObjectRefData</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a95c6a5e4e1e03ff23c7b9efe4cff0c1a">CreateRefData</a> () const </td></tr>
<tr class="memdesc:a95c6a5e4e1e03ff23c7b9efe4cff0c1a inherit pro_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Creates a new instance of the wxObjectRefData-derived class specific to this object and returns it. <a href="#a95c6a5e4e1e03ff23c7b9efe4cff0c1a"></a><br/></td></tr>
<tr class="separator:a95c6a5e4e1e03ff23c7b9efe4cff0c1a inherit pro_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1d39f1d3650fe0982c9a1abe7f9fe7b7 inherit pro_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_object_ref_data.html">wxObjectRefData</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a1d39f1d3650fe0982c9a1abe7f9fe7b7">CloneRefData</a> (const <a class="el" href="classwx_object_ref_data.html">wxObjectRefData</a> *data) const </td></tr>
<tr class="memdesc:a1d39f1d3650fe0982c9a1abe7f9fe7b7 inherit pro_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Creates a new instance of the wxObjectRefData-derived class specific to this object and initializes it copying <em>data</em>. <a href="#a1d39f1d3650fe0982c9a1abe7f9fe7b7"></a><br/></td></tr>
<tr class="separator:a1d39f1d3650fe0982c9a1abe7f9fe7b7 inherit pro_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_attribs_classwx_object"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classwx_object')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classwx_object.html">wxObject</a></td></tr>
<tr class="memitem:a9e31954530a0abd54982effc443ed2b8 inherit pro_attribs_classwx_object"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_object_ref_data.html">wxObjectRefData</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a9e31954530a0abd54982effc443ed2b8">m_refData</a></td></tr>
<tr class="memdesc:a9e31954530a0abd54982effc443ed2b8 inherit pro_attribs_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Pointer to an object which is the object's reference-counted data. <a href="#a9e31954530a0abd54982effc443ed2b8"></a><br/></td></tr>
<tr class="separator:a9e31954530a0abd54982effc443ed2b8 inherit pro_attribs_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a class="anchor" id="ae05f76a5e5a8e721065dd5aec1bd6cb2"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">wxSizer::wxSizer </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>The constructor. </p>
<p>Note that <a class="el" href="classwx_sizer.html" title="wxSizer is the abstract base class used for laying out subwindows in a window.">wxSizer</a> is an abstract base class and may not be instantiated. </p>
</div>
</div>
<a class="anchor" id="a5d52467e4e1367939ef4d9ddc6876cfe"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual wxSizer::~wxSizer </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>The destructor. </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a4e2122f2749261473c21cb192d00709f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a>* wxSizer::Add </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>window</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_sizer_flags.html">wxSizerFlags</a> & </td>
<td class="paramname"><em>flags</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Appends a child to the sizer. </p>
<p><a class="el" href="classwx_sizer.html" title="wxSizer is the abstract base class used for laying out subwindows in a window.">wxSizer</a> itself is an abstract class, but the parameters are equivalent in the derived classes that you will instantiate to use it so they are described here:</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">window</td><td>The window to be added to the sizer. Its initial size (either set explicitly by the user or calculated internally when using wxDefaultSize) is interpreted as the minimal and in many cases also the initial size. </td></tr>
<tr><td class="paramname">flags</td><td>A <a class="el" href="classwx_sizer_flags.html" title="Container for sizer items flags providing readable names for them.">wxSizerFlags</a> object that enables you to specify most of the above parameters more conveniently. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a81d21f287c416da96739a73faa54840d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a>* wxSizer::Add </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>window</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>proportion</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>flag</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>border</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classwx_object.html">wxObject</a> * </td>
<td class="paramname"><em>userData</em> = <code>NULL</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Appends a child to the sizer. </p>
<p><a class="el" href="classwx_sizer.html" title="wxSizer is the abstract base class used for laying out subwindows in a window.">wxSizer</a> itself is an abstract class, but the parameters are equivalent in the derived classes that you will instantiate to use it so they are described here:</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">window</td><td>The window to be added to the sizer. Its initial size (either set explicitly by the user or calculated internally when using wxDefaultSize) is interpreted as the minimal and in many cases also the initial size. </td></tr>
<tr><td class="paramname">proportion</td><td>Although the meaning of this parameter is undefined in <a class="el" href="classwx_sizer.html" title="wxSizer is the abstract base class used for laying out subwindows in a window.">wxSizer</a>, it is used in <a class="el" href="classwx_box_sizer.html" title="The basic idea behind a box sizer is that windows will most often be laid out in rather simple basic ...">wxBoxSizer</a> to indicate if a child of a sizer can change its size in the main orientation of the <a class="el" href="classwx_box_sizer.html" title="The basic idea behind a box sizer is that windows will most often be laid out in rather simple basic ...">wxBoxSizer</a> - where 0 stands for not changeable and a value of more than zero is interpreted relative to the value of other children of the same <a class="el" href="classwx_box_sizer.html" title="The basic idea behind a box sizer is that windows will most often be laid out in rather simple basic ...">wxBoxSizer</a>. For example, you might have a horizontal <a class="el" href="classwx_box_sizer.html" title="The basic idea behind a box sizer is that windows will most often be laid out in rather simple basic ...">wxBoxSizer</a> with three children, two of which are supposed to change their size with the sizer. Then the two stretchable windows would get a value of 1 each to make them grow and shrink equally with the sizer's horizontal dimension. </td></tr>
<tr><td class="paramname">flag</td><td>OR-combination of flags affecting sizer's behaviour. See <a class="el" href="classwx_sizer.html#wxsizer_flags">wxSizer flags list</a> for details. </td></tr>
<tr><td class="paramname">border</td><td>Determines the border width, if the flag parameter is set to include any border flag. </td></tr>
<tr><td class="paramname">userData</td><td>Allows an extra object to be attached to the sizer item, for use in derived classes when sizing information is more complex than the proportion and flag will allow for. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a1c45a17c2d1e2d669c46d558d521d891"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a>* wxSizer::Add </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_sizer.html">wxSizer</a> * </td>
<td class="paramname"><em>sizer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_sizer_flags.html">wxSizerFlags</a> & </td>
<td class="paramname"><em>flags</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Appends a child to the sizer. </p>
<p><a class="el" href="classwx_sizer.html" title="wxSizer is the abstract base class used for laying out subwindows in a window.">wxSizer</a> itself is an abstract class, but the parameters are equivalent in the derived classes that you will instantiate to use it so they are described here:</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">sizer</td><td>The (child-)sizer to be added to the sizer. This allows placing a child sizer in a sizer and thus to create hierarchies of sizers (typically a vertical box as the top sizer and several horizontal boxes on the level beneath). </td></tr>
<tr><td class="paramname">flags</td><td>A <a class="el" href="classwx_sizer_flags.html" title="Container for sizer items flags providing readable names for them.">wxSizerFlags</a> object that enables you to specify most of the above parameters more conveniently. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="aaa40babf76cdb56d20f6c37fff282610"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a>* wxSizer::Add </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_sizer.html">wxSizer</a> * </td>
<td class="paramname"><em>sizer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>proportion</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>flag</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>border</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classwx_object.html">wxObject</a> * </td>
<td class="paramname"><em>userData</em> = <code>NULL</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Appends a child to the sizer. </p>
<p><a class="el" href="classwx_sizer.html" title="wxSizer is the abstract base class used for laying out subwindows in a window.">wxSizer</a> itself is an abstract class, but the parameters are equivalent in the derived classes that you will instantiate to use it so they are described here:</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">sizer</td><td>The (child-)sizer to be added to the sizer. This allows placing a child sizer in a sizer and thus to create hierarchies of sizers (typically a vertical box as the top sizer and several horizontal boxes on the level beneath). </td></tr>
<tr><td class="paramname">proportion</td><td>Although the meaning of this parameter is undefined in <a class="el" href="classwx_sizer.html" title="wxSizer is the abstract base class used for laying out subwindows in a window.">wxSizer</a>, it is used in <a class="el" href="classwx_box_sizer.html" title="The basic idea behind a box sizer is that windows will most often be laid out in rather simple basic ...">wxBoxSizer</a> to indicate if a child of a sizer can change its size in the main orientation of the <a class="el" href="classwx_box_sizer.html" title="The basic idea behind a box sizer is that windows will most often be laid out in rather simple basic ...">wxBoxSizer</a> - where 0 stands for not changeable and a value of more than zero is interpreted relative to the value of other children of the same <a class="el" href="classwx_box_sizer.html" title="The basic idea behind a box sizer is that windows will most often be laid out in rather simple basic ...">wxBoxSizer</a>. For example, you might have a horizontal <a class="el" href="classwx_box_sizer.html" title="The basic idea behind a box sizer is that windows will most often be laid out in rather simple basic ...">wxBoxSizer</a> with three children, two of which are supposed to change their size with the sizer. Then the two stretchable windows would get a value of 1 each to make them grow and shrink equally with the sizer's horizontal dimension. </td></tr>
<tr><td class="paramname">flag</td><td>OR-combination of flags affecting sizer's behaviour. See <a class="el" href="classwx_sizer.html#wxsizer_flags">wxSizer flags list</a> for details. </td></tr>
<tr><td class="paramname">border</td><td>Determines the border width, if the flag parameter is set to include any border flag. </td></tr>
<tr><td class="paramname">userData</td><td>Allows an extra object to be attached to the sizer item, for use in derived classes when sizing information is more complex than the proportion and flag will allow for. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="aa2d6009b34b1d34de920390795d8c0fb"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a>* wxSizer::Add </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>height</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>proportion</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>flag</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>border</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classwx_object.html">wxObject</a> * </td>
<td class="paramname"><em>userData</em> = <code>NULL</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Appends a spacer child to the sizer. </p>
<p><a class="el" href="classwx_sizer.html" title="wxSizer is the abstract base class used for laying out subwindows in a window.">wxSizer</a> itself is an abstract class, but the parameters are equivalent in the derived classes that you will instantiate to use it so they are described here.</p>
<p><em>width</em> and <em>height</em> specify the dimension of a spacer to be added to the sizer. Adding spacers to sizers gives more flexibility in the design of dialogs; imagine for example a horizontal box with two buttons at the bottom of a dialog: you might want to insert a space between the two buttons and make that space stretchable using the proportion flag and the result will be that the left button will be aligned with the left side of the dialog and the right button with the right side - the space in between will shrink and grow with the dialog.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">width</td><td>Width of the spacer. </td></tr>
<tr><td class="paramname">height</td><td>Height of the spacer. </td></tr>
<tr><td class="paramname">proportion</td><td>Although the meaning of this parameter is undefined in <a class="el" href="classwx_sizer.html" title="wxSizer is the abstract base class used for laying out subwindows in a window.">wxSizer</a>, it is used in <a class="el" href="classwx_box_sizer.html" title="The basic idea behind a box sizer is that windows will most often be laid out in rather simple basic ...">wxBoxSizer</a> to indicate if a child of a sizer can change its size in the main orientation of the <a class="el" href="classwx_box_sizer.html" title="The basic idea behind a box sizer is that windows will most often be laid out in rather simple basic ...">wxBoxSizer</a> - where 0 stands for not changeable and a value of more than zero is interpreted relative to the value of other children of the same <a class="el" href="classwx_box_sizer.html" title="The basic idea behind a box sizer is that windows will most often be laid out in rather simple basic ...">wxBoxSizer</a>. For example, you might have a horizontal <a class="el" href="classwx_box_sizer.html" title="The basic idea behind a box sizer is that windows will most often be laid out in rather simple basic ...">wxBoxSizer</a> with three children, two of which are supposed to change their size with the sizer. Then the two stretchable windows would get a value of 1 each to make them grow and shrink equally with the sizer's horizontal dimension. </td></tr>
<tr><td class="paramname">flag</td><td>OR-combination of flags affecting sizer's behaviour. See <a class="el" href="classwx_sizer.html#wxsizer_flags">wxSizer flags list</a> for details. </td></tr>
<tr><td class="paramname">border</td><td>Determines the border width, if the flag parameter is set to include any border flag. </td></tr>
<tr><td class="paramname">userData</td><td>Allows an extra object to be attached to the sizer item, for use in derived classes when sizing information is more complex than the proportion and flag will allow for. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ae31cc0acff44034260899966ce8d2a3c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a>* wxSizer::Add </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>height</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_sizer_flags.html">wxSizerFlags</a> & </td>
<td class="paramname"><em>flags</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Appends a spacer child to the sizer. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">width</td><td>Width of the spacer. </td></tr>
<tr><td class="paramname">height</td><td>Height of the spacer. </td></tr>
<tr><td class="paramname">flags</td><td>A <a class="el" href="classwx_sizer_flags.html" title="Container for sizer items flags providing readable names for them.">wxSizerFlags</a> object that enables you to specify most of the other parameters more conveniently. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a6d7602d14f246395773e00ca46bf816a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a>* wxSizer::Add </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a> * </td>
<td class="paramname"><em>item</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="aedfc0bfd98114c348766431dcb49c9f3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classwx_sizer_item.html">wxSizerItem</a>* wxSizer::AddSpacer </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>size</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This base function adds non-stretchable space to both the horizontal and vertical orientation of the sizer. </p>
<p>More readable way of calling: </p>
<div class="fragment"><div class="line"><a class="code" href="classwx_sizer.html#a4e2122f2749261473c21cb192d00709f" title="Appends a child to the sizer.">wxSizer::Add</a>(size, size, 0).</div>
</div><!-- fragment --> <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_box_sizer.html#a58007d1fd88698b9f733ba651977ad55" title="Adds non-stretchable space to the main orientation of the sizer only.">wxBoxSizer::AddSpacer()</a> </dd></dl>
<p>Reimplemented in <a class="el" href="classwx_box_sizer.html#a58007d1fd88698b9f733ba651977ad55">wxBoxSizer</a>.</p>
</div>
</div>
<a class="anchor" id="af529134a9dc74a0551d12e747af5c976"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a>* wxSizer::AddStretchSpacer </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>prop</em> = <code>1</code></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds stretchable space to the sizer. </p>
<p>More readable way of calling: </p>
<div class="fragment"><div class="line"><a class="code" href="classwx_sizer.html#a4e2122f2749261473c21cb192d00709f" title="Appends a child to the sizer.">wxSizer::Add</a>(0, 0, prop).</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a371b9b72e55c1fedfbea9d298bc2df77"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classwx_size.html">wxSize</a> wxSizer::CalcMin </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This method is abstract and has to be overwritten by any derived class. </p>
<p>Here, the sizer will do the actual calculation of its children's minimal sizes. </p>
<p>Implemented in <a class="el" href="classwx_box_sizer.html#abbb06ed94dca0aef849fd0b95d76346e">wxBoxSizer</a>, <a class="el" href="classwx_static_box_sizer.html#a744efab8da5e15d74a5f36a3f1ed4fdd">wxStaticBoxSizer</a>, <a class="el" href="classwx_grid_sizer.html#a6ea31d3cb8b6d101d5d279e84b58ba39">wxGridSizer</a>, <a class="el" href="classwx_flex_grid_sizer.html#add516aeac6cf56faef4cefd53542bba2">wxFlexGridSizer</a>, <a class="el" href="classwx_std_dialog_button_sizer.html#a30f031e45b3559f4a1bf52dbf0448ae1">wxStdDialogButtonSizer</a>, <a class="el" href="classwx_grid_bag_sizer.html#ad8ae813d3acdca02d81ecb84d82e2083">wxGridBagSizer</a>, and <a class="el" href="classwx_wrap_sizer.html#adb0c0f62bae28636b1766bcd51689386">wxWrapSizer</a>.</p>
</div>
</div>
<a class="anchor" id="a5909429d14de1baf1b832d5c1abf7821"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxSizer::Clear </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>delete_windows</em> = <code>false</code></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Detaches all children from the sizer. </p>
<p>If <em>delete_windows</em> is <span class="literal">true</span> then child windows will also be deleted.</p>
<p>Notice that child sizers are always deleted, as a general consequence of the principle that sizers own their sizer children, but don't own their window children (because they are already owned by their parent windows). </p>
</div>
</div>
<a class="anchor" id="a0da5d65c9b4192bd24cc3feb1be69e59"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_size.html">wxSize</a> wxSizer::ComputeFittingClientSize </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>window</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Computes client area size for <em>window</em> so that it matches the sizer's minimal size. </p>
<p>Unlike <a class="el" href="classwx_sizer.html#a9fab8d16aefe347dbd57e0bdfe0d810d" title="Returns the minimal size of the sizer.">GetMinSize()</a>, this method accounts for other constraints imposed on <em>window</em>, namely display's size (returned size will never be too large for the display) and maximum window size if previously set by <a class="el" href="classwx_window.html#a38b496214d728a3212afadee5ed51606" title="Sets the maximum size of the window, to indicate to the sizer layout mechanism that this is the maxim...">wxWindow::SetMaxSize()</a>.</p>
<p>The returned value is suitable for passing to <a class="el" href="classwx_window.html#aa59f715217fffa5bcf14cd97f92e7840" title="This sets the size of the window client area in pixels.">wxWindow::SetClientSize()</a> or <a class="el" href="classwx_window.html#a6e35ba44b97e374dfffa460d41d94b31" title="Sets the minimum client size of the window, to indicate to the sizer layout mechanism that this is th...">wxWindow::SetMinClientSize()</a>.</p>
<dl class="section since"><dt>Since</dt><dd>2.8.8</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_sizer.html#a3056cb4d47ea296e095b6cbc35d61155" title="Like ComputeFittingClientSize(), but converts the result into window size.">ComputeFittingWindowSize()</a>, <a class="el" href="classwx_sizer.html#abad9cedc0cbe9ade2c799da23462d17e" title="Tell the sizer to resize the window so that its client area matches the sizer's minimal size (Compute...">Fit()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a3056cb4d47ea296e095b6cbc35d61155"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_size.html">wxSize</a> wxSizer::ComputeFittingWindowSize </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>window</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Like <a class="el" href="classwx_sizer.html#a0da5d65c9b4192bd24cc3feb1be69e59" title="Computes client area size for window so that it matches the sizer's minimal size.">ComputeFittingClientSize()</a>, but converts the result into window size. </p>
<p>The returned value is suitable for passing to <a class="el" href="classwx_window.html#a180312d5ad4a4a5ad805b8d52d67a74e" title="Sets the size of the window in pixels.">wxWindow::SetSize()</a> or <a class="el" href="classwx_window.html#a3fc066f4d8083319f004ac43811d545d" title="Sets the minimum size of the window, to indicate to the sizer layout mechanism that this is the minim...">wxWindow::SetMinSize()</a>.</p>
<dl class="section since"><dt>Since</dt><dd>2.8.8</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_sizer.html#a0da5d65c9b4192bd24cc3feb1be69e59" title="Computes client area size for window so that it matches the sizer's minimal size.">ComputeFittingClientSize()</a>, <a class="el" href="classwx_sizer.html#abad9cedc0cbe9ade2c799da23462d17e" title="Tell the sizer to resize the window so that its client area matches the sizer's minimal size (Compute...">Fit()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a362d7d556185fe9cd1b5d24004b86518"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxSizer::Detach </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>window</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Detach the child <em>window</em> from the sizer without destroying it. </p>
<p>This method does not cause any layout or resizing to take place, call <a class="el" href="classwx_sizer.html#a1ea8589882944f8ac78b6ff8abde1554" title="Call this to force layout of the children anew, e.g. after having added a child to or removed a child...">Layout()</a> to update the layout "on screen" after detaching a child from the sizer.</p>
<p>Returns <span class="literal">true</span> if the child item was found and detached, <span class="literal">false</span> otherwise.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_sizer.html#a06ef74a0bb6aba1f1d3aab02fb402fec" title="Removes a child window from the sizer, but does not destroy it (because windows are owned by their pa...">Remove()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a0283dc800bd1c03cd10d437cef240791"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxSizer::Detach </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_sizer.html">wxSizer</a> * </td>
<td class="paramname"><em>sizer</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Detach the child <em>sizer</em> from the sizer without destroying it. </p>
<p>This method does not cause any layout or resizing to take place, call <a class="el" href="classwx_sizer.html#a1ea8589882944f8ac78b6ff8abde1554" title="Call this to force layout of the children anew, e.g. after having added a child to or removed a child...">Layout()</a> to update the layout "on screen" after detaching a child from the sizer.</p>
<p>Returns <span class="literal">true</span> if the child item was found and detached, <span class="literal">false</span> otherwise.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_sizer.html#a06ef74a0bb6aba1f1d3aab02fb402fec" title="Removes a child window from the sizer, but does not destroy it (because windows are owned by their pa...">Remove()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="aef45062fe9096f2c48c20d8ae3ad6476"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxSizer::Detach </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>index</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Detach a item at position <em>index</em> from the sizer without destroying it. </p>
<p>This method does not cause any layout or resizing to take place, call <a class="el" href="classwx_sizer.html#a1ea8589882944f8ac78b6ff8abde1554" title="Call this to force layout of the children anew, e.g. after having added a child to or removed a child...">Layout()</a> to update the layout "on screen" after detaching a child from the sizer. Returns <span class="literal">true</span> if the child item was found and detached, <span class="literal">false</span> otherwise.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_sizer.html#a06ef74a0bb6aba1f1d3aab02fb402fec" title="Removes a child window from the sizer, but does not destroy it (because windows are owned by their pa...">Remove()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="abad9cedc0cbe9ade2c799da23462d17e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_size.html">wxSize</a> wxSizer::Fit </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>window</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Tell the sizer to resize the <em>window</em> so that its client area matches the sizer's minimal size (<a class="el" href="classwx_sizer.html#a0da5d65c9b4192bd24cc3feb1be69e59" title="Computes client area size for window so that it matches the sizer's minimal size.">ComputeFittingClientSize()</a> is called to determine it). </p>
<p>This is commonly done in the constructor of the window itself, see sample in the description of <a class="el" href="classwx_box_sizer.html" title="The basic idea behind a box sizer is that windows will most often be laid out in rather simple basic ...">wxBoxSizer</a>.</p>
<dl class="section return"><dt>Returns</dt><dd>The new window size.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_sizer.html#a0da5d65c9b4192bd24cc3feb1be69e59" title="Computes client area size for window so that it matches the sizer's minimal size.">ComputeFittingClientSize()</a>, <a class="el" href="classwx_sizer.html#a3056cb4d47ea296e095b6cbc35d61155" title="Like ComputeFittingClientSize(), but converts the result into window size.">ComputeFittingWindowSize()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a37904ed600fd389345295ff89aa09fdc"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxSizer::FitInside </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>window</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Tell the sizer to resize the virtual size of the <em>window</em> to match the sizer's minimal size. </p>
<p>This will not alter the on screen size of the window, but may cause the addition/removal/alteration of scrollbars required to view the virtual area in windows which manage it.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_scrolled.html#af5d940f364bb5097f20fee4a8e1210bb" title="Sets up vertical and/or horizontal scrollbars.">wxScrolled::SetScrollbars()</a>, <a class="el" href="classwx_sizer.html#a92cab30589d91cc09028a3abfefe6221" title="Tell the sizer to set the minimal size of the window virtual area to match the sizer's minimal size...">SetVirtualSizeHints()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a619f8bd8f4fd641819626813b1c1f576"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">wxSizerItemList& wxSizer::GetChildren </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the list of the items in this sizer. </p>
<p>The elements of type-safe wxList <code>wxSizerItemList</code> are pointers to objects of type <a class="el" href="classwx_sizer_item.html" title="The wxSizerItem class is used to track the position, size and other attributes of each item managed b...">wxSizerItem</a>. </p>
</div>
</div>
<a class="anchor" id="a542ef0705987b3b25cec3d0607dfdca2"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const wxSizerItemList& wxSizer::GetChildren </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the list of the items in this sizer. </p>
<p>The elements of type-safe wxList <code>wxSizerItemList</code> are pointers to objects of type <a class="el" href="classwx_sizer_item.html" title="The wxSizerItem class is used to track the position, size and other attributes of each item managed b...">wxSizerItem</a>. </p>
</div>
</div>
<a class="anchor" id="afc4df63c94cf062b7ef29d274d2ee6c1"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_window.html">wxWindow</a>* wxSizer::GetContainingWindow </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the window this sizer is used in or <span class="literal">NULL</span> if none. </p>
</div>
</div>
<a class="anchor" id="adca9ab35f05d28156ac0d4bc2e2ed6ac"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a>* wxSizer::GetItem </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>window</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>recursive</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Finds <a class="el" href="classwx_sizer_item.html" title="The wxSizerItem class is used to track the position, size and other attributes of each item managed b...">wxSizerItem</a> which holds the given <em>window</em>. </p>
<p>Use parameter <em>recursive</em> to search in subsizers too. Returns pointer to item or <span class="literal">NULL</span>. </p>
</div>
</div>
<a class="anchor" id="acb45fd75ab336670f41879fd557a7c65"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a>* wxSizer::GetItem </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_sizer.html">wxSizer</a> * </td>
<td class="paramname"><em>sizer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>recursive</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Finds <a class="el" href="classwx_sizer_item.html" title="The wxSizerItem class is used to track the position, size and other attributes of each item managed b...">wxSizerItem</a> which holds the given <em>sizer</em>. </p>
<p>Use parameter <em>recursive</em> to search in subsizers too. Returns pointer to item or <span class="literal">NULL</span>. </p>
</div>
</div>
<a class="anchor" id="a2aa7f3c241944ae28ee9cbd6df662227"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a>* wxSizer::GetItem </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>index</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Finds <a class="el" href="classwx_sizer_item.html" title="The wxSizerItem class is used to track the position, size and other attributes of each item managed b...">wxSizerItem</a> which is located in the sizer at position <em>index</em>. </p>
<p>Use parameter <em>recursive</em> to search in subsizers too. Returns pointer to item or <span class="literal">NULL</span>. </p>
</div>
</div>
<a class="anchor" id="ab94e21f858a3c82055faed4b621e4ad2"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a>* wxSizer::GetItemById </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>recursive</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Finds item of the sizer which has the given <em>id</em>. </p>
<p>This <em>id</em> is not the window id but the id of the <a class="el" href="classwx_sizer_item.html" title="The wxSizerItem class is used to track the position, size and other attributes of each item managed b...">wxSizerItem</a> itself. This is mainly useful for retrieving the sizers created from XRC resources. Use parameter <em>recursive</em> to search in subsizers too. Returns pointer to item or <span class="literal">NULL</span>. </p>
</div>
</div>
<a class="anchor" id="ac0e0239d22c99213b99bbafdade6793d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">size_t wxSizer::GetItemCount </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the number of items in the sizer. </p>
<p>If you just need to test whether the sizer is empty or not you can also use <a class="el" href="classwx_sizer.html#ae456d3459b9b31545100a799eb5e8c2a" title="Return true if the sizer has no elements.">IsEmpty()</a> function. </p>
</div>
</div>
<a class="anchor" id="a9fab8d16aefe347dbd57e0bdfe0d810d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_size.html">wxSize</a> wxSizer::GetMinSize </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the minimal size of the sizer. </p>
<p>This is either the combined minimal size of all the children and their borders or the minimal size set by <a class="el" href="classwx_sizer.html#a97bbbf3ee6e55c321d7bb72b4c1b7d79" title="Call this to give the sizer a minimal size.">SetMinSize()</a>, depending on which is bigger. Note that the returned value is client size, not window size. In particular, if you use the value to set toplevel window's minimal or actual size, use <a class="el" href="classwx_window.html#a6e35ba44b97e374dfffa460d41d94b31" title="Sets the minimum client size of the window, to indicate to the sizer layout mechanism that this is th...">wxWindow::SetMinClientSize()</a> or <a class="el" href="classwx_window.html#aa59f715217fffa5bcf14cd97f92e7840" title="This sets the size of the window client area in pixels.">wxWindow::SetClientSize()</a>, not <a class="el" href="classwx_window.html#a3fc066f4d8083319f004ac43811d545d" title="Sets the minimum size of the window, to indicate to the sizer layout mechanism that this is the minim...">wxWindow::SetMinSize()</a> or <a class="el" href="classwx_window.html#a180312d5ad4a4a5ad805b8d52d67a74e" title="Sets the size of the window in pixels.">wxWindow::SetSize()</a>. </p>
</div>
</div>
<a class="anchor" id="a3907d4a032274c808b57de3c0c70d215"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_point.html">wxPoint</a> wxSizer::GetPosition </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the current position of the sizer. </p>
</div>
</div>
<a class="anchor" id="a4898d4754c1b45e8acc79a2376fc6220"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_size.html">wxSize</a> wxSizer::GetSize </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the current size of the sizer. </p>
</div>
</div>
<a class="anchor" id="a317299431009a0adb4874f9c3f39ea8c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxSizer::Hide </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>window</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>recursive</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Hides the child <em>window</em>. </p>
<p>To make a sizer item disappear, use <a class="el" href="classwx_sizer.html#a317299431009a0adb4874f9c3f39ea8c" title="Hides the child window.">Hide()</a> followed by <a class="el" href="classwx_sizer.html#a1ea8589882944f8ac78b6ff8abde1554" title="Call this to force layout of the children anew, e.g. after having added a child to or removed a child...">Layout()</a>.</p>
<p>Use parameter <em>recursive</em> to hide elements found in subsizers. Returns <span class="literal">true</span> if the child item was found, <span class="literal">false</span> otherwise.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_sizer.html#a44f05d5396f62aa3764d319489223536" title="Returns true if the window is shown.">IsShown()</a>, <a class="el" href="classwx_sizer.html#afb6638468fe2253d1870b4d387c57a0b" title="Shows or hides the window.">Show()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ae822dbd21860bfdbf7f76ca22cdcc1f4"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxSizer::Hide </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_sizer.html">wxSizer</a> * </td>
<td class="paramname"><em>sizer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>recursive</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Hides the child <em>sizer</em>. </p>
<p>To make a sizer item disappear, use <a class="el" href="classwx_sizer.html#a317299431009a0adb4874f9c3f39ea8c" title="Hides the child window.">Hide()</a> followed by <a class="el" href="classwx_sizer.html#a1ea8589882944f8ac78b6ff8abde1554" title="Call this to force layout of the children anew, e.g. after having added a child to or removed a child...">Layout()</a>.</p>
<p>Use parameter <em>recursive</em> to hide elements found in subsizers. Returns <span class="literal">true</span> if the child item was found, <span class="literal">false</span> otherwise.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_sizer.html#a44f05d5396f62aa3764d319489223536" title="Returns true if the window is shown.">IsShown()</a>, <a class="el" href="classwx_sizer.html#afb6638468fe2253d1870b4d387c57a0b" title="Shows or hides the window.">Show()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a53c972f52267daea500d78f606fa0032"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxSizer::Hide </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>index</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Hides the item at position <em>index</em>. </p>
<p>To make a sizer item disappear, use <a class="el" href="classwx_sizer.html#a317299431009a0adb4874f9c3f39ea8c" title="Hides the child window.">Hide()</a> followed by <a class="el" href="classwx_sizer.html#a1ea8589882944f8ac78b6ff8abde1554" title="Call this to force layout of the children anew, e.g. after having added a child to or removed a child...">Layout()</a>.</p>
<p>Use parameter <em>recursive</em> to hide elements found in subsizers. Returns <span class="literal">true</span> if the child item was found, <span class="literal">false</span> otherwise.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_sizer.html#a44f05d5396f62aa3764d319489223536" title="Returns true if the window is shown.">IsShown()</a>, <a class="el" href="classwx_sizer.html#afb6638468fe2253d1870b4d387c57a0b" title="Shows or hides the window.">Show()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ad0cc504036ef6c3a9d670dc3c98df3a5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxSizer::InformFirstDirection </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>direction</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>size</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>availableOtherDir</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Inform sizer about the first direction that has been decided (by parent item). </p>
<p>Returns true if it made use of the information (and recalculated min size). </p>
<p>Reimplemented in <a class="el" href="classwx_wrap_sizer.html#a37961a3c5eb8f0393d035e899a17664c">wxWrapSizer</a>.</p>
</div>
</div>
<a class="anchor" id="aafc5f53e9d3511440be05f9805bb2871"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a>* wxSizer::Insert </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>index</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>window</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_sizer_flags.html">wxSizerFlags</a> & </td>
<td class="paramname"><em>flags</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Insert a child into the sizer before any existing item at <em>index</em>. </p>
<p>See <a class="el" href="classwx_sizer.html#a4e2122f2749261473c21cb192d00709f" title="Appends a child to the sizer.">Add()</a> for the meaning of the other parameters. </p>
</div>
</div>
<a class="anchor" id="aecb6744c0c82c0eb1ae12a532d5d019b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a>* wxSizer::Insert </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>index</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>window</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>proportion</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>flag</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>border</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classwx_object.html">wxObject</a> * </td>
<td class="paramname"><em>userData</em> = <code>NULL</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Insert a child into the sizer before any existing item at <em>index</em>. </p>
<p>See <a class="el" href="classwx_sizer.html#a4e2122f2749261473c21cb192d00709f" title="Appends a child to the sizer.">Add()</a> for the meaning of the other parameters. </p>
</div>
</div>
<a class="anchor" id="a244f64c3d5c900615b2384b320f6c17b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a>* wxSizer::Insert </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>index</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classwx_sizer.html">wxSizer</a> * </td>
<td class="paramname"><em>sizer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_sizer_flags.html">wxSizerFlags</a> & </td>
<td class="paramname"><em>flags</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Insert a child into the sizer before any existing item at <em>index</em>. </p>
<p>See <a class="el" href="classwx_sizer.html#a4e2122f2749261473c21cb192d00709f" title="Appends a child to the sizer.">Add()</a> for the meaning of the other parameters. </p>
</div>
</div>
<a class="anchor" id="a9308aed2cb55227ac1aec7e14707eb3e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a>* wxSizer::Insert </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>index</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classwx_sizer.html">wxSizer</a> * </td>
<td class="paramname"><em>sizer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>proportion</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>flag</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>border</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classwx_object.html">wxObject</a> * </td>
<td class="paramname"><em>userData</em> = <code>NULL</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Insert a child into the sizer before any existing item at <em>index</em>. </p>
<p>See <a class="el" href="classwx_sizer.html#a4e2122f2749261473c21cb192d00709f" title="Appends a child to the sizer.">Add()</a> for the meaning of the other parameters. </p>
</div>
</div>
<a class="anchor" id="a43cfac9112288a7d9302ceb674694bf4"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a>* wxSizer::Insert </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>index</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>height</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>proportion</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>flag</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>border</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classwx_object.html">wxObject</a> * </td>
<td class="paramname"><em>userData</em> = <code>NULL</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Insert a child into the sizer before any existing item at <em>index</em>. </p>
<p>See <a class="el" href="classwx_sizer.html#a4e2122f2749261473c21cb192d00709f" title="Appends a child to the sizer.">Add()</a> for the meaning of the other parameters. </p>
</div>
</div>
<a class="anchor" id="a77ba44e034aa8a6d7a9ff051dbb46e7b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a>* wxSizer::Insert </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>index</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>height</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_sizer_flags.html">wxSizerFlags</a> & </td>
<td class="paramname"><em>flags</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Insert a child into the sizer before any existing item at <em>index</em>. </p>
<p>See <a class="el" href="classwx_sizer.html#a4e2122f2749261473c21cb192d00709f" title="Appends a child to the sizer.">Add()</a> for the meaning of the other parameters. </p>
</div>
</div>
<a class="anchor" id="a6d1daeda52f9f944a0ebd667471ecf6d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a>* wxSizer::Insert </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>index</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a> * </td>
<td class="paramname"><em>item</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="afb001f9018ff92400937bf6bd494de0d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a>* wxSizer::InsertSpacer </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>index</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>size</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Inserts non-stretchable space to the sizer. </p>
<p>More readable way of calling wxSizer::Insert(index, size, size). </p>
</div>
</div>
<a class="anchor" id="a8aeaaac2a98635d45a06961e505e8dde"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a>* wxSizer::InsertStretchSpacer </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>index</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>prop</em> = <code>1</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Inserts stretchable space to the sizer. </p>
<p>More readable way of calling wxSizer::Insert(0, 0, prop). </p>
</div>
</div>
<a class="anchor" id="ae456d3459b9b31545100a799eb5e8c2a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxSizer::IsEmpty </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Return <span class="literal">true</span> if the sizer has no elements. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_sizer.html#ac0e0239d22c99213b99bbafdade6793d" title="Returns the number of items in the sizer.">GetItemCount()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a44f05d5396f62aa3764d319489223536"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxSizer::IsShown </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>window</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns <span class="literal">true</span> if the <em>window</em> is shown. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_sizer.html#a317299431009a0adb4874f9c3f39ea8c" title="Hides the child window.">Hide()</a>, <a class="el" href="classwx_sizer.html#afb6638468fe2253d1870b4d387c57a0b" title="Shows or hides the window.">Show()</a>, <a class="el" href="classwx_sizer_item.html#acf4fdee6540663e5de1666bddf962c97" title="Returns true if this item is a window or a spacer and it is shown or if this item is a sizer and not ...">wxSizerItem::IsShown()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a5fd1c503a027709c29e4f56c9707b75c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxSizer::IsShown </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_sizer.html">wxSizer</a> * </td>
<td class="paramname"><em>sizer</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns <span class="literal">true</span> if the <em>sizer</em> is shown. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_sizer.html#a317299431009a0adb4874f9c3f39ea8c" title="Hides the child window.">Hide()</a>, <a class="el" href="classwx_sizer.html#afb6638468fe2253d1870b4d387c57a0b" title="Shows or hides the window.">Show()</a>, <a class="el" href="classwx_sizer_item.html#acf4fdee6540663e5de1666bddf962c97" title="Returns true if this item is a window or a spacer and it is shown or if this item is a sizer and not ...">wxSizerItem::IsShown()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a7543a671a8ae7193ba8d15532ca8712d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxSizer::IsShown </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>index</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns <span class="literal">true</span> if the item at <em>index</em> is shown. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_sizer.html#a317299431009a0adb4874f9c3f39ea8c" title="Hides the child window.">Hide()</a>, <a class="el" href="classwx_sizer.html#afb6638468fe2253d1870b4d387c57a0b" title="Shows or hides the window.">Show()</a>, <a class="el" href="classwx_sizer_item.html#acf4fdee6540663e5de1666bddf962c97" title="Returns true if this item is a window or a spacer and it is shown or if this item is a sizer and not ...">wxSizerItem::IsShown()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a1ea8589882944f8ac78b6ff8abde1554"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxSizer::Layout </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Call this to force layout of the children anew, e.g. after having added a child to or removed a child (window, other sizer or space) from the sizer while keeping the current dimension. </p>
</div>
</div>
<a class="anchor" id="a7417fb9b0e3b4777c11b381f14cf0153"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a>* wxSizer::Prepend </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>window</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_sizer_flags.html">wxSizerFlags</a> & </td>
<td class="paramname"><em>flags</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Same as <a class="el" href="classwx_sizer.html#a4e2122f2749261473c21cb192d00709f" title="Appends a child to the sizer.">Add()</a>, but prepends the items to the beginning of the list of items (windows, subsizers or spaces) owned by this sizer. </p>
</div>
</div>
<a class="anchor" id="a66ce726dcc4bf0a283530d3bc425aae9"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a>* wxSizer::Prepend </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>window</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>proportion</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>flag</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>border</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classwx_object.html">wxObject</a> * </td>
<td class="paramname"><em>userData</em> = <code>NULL</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Same as <a class="el" href="classwx_sizer.html#a4e2122f2749261473c21cb192d00709f" title="Appends a child to the sizer.">Add()</a>, but prepends the items to the beginning of the list of items (windows, subsizers or spaces) owned by this sizer. </p>
</div>
</div>
<a class="anchor" id="aedfd27f1b77cd34d23c06e001670a62d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a>* wxSizer::Prepend </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_sizer.html">wxSizer</a> * </td>
<td class="paramname"><em>sizer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_sizer_flags.html">wxSizerFlags</a> & </td>
<td class="paramname"><em>flags</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Same as <a class="el" href="classwx_sizer.html#a4e2122f2749261473c21cb192d00709f" title="Appends a child to the sizer.">Add()</a>, but prepends the items to the beginning of the list of items (windows, subsizers or spaces) owned by this sizer. </p>
</div>
</div>
<a class="anchor" id="a968936425f2d5e6b9c15a3820737e1fe"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a>* wxSizer::Prepend </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_sizer.html">wxSizer</a> * </td>
<td class="paramname"><em>sizer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>proportion</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>flag</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>border</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classwx_object.html">wxObject</a> * </td>
<td class="paramname"><em>userData</em> = <code>NULL</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Same as <a class="el" href="classwx_sizer.html#a4e2122f2749261473c21cb192d00709f" title="Appends a child to the sizer.">Add()</a>, but prepends the items to the beginning of the list of items (windows, subsizers or spaces) owned by this sizer. </p>
</div>
</div>
<a class="anchor" id="a504343f0780c3d1ea7f16bcf1e6e90b5"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a>* wxSizer::Prepend </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>height</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>proportion</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>flag</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>border</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classwx_object.html">wxObject</a> * </td>
<td class="paramname"><em>userData</em> = <code>NULL</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Same as <a class="el" href="classwx_sizer.html#a4e2122f2749261473c21cb192d00709f" title="Appends a child to the sizer.">Add()</a>, but prepends the items to the beginning of the list of items (windows, subsizers or spaces) owned by this sizer. </p>
</div>
</div>
<a class="anchor" id="ac0335ec5f36e76639bd5a52add3eac88"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a>* wxSizer::Prepend </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>height</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_sizer_flags.html">wxSizerFlags</a> & </td>
<td class="paramname"><em>flags</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Same as <a class="el" href="classwx_sizer.html#a4e2122f2749261473c21cb192d00709f" title="Appends a child to the sizer.">Add()</a>, but prepends the items to the beginning of the list of items (windows, subsizers or spaces) owned by this sizer. </p>
</div>
</div>
<a class="anchor" id="a0f34608b8bf5b119938cea846a4b29c6"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a>* wxSizer::Prepend </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a> * </td>
<td class="paramname"><em>item</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="acc707e1e6d0afd18dc4e70052fa21d78"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a>* wxSizer::PrependSpacer </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>size</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Prepends non-stretchable space to the sizer. </p>
<p>More readable way of calling wxSizer::Prepend(size, size, 0). </p>
</div>
</div>
<a class="anchor" id="ac102680023527ab0610a0d2a6340d4e4"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a>* wxSizer::PrependStretchSpacer </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>prop</em> = <code>1</code></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Prepends stretchable space to the sizer. </p>
<p>More readable way of calling wxSizer::Prepend(0, 0, prop). </p>
</div>
</div>
<a class="anchor" id="ad8bbc5e78a46f85d445db3c324fe1614"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxSizer::RecalcSizes </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This method is abstract and has to be overwritten by any derived class. </p>
<p>Here, the sizer will do the actual calculation of its children's positions and sizes. </p>
<p>Implemented in <a class="el" href="classwx_box_sizer.html#ad5c32286716e5dfcc9fbaf9cd87a3080">wxBoxSizer</a>, <a class="el" href="classwx_static_box_sizer.html#a88215899273edc9a8503e3fc2dd72bc5">wxStaticBoxSizer</a>, <a class="el" href="classwx_grid_sizer.html#ae77a4c0a71b771157989af8f1b5b44f4">wxGridSizer</a>, <a class="el" href="classwx_flex_grid_sizer.html#a1e2cdf743dfd82b5c81c8e08d21ef6c7">wxFlexGridSizer</a>, <a class="el" href="classwx_std_dialog_button_sizer.html#a21a99d0261bbdc4ece1b4630d4a2ae3e">wxStdDialogButtonSizer</a>, <a class="el" href="classwx_grid_bag_sizer.html#ac9aaee82eb6c51e467c4d92e0c03b015">wxGridBagSizer</a>, and <a class="el" href="classwx_wrap_sizer.html#af26c69849c7d91b7bb0976e6cfed90ae">wxWrapSizer</a>.</p>
</div>
</div>
<a class="anchor" id="a06ef74a0bb6aba1f1d3aab02fb402fec"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxSizer::Remove </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>window</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Removes a child window from the sizer, but does <b>not</b> destroy it (because windows are owned by their parent window, not the sizer). </p>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000045">Deprecated:</a></b></dt><dd>The overload of this method taking a wxWindow* parameter is deprecated as it does not destroy the window as would usually be expected from <a class="el" href="classwx_sizer.html#a06ef74a0bb6aba1f1d3aab02fb402fec" title="Removes a child window from the sizer, but does not destroy it (because windows are owned by their pa...">Remove()</a>. You should use <a class="el" href="classwx_sizer.html#a362d7d556185fe9cd1b5d24004b86518" title="Detach the child window from the sizer without destroying it.">Detach()</a> in new code instead. There is currently no <a class="el" href="classwx_sizer.html" title="wxSizer is the abstract base class used for laying out subwindows in a window.">wxSizer</a> method that will both detach and destroy a <a class="el" href="classwx_window.html" title="wxWindow is the base class for all windows and represents any visible object on screen.">wxWindow</a> item.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>This method does not cause any layout or resizing to take place, call <a class="el" href="classwx_sizer.html#a1ea8589882944f8ac78b6ff8abde1554" title="Call this to force layout of the children anew, e.g. after having added a child to or removed a child...">Layout()</a> to update the layout "on screen" after removing a child from the sizer.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd><span class="literal">true</span> if the child item was found and removed, <span class="literal">false</span> otherwise. </dd></dl>
</div>
</div>
<a class="anchor" id="a7fce6ce0e986e00e6702914436b6191a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxSizer::Remove </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_sizer.html">wxSizer</a> * </td>
<td class="paramname"><em>sizer</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Removes a sizer child from the sizer and destroys it. </p>
<dl class="section note"><dt>Note</dt><dd>This method does not cause any layout or resizing to take place, call <a class="el" href="classwx_sizer.html#a1ea8589882944f8ac78b6ff8abde1554" title="Call this to force layout of the children anew, e.g. after having added a child to or removed a child...">Layout()</a> to update the layout "on screen" after removing a child from the sizer.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">sizer</td><td>The <a class="el" href="classwx_sizer.html" title="wxSizer is the abstract base class used for laying out subwindows in a window.">wxSizer</a> to be removed.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><span class="literal">true</span> if the child item was found and removed, <span class="literal">false</span> otherwise. </dd></dl>
</div>
</div>
<a class="anchor" id="accad1425ce5f2504fb63d2801b5b85e1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxSizer::Remove </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>index</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Removes a child from the sizer and destroys it if it is a sizer or a spacer, but not if it is a window (because windows are owned by their parent window, not the sizer). </p>
<dl class="section note"><dt>Note</dt><dd>This method does not cause any layout or resizing to take place, call <a class="el" href="classwx_sizer.html#a1ea8589882944f8ac78b6ff8abde1554" title="Call this to force layout of the children anew, e.g. after having added a child to or removed a child...">Layout()</a> to update the layout "on screen" after removing a child from the sizer.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">index</td><td>The position of the child in the sizer, e.g. 0 for the first item.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><span class="literal">true</span> if the child item was found and removed, <span class="literal">false</span> otherwise. </dd></dl>
</div>
</div>
<a class="anchor" id="ade62512b74abfa0c6ff45825ea0c9d9d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxSizer::Replace </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>oldwin</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>newwin</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>recursive</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Detaches the given <em>oldwin</em> from the sizer and replaces it with the given <em>newwin</em>. </p>
<p>The detached child window is <b>not</b> deleted (because windows are owned by their parent window, not the sizer).</p>
<p>Use parameter <em>recursive</em> to search the given element recursively in subsizers.</p>
<p>This method does not cause any layout or resizing to take place, call <a class="el" href="classwx_sizer.html#a1ea8589882944f8ac78b6ff8abde1554" title="Call this to force layout of the children anew, e.g. after having added a child to or removed a child...">Layout()</a> to update the layout "on screen" after replacing a child from the sizer.</p>
<p>Returns <span class="literal">true</span> if the child item was found and removed, <span class="literal">false</span> otherwise. </p>
</div>
</div>
<a class="anchor" id="a842fc94c0f5e58597216cb952e044509"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxSizer::Replace </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_sizer.html">wxSizer</a> * </td>
<td class="paramname"><em>oldsz</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classwx_sizer.html">wxSizer</a> * </td>
<td class="paramname"><em>newsz</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>recursive</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Detaches the given <em>oldsz</em> from the sizer and replaces it with the given <em>newsz</em>. </p>
<p>The detached child sizer is deleted.</p>
<p>Use parameter <em>recursive</em> to search the given element recursively in subsizers.</p>
<p>This method does not cause any layout or resizing to take place, call <a class="el" href="classwx_sizer.html#a1ea8589882944f8ac78b6ff8abde1554" title="Call this to force layout of the children anew, e.g. after having added a child to or removed a child...">Layout()</a> to update the layout "on screen" after replacing a child from the sizer.</p>
<p>Returns <span class="literal">true</span> if the child item was found and removed, <span class="literal">false</span> otherwise. </p>
</div>
</div>
<a class="anchor" id="a5283d4d5fd059cea93e9401e3708f294"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxSizer::Replace </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>index</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classwx_sizer_item.html">wxSizerItem</a> * </td>
<td class="paramname"><em>newitem</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Detaches the given item at position <em>index</em> from the sizer and replaces it with the given <a class="el" href="classwx_sizer_item.html" title="The wxSizerItem class is used to track the position, size and other attributes of each item managed b...">wxSizerItem</a> <em>newitem</em>. </p>
<p>The detached child is deleted <b>only</b> if it is a sizer or a spacer (but not if it is a <a class="el" href="classwx_window.html" title="wxWindow is the base class for all windows and represents any visible object on screen.">wxWindow</a> because windows are owned by their parent window, not the sizer).</p>
<p>This method does not cause any layout or resizing to take place, call <a class="el" href="classwx_sizer.html#a1ea8589882944f8ac78b6ff8abde1554" title="Call this to force layout of the children anew, e.g. after having added a child to or removed a child...">Layout()</a> to update the layout "on screen" after replacing a child from the sizer.</p>
<p>Returns <span class="literal">true</span> if the child item was found and removed, <span class="literal">false</span> otherwise. </p>
</div>
</div>
<a class="anchor" id="a687d055d72ff655c3e86a7010f16bfc6"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxSizer::SetContainingWindow </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>window</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the window this sizer is used in. </p>
</div>
</div>
<a class="anchor" id="a3c5483afdc5b5b5657548e190226f285"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxSizer::SetDimension </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>height</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Call this to force the sizer to take the given dimension and thus force the items owned by the sizer to resize themselves according to the rules defined by the parameter in the <a class="el" href="classwx_sizer.html#a4e2122f2749261473c21cb192d00709f" title="Appends a child to the sizer.">Add()</a> and <a class="el" href="classwx_sizer.html#a7417fb9b0e3b4777c11b381f14cf0153" title="Same as Add(), but prepends the items to the beginning of the list of items (windows, subsizers or spaces) owned by this sizer.">Prepend()</a> methods. </p>
</div>
</div>
<a class="anchor" id="aa993f4a4534bd4dd24c801bfda6da224"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxSizer::SetDimension </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_point.html">wxPoint</a> & </td>
<td class="paramname"><em>pos</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_size.html">wxSize</a> & </td>
<td class="paramname"><em>size</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>
</div>
</div>
<a class="anchor" id="a26fc90231667639d5af7c2f8f7b75c80"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxSizer::SetItemMinSize </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>window</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>height</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set an item's minimum size by window, sizer, or position. </p>
<p>This function enables an application to set the size of an item after initial creation.</p>
<p>The <em>window</em> or <em>sizer</em> will be found recursively in the sizer's descendants.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_sizer_item.html#ae81527c4eae65c1bdc491309df643d07" title="Sets the minimum size to be allocated for this item.">wxSizerItem::SetMinSize()</a></dd></dl>
<dl class="section return"><dt>Returns</dt><dd><span class="literal">true</span> if the minimal size was successfully set or <span class="literal">false</span> if the item was not found. </dd></dl>
</div>
</div>
<a class="anchor" id="a486d80e43e6cbd8fea5fa2879d111071"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxSizer::SetItemMinSize </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>window</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_size.html">wxSize</a> & </td>
<td class="paramname"><em>size</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set an item's minimum size by window, sizer, or position. </p>
<p>This function enables an application to set the size of an item after initial creation.</p>
<p>The <em>window</em> or <em>sizer</em> will be found recursively in the sizer's descendants.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_sizer_item.html#ae81527c4eae65c1bdc491309df643d07" title="Sets the minimum size to be allocated for this item.">wxSizerItem::SetMinSize()</a></dd></dl>
<dl class="section return"><dt>Returns</dt><dd><span class="literal">true</span> if the minimal size was successfully set or <span class="literal">false</span> if the item was not found. </dd></dl>
</div>
</div>
<a class="anchor" id="a8e4230a56ca442a3eb3577f6c47094d4"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxSizer::SetItemMinSize </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_sizer.html">wxSizer</a> * </td>
<td class="paramname"><em>sizer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>height</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set an item's minimum size by window, sizer, or position. </p>
<p>This function enables an application to set the size of an item after initial creation.</p>
<p>The <em>window</em> or <em>sizer</em> will be found recursively in the sizer's descendants.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_sizer_item.html#ae81527c4eae65c1bdc491309df643d07" title="Sets the minimum size to be allocated for this item.">wxSizerItem::SetMinSize()</a></dd></dl>
<dl class="section return"><dt>Returns</dt><dd><span class="literal">true</span> if the minimal size was successfully set or <span class="literal">false</span> if the item was not found. </dd></dl>
</div>
</div>
<a class="anchor" id="a9941c644acf3b215678cea0ea15aeec0"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxSizer::SetItemMinSize </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_sizer.html">wxSizer</a> * </td>
<td class="paramname"><em>sizer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_size.html">wxSize</a> & </td>
<td class="paramname"><em>size</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set an item's minimum size by window, sizer, or position. </p>
<p>This function enables an application to set the size of an item after initial creation.</p>
<p>The <em>window</em> or <em>sizer</em> will be found recursively in the sizer's descendants.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_sizer_item.html#ae81527c4eae65c1bdc491309df643d07" title="Sets the minimum size to be allocated for this item.">wxSizerItem::SetMinSize()</a></dd></dl>
<dl class="section return"><dt>Returns</dt><dd><span class="literal">true</span> if the minimal size was successfully set or <span class="literal">false</span> if the item was not found. </dd></dl>
</div>
</div>
<a class="anchor" id="aae51219b9dfd74c3af5823e39f558ed4"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxSizer::SetItemMinSize </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>index</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>height</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set an item's minimum size by window, sizer, or position. </p>
<p>This function enables an application to set the size of an item after initial creation.</p>
<p>The <em>window</em> or <em>sizer</em> will be found recursively in the sizer's descendants.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_sizer_item.html#ae81527c4eae65c1bdc491309df643d07" title="Sets the minimum size to be allocated for this item.">wxSizerItem::SetMinSize()</a></dd></dl>
<dl class="section return"><dt>Returns</dt><dd><span class="literal">true</span> if the minimal size was successfully set or <span class="literal">false</span> if the item was not found. </dd></dl>
</div>
</div>
<a class="anchor" id="abc7a754f4a12f80025fad0d131082fbb"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxSizer::SetItemMinSize </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>index</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_size.html">wxSize</a> & </td>
<td class="paramname"><em>size</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set an item's minimum size by window, sizer, or position. </p>
<p>This function enables an application to set the size of an item after initial creation.</p>
<p>The <em>window</em> or <em>sizer</em> will be found recursively in the sizer's descendants.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_sizer_item.html#ae81527c4eae65c1bdc491309df643d07" title="Sets the minimum size to be allocated for this item.">wxSizerItem::SetMinSize()</a></dd></dl>
<dl class="section return"><dt>Returns</dt><dd><span class="literal">true</span> if the minimal size was successfully set or <span class="literal">false</span> if the item was not found. </dd></dl>
</div>
</div>
<a class="anchor" id="a97bbbf3ee6e55c321d7bb72b4c1b7d79"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxSizer::SetMinSize </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_size.html">wxSize</a> & </td>
<td class="paramname"><em>size</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Call this to give the sizer a minimal size. </p>
<p>Normally, the sizer will calculate its minimal size based purely on how much space its children need. After calling this method <a class="el" href="classwx_sizer.html#a9fab8d16aefe347dbd57e0bdfe0d810d" title="Returns the minimal size of the sizer.">GetMinSize()</a> will return either the minimal size as requested by its children or the minimal size set here, depending on which is bigger. </p>
</div>
</div>
<a class="anchor" id="a0e89f59e611c0279e8bee1b7ee345446"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxSizer::SetMinSize </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>height</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>
</div>
</div>
<a class="anchor" id="abc460cd0e2bb3bde72142fdb434bc546"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxSizer::SetSizeHints </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>window</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>This method first calls <a class="el" href="classwx_sizer.html#abad9cedc0cbe9ade2c799da23462d17e" title="Tell the sizer to resize the window so that its client area matches the sizer's minimal size (Compute...">Fit()</a> and then <a class="el" href="classwx_top_level_window.html#ac01a45e5d82e4e3be22a4841c1217e11" title="Allows specification of minimum and maximum window sizes, and window size increments.">wxTopLevelWindow::SetSizeHints()</a> on the <em>window</em> passed to it. </p>
<p>This only makes sense when <em>window</em> is actually a <a class="el" href="classwx_top_level_window.html" title="wxTopLevelWindow is a common base class for wxDialog and wxFrame.">wxTopLevelWindow</a> such as a <a class="el" href="classwx_frame.html" title="A frame is a window whose size and position can (usually) be changed by the user.">wxFrame</a> or a <a class="el" href="classwx_dialog.html" title="A dialog box is a window with a title bar and sometimes a system menu, which can be moved around the ...">wxDialog</a>, since SetSizeHints only has any effect in these classes. It does nothing in normal windows or controls.</p>
<p>This method is implicitly used by <a class="el" href="classwx_window.html#a29938af9828fd35da666536cdfb6b73c" title="This method calls SetSizer() and then wxSizer::SetSizeHints which sets the initial window size to the...">wxWindow::SetSizerAndFit()</a> which is commonly invoked in the constructor of a toplevel window itself (see the sample in the description of <a class="el" href="classwx_box_sizer.html" title="The basic idea behind a box sizer is that windows will most often be laid out in rather simple basic ...">wxBoxSizer</a>) if the toplevel window is resizable. </p>
</div>
</div>
<a class="anchor" id="a92cab30589d91cc09028a3abfefe6221"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxSizer::SetVirtualSizeHints </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>window</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Tell the sizer to set the minimal size of the <em>window</em> virtual area to match the sizer's minimal size. </p>
<p>For windows with managed scrollbars this will set them appropriately.</p>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000046">Deprecated:</a></b></dt><dd>This is exactly the same as <a class="el" href="classwx_sizer.html#a37904ed600fd389345295ff89aa09fdc" title="Tell the sizer to resize the virtual size of the window to match the sizer's minimal size...">FitInside()</a> in wxWidgets 2.9 and later, please replace calls to it with <a class="el" href="classwx_sizer.html#a37904ed600fd389345295ff89aa09fdc" title="Tell the sizer to resize the virtual size of the window to match the sizer's minimal size...">FitInside()</a>.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_scrolled.html#af5d940f364bb5097f20fee4a8e1210bb" title="Sets up vertical and/or horizontal scrollbars.">wxScrolled::SetScrollbars()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="afb6638468fe2253d1870b4d387c57a0b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxSizer::Show </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>window</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>show</em> = <code>true</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>recursive</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Shows or hides the <em>window</em>. </p>
<p>To make a sizer item disappear or reappear, use <a class="el" href="classwx_sizer.html#afb6638468fe2253d1870b4d387c57a0b" title="Shows or hides the window.">Show()</a> followed by <a class="el" href="classwx_sizer.html#a1ea8589882944f8ac78b6ff8abde1554" title="Call this to force layout of the children anew, e.g. after having added a child to or removed a child...">Layout()</a>.</p>
<p>Use parameter <em>recursive</em> to show or hide elements found in subsizers.</p>
<p>Returns <span class="literal">true</span> if the child item was found, <span class="literal">false</span> otherwise.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_sizer.html#a317299431009a0adb4874f9c3f39ea8c" title="Hides the child window.">Hide()</a>, <a class="el" href="classwx_sizer.html#a44f05d5396f62aa3764d319489223536" title="Returns true if the window is shown.">IsShown()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a65289f40a39fb31512f93d8d7f63720e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxSizer::Show </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_sizer.html">wxSizer</a> * </td>
<td class="paramname"><em>sizer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>show</em> = <code>true</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>recursive</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Shows or hides <em>sizer</em>. </p>
<p>To make a sizer item disappear or reappear, use <a class="el" href="classwx_sizer.html#afb6638468fe2253d1870b4d387c57a0b" title="Shows or hides the window.">Show()</a> followed by <a class="el" href="classwx_sizer.html#a1ea8589882944f8ac78b6ff8abde1554" title="Call this to force layout of the children anew, e.g. after having added a child to or removed a child...">Layout()</a>.</p>
<p>Use parameter <em>recursive</em> to show or hide elements found in subsizers.</p>
<p>Returns <span class="literal">true</span> if the child item was found, <span class="literal">false</span> otherwise.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_sizer.html#a317299431009a0adb4874f9c3f39ea8c" title="Hides the child window.">Hide()</a>, <a class="el" href="classwx_sizer.html#a44f05d5396f62aa3764d319489223536" title="Returns true if the window is shown.">IsShown()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a15f781b11cbe978d6fbc0b62f32bc3b4"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxSizer::Show </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>index</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>show</em> = <code>true</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Shows the item at <em>index</em>. </p>
<p>To make a sizer item disappear or reappear, use <a class="el" href="classwx_sizer.html#afb6638468fe2253d1870b4d387c57a0b" title="Shows or hides the window.">Show()</a> followed by <a class="el" href="classwx_sizer.html#a1ea8589882944f8ac78b6ff8abde1554" title="Call this to force layout of the children anew, e.g. after having added a child to or removed a child...">Layout()</a>.</p>
<p>Returns <span class="literal">true</span> if the child item was found, <span class="literal">false</span> otherwise.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_sizer.html#a317299431009a0adb4874f9c3f39ea8c" title="Hides the child window.">Hide()</a>, <a class="el" href="classwx_sizer.html#a44f05d5396f62aa3764d319489223536" title="Returns true if the window is shown.">IsShown()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a95533b38ceb29ddbaf902f4bf680daa6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxSizer::ShowItems </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>show</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Show or hide all items managed by the sizer. </p>
</div>
</div>
</div><!-- contents -->
<address class="footer">
<small>
Generated on Thu Nov 27 2014 13:46:58 for wxWidgets by <a href="http://www.doxygen.org/index.html" target="_new">Doxygen</a> 1.8.2
</small>
</address>
<script src="wxwidgets.js" type="text/javascript"></script>
</div><!-- #page_container -->
</body>
</html>
|