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 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 8490 8491 8492 8493 8494 8495 8496 8497 8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842
|
<!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: wxWindow 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="#nested-classes">Classes</a> |
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pro-methods">Protected Member Functions</a> |
<a href="classwx_window-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">wxWindow Class Reference<div class="ingroups"><a class="el" href="group__group__class__miscwnd.html">Miscellaneous Windows</a></div></div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include <wx/window.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 wxWindow:</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_window__inherit__graph.png" border="0" usemap="#wx_window_inherit__map" alt="Inheritance graph"/></div>
<map name="wx_window_inherit__map" id="wx_window_inherit__map">
<area shape="rect" id="node9" href="classwx_banner_window.html" title="A simple banner window showing either a bitmap or text." alt="" coords="439,739,561,767"/><area shape="rect" id="node11" href="classwx_control.html" title="This is the base class for a control or "widget"." alt="" coords="461,790,539,818"/><area shape="rect" id="node77" href="classwx_g_l_canvas.html" title="wxGLCanvas is a class for displaying OpenGL graphics." alt="" coords="452,841,548,869"/><area shape="rect" id="node79" href="classwx_html_help_window.html" title="This class is used by wxHtmlHelpController to display help within a frame or dialog, but you can use it yourself to create an embedded HTML help window." alt="" coords="433,891,567,919"/><area shape="rect" id="node81" href="classwx_m_d_i_client_window.html" title="An MDI client window is a child of wxMDIParentFrame, and manages zero or more wxMDIChildFrame objects..." alt="" coords="431,942,569,970"/><area shape="rect" id="node83" href="classwx_menu_bar.html" title="A menu bar is a series of menus accessible from the top of a frame." alt="" coords="456,993,544,1021"/><area shape="rect" id="node85" href="classwx_non_owned_window.html" title="Common base class for all non-child windows." alt="" coords="428,1043,572,1071"/><area shape="rect" id="node87" href="classwx_panel.html" title="A panel is a window on which controls are placed." alt="" coords="465,1094,535,1122"/><area shape="rect" id="node89" href="classwx_p_g_multi_button.html" title="This class can be used to have multiple buttons in a property editor." alt="" coords="439,1145,561,1173"/><area shape="rect" id="node91" href="classwx_sash_window.html" title="wxSashWindow allows any of its edges to have a sash which can be dragged to resize the window..." alt="" coords="445,1195,555,1223"/><area shape="rect" id="node93" href="classwx_splitter_window.html" title="This class manages up to two subwindows." alt="" coords="439,1246,561,1274"/><area shape="rect" id="node95" href="classwx_tip_window.html" title="Shows simple text in a popup tip window on creation." alt="" coords="451,1297,549,1325"/><area shape="rect" id="node97" href="classwx_tree_list_ctrl.html" title="A control combining wxTreeCtrl and wxListCtrl features." alt="" coords="449,1347,551,1375"/><area shape="rect" id="node2" href="classwx_evt_handler.html" title="A class that can handle events from the windowing system." alt="" coords="149,1043,248,1071"/><area shape="rect" id="node4" href="classwx_object.html" title="This is the root class of many of the wxWidgets classes." alt="" coords="16,1018,91,1046"/><area shape="rect" id="node6" href="classwx_trackable.html" title="Add-on base class for a trackable object." alt="" coords="7,1069,100,1097"/><area shape="rect" id="node13" href="classwx_active_x_container.html" title="wxActiveXContainer is a host for an ActiveX control on Windows (and as such is a platform-specific cl..." alt="" coords="632,5,768,33"/><area shape="rect" id="node15" href="classwx_animation_ctrl.html" title="This is a static control which displays an animation." alt="" coords="643,55,757,83"/><area shape="rect" id="node17" href="classwx_any_button.html" title="A class for common button functionality used as the base for the various button classes." alt="" coords="652,106,748,134"/><area shape="rect" id="node19" href="classwx_aui_tool_bar.html" title="wxAuiToolBar is a dockable toolbar, part of the wxAUI class framework." alt="" coords="649,157,751,185"/><area shape="rect" id="node21" href="classwx_book_ctrl_base.html" title="A book control is a convenient way of displaying multiple pages of information, displayed one page at..." alt="" coords="643,207,757,235"/><area shape="rect" id="node23" href="classwx_calendar_ctrl.html" title="The calendar control allows the user to pick a date." alt="" coords="647,258,753,286"/><area shape="rect" id="node25" href="classwx_check_box.html" title="A checkbox is a labelled box which by default is either on (checkmark is visible) or off (no checkmar..." alt="" coords="652,309,748,337"/><area shape="rect" id="node27" href="classwx_choice.html" title="A choice item is used to select one of a list of strings." alt="" coords="661,359,739,387"/><area shape="rect" id="node29" href="classwx_collapsible_pane.html" title="A collapsible pane is a container with an embedded button-like control which can be used by the user ..." alt="" coords="636,410,764,438"/><area shape="rect" id="node31" href="classwx_combo_box.html" title="A combobox is like a combination of an edit control and a listbox." alt="" coords="651,461,749,489"/><area shape="rect" id="node33" href="classwx_combo_ctrl.html" title="A combo control is a generic combobox that allows totally custom popup." alt="" coords="651,511,749,539"/><area shape="rect" id="node35" href="classwx_control_with_items.html" title="This is convenience class that derives from both wxControl and wxItemContainer." alt="" coords="632,562,768,590"/><area shape="rect" id="node37" href="classwx_data_view_ctrl.html" title="wxDataViewCtrl is a control to display data either in a tree like fashion or in a tabular form or bot..." alt="" coords="645,613,755,641"/><area shape="rect" id="node39" href="classwx_date_picker_ctrl.html" title="This control allows the user to select a date." alt="" coords="640,663,760,691"/><area shape="rect" id="node41" href="classwx_file_ctrl.html" title="This control allows the user to select a file." alt="" coords="661,714,739,742"/><area shape="rect" id="node43" href="classwx_gauge.html" title="A gauge is a horizontal or vertical bar which shows a quantity (often time)." alt="" coords="663,765,737,793"/><area shape="rect" id="node45" href="classwx_generic_dir_ctrl.html" title="This control can be used to place a directory listing (with optional files) on an arbitrary window..." alt="" coords="641,815,759,843"/><area shape="rect" id="node47" href="classwx_header_ctrl.html" title="wxHeaderCtrl is the control containing the column headings which is usually used for display of tabul..." alt="" coords="651,866,749,894"/><area shape="rect" id="node49" href="classwx_hyperlink_ctrl.html" title="This class shows a static text element which links to an URL." alt="" coords="645,917,755,945"/><area shape="rect" id="node51" href="classwx_info_bar.html" title="An info bar is a transient window shown at top or bottom of its parent window to display non-critical..." alt="" coords="661,967,739,995"/><area shape="rect" id="node53" href="classwx_list_box.html" title="A listbox is used to select one or more of a list of strings." alt="" coords="661,1018,739,1046"/><area shape="rect" id="node55" href="classwx_list_ctrl.html" title="A list control presents lists in a number of formats: list view, report view, icon view and small ico..." alt="" coords="661,1069,739,1097"/><area shape="rect" id="node57" href="classwx_media_ctrl.html" title="wxMediaCtrl is a class for displaying types of media, such as videos, audio files, natively through native codecs." alt="" coords="655,1119,745,1147"/><area shape="rect" id="node59" href="classwx_picker_base.html" title="Base abstract class for all pickers which support an auxiliary text control." alt="" coords="649,1170,751,1198"/><area shape="rect" id="node61" href="classwx_property_grid.html" title="wxPropertyGrid is a specialized grid for editing properties - in other words name = value pairs..." alt="" coords="645,1221,755,1249"/><area shape="rect" id="node63" href="classwx_radio_box.html" title="A radio box item is used to select one of number of mutually exclusive choices." alt="" coords="655,1271,745,1299"/><area shape="rect" id="node65" href="classwx_radio_button.html" title="A radio button item is a button which usually denotes one of several mutually exclusive options..." alt="" coords="647,1322,753,1350"/><area shape="rect" id="node67" href="classwx_ribbon_control.html" title="wxRibbonControl serves as a base class for all controls which share the ribbon characteristics of hav..." alt="" coords="641,1373,759,1401"/><area shape="rect" id="node69" href="classwx_rich_text_ctrl.html" title="wxRichTextCtrl provides a generic, ground-up implementation of a text control capable of showing mult..." alt="" coords="647,1423,753,1451"/><area shape="rect" id="node71" href="classwx_rich_text_style_list_ctrl.html" title="This class incorporates a wxRichTextStyleListBox and a choice control that allows the user to select ..." alt="" coords="621,1474,779,1502"/><area shape="rect" id="node73" href="classwx_scroll_bar.html" title="A wxScrollBar is a control that represents a horizontal or vertical scrollbar." alt="" coords="655,1525,745,1553"/><area shape="rect" id="node75" href="classwx_slider.html" title="A slider is a control with a handle which can be pulled back and forth to change the value..." alt="" coords="665,1575,735,1603"/></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_window.html" title="wxWindow is the base class for all windows and represents any visible object on screen.">wxWindow</a> is the base class for all windows and represents any visible object on screen. </p>
<p>All controls, top level windows and so on are windows. Sizers and device contexts are not, however, as they don't appear on screen themselves.</p>
<p>Please note that all children of the window will be deleted automatically by the destructor before the window itself is deleted which means that you don't have to worry about deleting them manually. Please see the <a class="el" href="overview_windowdeletion.html">window deletion overview</a> for more information.</p>
<p>Also note that in this, and many others, wxWidgets classes some <code>GetXXX()</code> methods may be overloaded (as, for example, <a class="el" href="classwx_window.html#a124c12cff1e7b6e96a5e1fd3e48dca34" title="Returns the size of the entire window in pixels, including title bar, border, scrollbars, etc.">wxWindow::GetSize</a> or <a class="el" href="classwx_window.html#ae56fc53268b815b58570f66bfc33838f" title="Returns the size of the window 'client area' in pixels.">wxWindow::GetClientSize</a>). In this case, the overloads are non-virtual because having multiple virtual functions with the same name results in a virtual function name hiding at the derived class level (in English, this means that the derived class has to override all overloaded variants if it overrides any of them). To allow overriding them in the derived class, wxWidgets uses a unique protected virtual <code>DoGetXXX()</code> method and all <code>GetXXX()</code> ones are forwarded to it, so overriding the former changes the behaviour of the latter.</p>
<h2>Styles</h2>
<p>This class supports the following styles:</p>
<div> </div><ul>
<li><span class="style">wxBORDER_DEFAULT</span>:<div class="styleDesc"> The window class will decide the kind of border to show, if any. </div></li>
<li><span class="style">wxBORDER_SIMPLE</span>:<div class="styleDesc"> Displays a thin border around the window. wxSIMPLE_BORDER is the old name for this style. </div></li>
<li><span class="style">wxBORDER_SUNKEN</span>:<div class="styleDesc"> Displays a sunken border. wxSUNKEN_BORDER is the old name for this style. </div></li>
<li><span class="style">wxBORDER_RAISED</span>:<div class="styleDesc"> Displays a raised border. wxRAISED_BORDER is the old name for this style. </div></li>
<li><span class="style">wxBORDER_STATIC</span>:<div class="styleDesc"> Displays a border suitable for a static control. wxSTATIC_BORDER is the old name for this style. Windows only. </div></li>
<li><span class="style">wxBORDER_THEME</span>:<div class="styleDesc"> Displays a native border suitable for a control, on the current platform. On Windows XP or Vista, this will be a themed border; on most other platforms a sunken border will be used. For more information for themed borders on Windows, please see Themed borders on Windows. </div></li>
<li><span class="style">wxBORDER_NONE</span>:<div class="styleDesc"> Displays no border, overriding the default border style for the window. wxNO_BORDER is the old name for this style. </div></li>
<li><span class="style">wxBORDER_DOUBLE</span>:<div class="styleDesc"> This style is obsolete and should not be used. </div></li>
<li><span class="style">wxTRANSPARENT_WINDOW</span>:<div class="styleDesc"> The window is transparent, that is, it will not receive paint events. Windows only. </div></li>
<li><span class="style">wxTAB_TRAVERSAL</span>:<div class="styleDesc"> Use this to enable tab traversal for non-dialog windows. </div></li>
<li><span class="style">wxWANTS_CHARS</span>:<div class="styleDesc"> Use this to indicate that the window wants to get all char/key events for all keys - even for keys like TAB or ENTER which are usually used for dialog navigation and which wouldn't be generated without this style. If you need to use this style in order to get the arrows or etc., but would still like to have normal keyboard navigation take place, you should call Navigate in response to the key events for Tab and Shift-Tab. </div></li>
<li><span class="style">wxNO_FULL_REPAINT_ON_RESIZE</span>:<div class="styleDesc"> On Windows, this style used to disable repainting the window completely when its size is changed. Since this behaviour is now the default, the style is now obsolete and no longer has an effect. </div></li>
<li><span class="style">wxVSCROLL</span>:<div class="styleDesc"> Use this style to enable a vertical scrollbar. Notice that this style cannot be used with native controls which don't support scrollbars nor with top-level windows in most ports. </div></li>
<li><span class="style">wxHSCROLL</span>:<div class="styleDesc"> Use this style to enable a horizontal scrollbar. The same limitations as for wxVSCROLL apply to this style. </div></li>
<li><span class="style">wxALWAYS_SHOW_SB</span>:<div class="styleDesc"> If a window has scrollbars, disable them instead of hiding them when they are not needed (i.e. when the size of the window is big enough to not require the scrollbars to navigate it). This style is currently implemented for wxMSW, wxGTK and wxUniversal and does nothing on the other platforms. </div></li>
<li><span class="style">wxCLIP_CHILDREN</span>:<div class="styleDesc"> Use this style to eliminate flicker caused by the background being repainted, then children being painted over them. Windows only. </div></li>
<li><span class="style">wxFULL_REPAINT_ON_RESIZE</span>:<div class="styleDesc"> Use this style to force a complete redraw of the window whenever it is resized instead of redrawing just the part of the window affected by resizing. Note that this was the behaviour by default before 2.5.1 release and that if you experience redraw problems with code which previously used to work you may want to try this. Currently this style applies on GTK+ 2 and Windows only, and full repainting is always done on other platforms. </div></li>
</ul>
<hr/>
<h2>Extra Styles</h2>
<p>This class supports the following extra styles:</p>
<div> </div><ul>
<li><span class="style">wxWS_EX_VALIDATE_RECURSIVELY</span>:<div class="styleDesc"> By default, <a class="el" href="classwx_window.html#ac87f253253a0c5eb498871c83afa40fd" title="Validates the current values of the child controls using their validators.">wxWindow::Validate()</a>, wxWindow::TransferDataTo() and <a class="el" href="classwx_window.html#ab8e51f36e7d8790b361c8d8c6f37b1ad" title="Transfers values from child controls to data areas specified by their validators.">wxWindow::TransferDataFromWindow()</a> only work on direct children of the window (compatible behaviour). Set this flag to make them recursively descend into all subwindows. </div></li>
<li><span class="style">wxWS_EX_BLOCK_EVENTS</span>:<div class="styleDesc"> wxCommandEvents and the objects of the derived classes are forwarded to the parent window and so on recursively by default. Using this flag for the given window allows to block this propagation at this window, i.e. prevent the events from being propagated further upwards. Dialogs have this flag on by default for the reasons explained in the <a class="el" href="overview_events.html">Events and Event Handling</a>. </div></li>
<li><span class="style">wxWS_EX_TRANSIENT</span>:<div class="styleDesc"> Don't use this window as an implicit parent for the other windows: this must be used with transient windows as otherwise there is the risk of creating a dialog/frame with this window as a parent, which would lead to a crash if the parent were destroyed before the child. </div></li>
<li><span class="style">wxWS_EX_CONTEXTHELP</span>:<div class="styleDesc"> Under Windows, puts a query button on the caption. When pressed, Windows will go into a context-sensitive help mode and wxWidgets will send a <code>wxEVT_HELP</code> event if the user clicked on an application window. This style cannot be used (because of the underlying native behaviour) together with <code>wxMAXIMIZE_BOX</code> or <code>wxMINIMIZE_BOX</code>, so these two styles are automatically turned off if this one is used. </div></li>
<li><span class="style">wxWS_EX_PROCESS_IDLE</span>:<div class="styleDesc"> This window should always process idle events, even if the mode set by <a class="el" href="classwx_idle_event.html#a655610b1a5a1c668efc7d475313af2e3" title="Static function for specifying how wxWidgets will send idle events: to all windows, or only to those which specify that they will process the events.">wxIdleEvent::SetMode</a> is <code>wxIDLE_PROCESS_SPECIFIED</code>. </div></li>
<li><span class="style">wxWS_EX_PROCESS_UI_UPDATES</span>:<div class="styleDesc"> This window should always process UI update events, even if the mode set by <a class="el" href="classwx_update_u_i_event.html#ab3a94b31cf5c72ae84ffa8b7cc1777e7" title="Specify how wxWidgets will send update events: to all windows, or only to those which specify that th...">wxUpdateUIEvent::SetMode</a> is <code>wxUPDATE_UI_PROCESS_SPECIFIED</code>. </div></li>
</ul>
<h2>Events emitted by this class</h2>
<p>Event macros for events emitted by this class:</p>
<div> </div><ul>
<li><span class="event">EVT_ACTIVATE(id, func)</span>:<div class="eventDesc"> Process a <code>wxEVT_ACTIVATE</code> event. See <a class="el" href="classwx_activate_event.html" title="An activate event is sent when a window or application is being activated or deactivated.">wxActivateEvent</a>. </div></li>
<li><span class="event">EVT_CHILD_FOCUS(func)</span>:<div class="eventDesc"> Process a <code>wxEVT_CHILD_FOCUS</code> event. See <a class="el" href="classwx_child_focus_event.html" title="A child focus event is sent to a (parent-)window when one of its child windows gains focus...">wxChildFocusEvent</a>. </div></li>
<li><span class="event">EVT_CONTEXT_MENU(func)</span>:<div class="eventDesc"> A right click (or other context menu command depending on platform) has been detected. See <a class="el" href="classwx_context_menu_event.html" title="This class is used for context menu events, sent to give the application a chance to show a context (...">wxContextMenuEvent</a>. </div></li>
<li><span class="event">EVT_HELP(id, func)</span>:<div class="eventDesc"> Process a <code>wxEVT_HELP</code> event. See <a class="el" href="classwx_help_event.html" title="A help event is sent when the user has requested context-sensitive help.">wxHelpEvent</a>. </div></li>
<li><span class="event">EVT_HELP_RANGE(id1, id2, func)</span>:<div class="eventDesc"> Process a <code>wxEVT_HELP</code> event for a range of ids. See <a class="el" href="classwx_help_event.html" title="A help event is sent when the user has requested context-sensitive help.">wxHelpEvent</a>. </div></li>
<li><span class="event">EVT_DROP_FILES(func)</span>:<div class="eventDesc"> Process a <code>wxEVT_DROP_FILES</code> event. See <a class="el" href="classwx_drop_files_event.html" title="This class is used for drop files events, that is, when files have been dropped onto the window...">wxDropFilesEvent</a>. </div></li>
<li><span class="event">EVT_ERASE_BACKGROUND(func)</span>:<div class="eventDesc"> Process a <code>wxEVT_ERASE_BACKGROUND</code> event. See <a class="el" href="classwx_erase_event.html" title="An erase event is sent when a window's background needs to be repainted.">wxEraseEvent</a>. </div></li>
<li><span class="event">EVT_SET_FOCUS(func)</span>:<div class="eventDesc"> Process a <code>wxEVT_SET_FOCUS</code> event. See <a class="el" href="classwx_focus_event.html" title="A focus event is sent when a window's focus changes.">wxFocusEvent</a>. </div></li>
<li><span class="event">EVT_KILL_FOCUS(func)</span>:<div class="eventDesc"> Process a <code>wxEVT_KILL_FOCUS</code> event. See <a class="el" href="classwx_focus_event.html" title="A focus event is sent when a window's focus changes.">wxFocusEvent</a>. </div></li>
<li><span class="event">EVT_IDLE(func)</span>:<div class="eventDesc"> Process a <code>wxEVT_IDLE</code> event. See <a class="el" href="classwx_idle_event.html" title="This class is used for idle events, which are generated when the system becomes idle.">wxIdleEvent</a>. </div></li>
<li><span class="event">EVT_JOY_*(func)</span>:<div class="eventDesc"> Processes joystick events. See <a class="el" href="classwx_joystick_event.html" title="This event class contains information about joystick events, particularly events received by windows...">wxJoystickEvent</a>. </div></li>
<li><span class="event">EVT_KEY_DOWN(func)</span>:<div class="eventDesc"> Process a <code>wxEVT_KEY_DOWN</code> event (any key has been pressed). See <a class="el" href="classwx_key_event.html" title="This event class contains information about key press and release events.">wxKeyEvent</a>. </div></li>
<li><span class="event">EVT_KEY_UP(func)</span>:<div class="eventDesc"> Process a <code>wxEVT_KEY_UP</code> event (any key has been released). See <a class="el" href="classwx_key_event.html" title="This event class contains information about key press and release events.">wxKeyEvent</a>. </div></li>
<li><span class="event">EVT_CHAR(func)</span>:<div class="eventDesc"> Process a <code>wxEVT_CHAR</code> event. See <a class="el" href="classwx_key_event.html" title="This event class contains information about key press and release events.">wxKeyEvent</a>. </div></li>
<li><span class="event">EVT_CHAR_HOOK(func)</span>:<div class="eventDesc"> Process a <code>wxEVT_CHAR_HOOK</code> event. See <a class="el" href="classwx_key_event.html" title="This event class contains information about key press and release events.">wxKeyEvent</a>. </div></li>
<li><span class="event">EVT_MOUSE_CAPTURE_LOST(func)</span>:<div class="eventDesc"> Process a <code>wxEVT_MOUSE_CAPTURE_LOST</code> event. See <a class="el" href="classwx_mouse_capture_lost_event.html" title="A mouse capture lost event is sent to a window that had obtained mouse capture, which was subsequentl...">wxMouseCaptureLostEvent</a>. </div></li>
<li><span class="event">EVT_MOUSE_CAPTURE_CHANGED(func)</span>:<div class="eventDesc"> Process a <code>wxEVT_MOUSE_CAPTURE_CHANGED</code> event. See <a class="el" href="classwx_mouse_capture_changed_event.html" title="An mouse capture changed event is sent to a window that loses its mouse capture.">wxMouseCaptureChangedEvent</a>. </div></li>
<li><span class="event">EVT_MOUSE_*(func)</span>:<div class="eventDesc"> See <a class="el" href="classwx_mouse_event.html" title="This event class contains information about the events generated by the mouse: they include mouse but...">wxMouseEvent</a>. </div></li>
<li><span class="event">EVT_PAINT(func)</span>:<div class="eventDesc"> Process a <code>wxEVT_PAINT</code> event. See <a class="el" href="classwx_paint_event.html" title="A paint event is sent when a window's contents needs to be repainted.">wxPaintEvent</a>. </div></li>
<li><span class="event">EVT_POWER_*(func)</span>:<div class="eventDesc"> The system power state changed. See <a class="el" href="classwx_power_event.html" title="The power events are generated when the system power state changes, e.g.">wxPowerEvent</a>. </div></li>
<li><span class="event">EVT_SCROLLWIN_*(func)</span>:<div class="eventDesc"> Process scroll events. See <a class="el" href="classwx_scroll_win_event.html" title="A scroll event holds information about events sent from scrolling windows.">wxScrollWinEvent</a>. </div></li>
<li><span class="event">EVT_SET_CURSOR(func)</span>:<div class="eventDesc"> Process a <code>wxEVT_SET_CURSOR</code> event. See <a class="el" href="classwx_set_cursor_event.html" title="A wxSetCursorEvent is generated from wxWindow when the mouse cursor is about to be set as a result of...">wxSetCursorEvent</a>. </div></li>
<li><span class="event">EVT_SIZE(func)</span>:<div class="eventDesc"> Process a <code>wxEVT_SIZE</code> event. See <a class="el" href="classwx_size_event.html" title="A size event holds information about size change events of wxWindow.">wxSizeEvent</a>. </div></li>
<li><span class="event">EVT_SYS_COLOUR_CHANGED(func)</span>:<div class="eventDesc"> Process a <code>wxEVT_SYS_COLOUR_CHANGED</code> event. See <a class="el" href="classwx_sys_colour_changed_event.html" title="This class is used for system colour change events, which are generated when the user changes the col...">wxSysColourChangedEvent</a>. </div></li>
</ul>
<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__miscwnd.html">Miscellaneous Windows</a></span></div><dl class="section see"><dt>See Also</dt><dd><a class="el" href="overview_events.html">Events and Event Handling</a>, <a class="el" href="overview_windowsizing.html">Window Sizing Overview</a> </dd></dl>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window_1_1_children_repositioning_guard.html">ChildrenRepositioningGuard</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Helper for ensuring <a class="el" href="classwx_window.html#a1203fbd238d781253b44e0e459532301" title="Fix child window positions after setting all of them at once.">EndRepositioningChildren()</a> is called correctly. <a href="classwx_window_1_1_children_repositioning_guard.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
</table><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:a695200a4915b934926dcf32afa44544c"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a695200a4915b934926dcf32afa44544c">wxWindow</a> ()</td></tr>
<tr class="memdesc:a695200a4915b934926dcf32afa44544c"><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <a href="#a695200a4915b934926dcf32afa44544c"></a><br/></td></tr>
<tr class="separator:a695200a4915b934926dcf32afa44544c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7799009b10d1765d1bbb6db4994f922e"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a7799009b10d1765d1bbb6db4994f922e">wxWindow</a> (<a class="el" href="classwx_window.html">wxWindow</a> *parent, <a class="el" href="windowid_8h.html#ae8091432cc2cb2485d45f2302fb51133">wxWindowID</a> id, const <a class="el" href="classwx_point.html">wxPoint</a> &pos=<a class="el" href="gdicmn_8h.html#af5a90c753eaf3d3e3e5068a19ec3c1d0">wxDefaultPosition</a>, const <a class="el" href="classwx_size.html">wxSize</a> &size=<a class="el" href="gdicmn_8h.html#a33a012cdb075e9f78c93f63bec2dc27b">wxDefaultSize</a>, long style=0, const <a class="el" href="classwx_string.html">wxString</a> &name=wxPanelNameStr)</td></tr>
<tr class="memdesc:a7799009b10d1765d1bbb6db4994f922e"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a window, which can be a child of a frame, dialog or any other non-control window. <a href="#a7799009b10d1765d1bbb6db4994f922e"></a><br/></td></tr>
<tr class="separator:a7799009b10d1765d1bbb6db4994f922e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0c2a46181a89c349327f0b276f5ef8d7"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a0c2a46181a89c349327f0b276f5ef8d7">~wxWindow</a> ()</td></tr>
<tr class="memdesc:a0c2a46181a89c349327f0b276f5ef8d7"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#a0c2a46181a89c349327f0b276f5ef8d7"></a><br/></td></tr>
<tr class="separator:a0c2a46181a89c349327f0b276f5ef8d7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a95b7ca8faa033f5ab35458887c07bf38"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a95b7ca8faa033f5ab35458887c07bf38">Create</a> (<a class="el" href="classwx_window.html">wxWindow</a> *parent, <a class="el" href="windowid_8h.html#ae8091432cc2cb2485d45f2302fb51133">wxWindowID</a> id, const <a class="el" href="classwx_point.html">wxPoint</a> &pos=<a class="el" href="gdicmn_8h.html#af5a90c753eaf3d3e3e5068a19ec3c1d0">wxDefaultPosition</a>, const <a class="el" href="classwx_size.html">wxSize</a> &size=<a class="el" href="gdicmn_8h.html#a33a012cdb075e9f78c93f63bec2dc27b">wxDefaultSize</a>, long style=0, const <a class="el" href="classwx_string.html">wxString</a> &name=wxPanelNameStr)</td></tr>
<tr class="separator:a95b7ca8faa033f5ab35458887c07bf38"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Focus functions</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p>See also the static function <a class="el" href="classwx_window.html#a777258379a3eef1b0530f12db6b77cab" title="Finds the window or control which currently has the keyboard focus.">FindFocus()</a>. </p>
</div></td></tr>
<tr class="memitem:a3afbd49b1ea2f8275e3600dcac102923"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a3afbd49b1ea2f8275e3600dcac102923">AcceptsFocus</a> () const </td></tr>
<tr class="memdesc:a3afbd49b1ea2f8275e3600dcac102923"><td class="mdescLeft"> </td><td class="mdescRight">This method may be overridden in the derived classes to return <span class="literal">false</span> to indicate that this control doesn't accept input at all (i.e. behaves like e.g. <a class="el" href="classwx_static_text.html" title="A static text control displays one or more lines of read-only text.">wxStaticText</a>) and so doesn't need focus. <a href="#a3afbd49b1ea2f8275e3600dcac102923"></a><br/></td></tr>
<tr class="separator:a3afbd49b1ea2f8275e3600dcac102923"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2370bdd3ab08e7ef3c7555c6aa8301b8"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a2370bdd3ab08e7ef3c7555c6aa8301b8">AcceptsFocusFromKeyboard</a> () const </td></tr>
<tr class="memdesc:a2370bdd3ab08e7ef3c7555c6aa8301b8"><td class="mdescLeft"> </td><td class="mdescRight">This method may be overridden in the derived classes to return <span class="literal">false</span> to indicate that while this control can, in principle, have focus if the user clicks it with the mouse, it shouldn't be included in the TAB traversal chain when using the keyboard. <a href="#a2370bdd3ab08e7ef3c7555c6aa8301b8"></a><br/></td></tr>
<tr class="separator:a2370bdd3ab08e7ef3c7555c6aa8301b8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac7ed96693517630f4d2e99265b76d1a9"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#ac7ed96693517630f4d2e99265b76d1a9">AcceptsFocusRecursively</a> () const </td></tr>
<tr class="memdesc:ac7ed96693517630f4d2e99265b76d1a9"><td class="mdescLeft"> </td><td class="mdescRight">Overridden to indicate whether this window or one of its children accepts focus. <a href="#ac7ed96693517630f4d2e99265b76d1a9"></a><br/></td></tr>
<tr class="separator:ac7ed96693517630f4d2e99265b76d1a9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1415b1354d5670237090de09da28b662"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a1415b1354d5670237090de09da28b662">IsFocusable</a> () const </td></tr>
<tr class="memdesc:a1415b1354d5670237090de09da28b662"><td class="mdescLeft"> </td><td class="mdescRight">Can this window itself have focus? <a href="#a1415b1354d5670237090de09da28b662"></a><br/></td></tr>
<tr class="separator:a1415b1354d5670237090de09da28b662"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acd7f1a89fac1fda0ed49f7140d38d1b1"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#acd7f1a89fac1fda0ed49f7140d38d1b1">CanAcceptFocus</a> () const </td></tr>
<tr class="memdesc:acd7f1a89fac1fda0ed49f7140d38d1b1"><td class="mdescLeft"> </td><td class="mdescRight">Can this window have focus right now? <a href="#acd7f1a89fac1fda0ed49f7140d38d1b1"></a><br/></td></tr>
<tr class="separator:acd7f1a89fac1fda0ed49f7140d38d1b1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6a855b39d837f0ae6d13d0e30d0c9682"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a6a855b39d837f0ae6d13d0e30d0c9682">CanAcceptFocusFromKeyboard</a> () const </td></tr>
<tr class="memdesc:a6a855b39d837f0ae6d13d0e30d0c9682"><td class="mdescLeft"> </td><td class="mdescRight">Can this window be assigned focus from keyboard right now? <a href="#a6a855b39d837f0ae6d13d0e30d0c9682"></a><br/></td></tr>
<tr class="separator:a6a855b39d837f0ae6d13d0e30d0c9682"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4e0abff99d64d2a595ee0ab4b415bbd6"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a4e0abff99d64d2a595ee0ab4b415bbd6">HasFocus</a> () const </td></tr>
<tr class="memdesc:a4e0abff99d64d2a595ee0ab4b415bbd6"><td class="mdescLeft"> </td><td class="mdescRight">Returns <span class="literal">true</span> if the window (or in case of composite controls, its main child window) has focus. <a href="#a4e0abff99d64d2a595ee0ab4b415bbd6"></a><br/></td></tr>
<tr class="separator:a4e0abff99d64d2a595ee0ab4b415bbd6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2b8b2e99231a0ec1a05f5066f1b7f3d8"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a2b8b2e99231a0ec1a05f5066f1b7f3d8">SetCanFocus</a> (bool canFocus)</td></tr>
<tr class="memdesc:a2b8b2e99231a0ec1a05f5066f1b7f3d8"><td class="mdescLeft"> </td><td class="mdescRight">This method is only implemented by ports which have support for native TAB traversal (such as GTK+ 2.0). <a href="#a2b8b2e99231a0ec1a05f5066f1b7f3d8"></a><br/></td></tr>
<tr class="separator:a2b8b2e99231a0ec1a05f5066f1b7f3d8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a697f9f8d3ff389790f1c74b59bcb1d75"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a697f9f8d3ff389790f1c74b59bcb1d75">SetFocus</a> ()</td></tr>
<tr class="memdesc:a697f9f8d3ff389790f1c74b59bcb1d75"><td class="mdescLeft"> </td><td class="mdescRight">This sets the window to receive keyboard input. <a href="#a697f9f8d3ff389790f1c74b59bcb1d75"></a><br/></td></tr>
<tr class="separator:a697f9f8d3ff389790f1c74b59bcb1d75"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6fa03f82d7917dff482754d0d2e2b1c8"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a6fa03f82d7917dff482754d0d2e2b1c8">SetFocusFromKbd</a> ()</td></tr>
<tr class="memdesc:a6fa03f82d7917dff482754d0d2e2b1c8"><td class="mdescLeft"> </td><td class="mdescRight">This function is called by wxWidgets keyboard navigation code when the user gives the focus to this window from keyboard (e.g. <a href="#a6fa03f82d7917dff482754d0d2e2b1c8"></a><br/></td></tr>
<tr class="separator:a6fa03f82d7917dff482754d0d2e2b1c8"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Child management functions</div></td></tr>
<tr class="memitem:abf60159278059a5bb397eb8647227bb3"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#abf60159278059a5bb397eb8647227bb3">AddChild</a> (<a class="el" href="classwx_window.html">wxWindow</a> *child)</td></tr>
<tr class="memdesc:abf60159278059a5bb397eb8647227bb3"><td class="mdescLeft"> </td><td class="mdescRight">Adds a child window. <a href="#abf60159278059a5bb397eb8647227bb3"></a><br/></td></tr>
<tr class="separator:abf60159278059a5bb397eb8647227bb3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aff47b32c8d42d515ea0bb6a6c2fea917"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#aff47b32c8d42d515ea0bb6a6c2fea917">DestroyChildren</a> ()</td></tr>
<tr class="memdesc:aff47b32c8d42d515ea0bb6a6c2fea917"><td class="mdescLeft"> </td><td class="mdescRight">Destroys all children of a window. <a href="#aff47b32c8d42d515ea0bb6a6c2fea917"></a><br/></td></tr>
<tr class="separator:aff47b32c8d42d515ea0bb6a6c2fea917"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3468ef382c612b5f8e91c7c18d00a69f"><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_window.html#a3468ef382c612b5f8e91c7c18d00a69f">FindWindow</a> (long id) const </td></tr>
<tr class="memdesc:a3468ef382c612b5f8e91c7c18d00a69f"><td class="mdescLeft"> </td><td class="mdescRight">Find a child of this window, by <em>id</em>. <a href="#a3468ef382c612b5f8e91c7c18d00a69f"></a><br/></td></tr>
<tr class="separator:a3468ef382c612b5f8e91c7c18d00a69f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab2dad735acc2121b964ee1d51836cffa"><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_window.html#ab2dad735acc2121b964ee1d51836cffa">FindWindow</a> (const <a class="el" href="classwx_string.html">wxString</a> &name) const </td></tr>
<tr class="memdesc:ab2dad735acc2121b964ee1d51836cffa"><td class="mdescLeft"> </td><td class="mdescRight">Find a child of this window, by name. <a href="#ab2dad735acc2121b964ee1d51836cffa"></a><br/></td></tr>
<tr class="separator:ab2dad735acc2121b964ee1d51836cffa"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad500085ad0511879b5e018706c91a494"><td class="memItemLeft" align="right" valign="top">wxWindowList & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#ad500085ad0511879b5e018706c91a494">GetChildren</a> ()</td></tr>
<tr class="memdesc:ad500085ad0511879b5e018706c91a494"><td class="mdescLeft"> </td><td class="mdescRight">Returns a reference to the list of the window's children. <a href="#ad500085ad0511879b5e018706c91a494"></a><br/></td></tr>
<tr class="separator:ad500085ad0511879b5e018706c91a494"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a666cfe7cc8eda6fcecfd39c67c50f609"><td class="memItemLeft" align="right" valign="top">const wxWindowList & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a666cfe7cc8eda6fcecfd39c67c50f609">GetChildren</a> () const </td></tr>
<tr class="memdesc:a666cfe7cc8eda6fcecfd39c67c50f609"><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="#a666cfe7cc8eda6fcecfd39c67c50f609"></a><br/></td></tr>
<tr class="separator:a666cfe7cc8eda6fcecfd39c67c50f609"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acee332ed4368d26e8bc3db5767c1240a"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#acee332ed4368d26e8bc3db5767c1240a">RemoveChild</a> (<a class="el" href="classwx_window.html">wxWindow</a> *child)</td></tr>
<tr class="memdesc:acee332ed4368d26e8bc3db5767c1240a"><td class="mdescLeft"> </td><td class="mdescRight">Removes a child window. <a href="#acee332ed4368d26e8bc3db5767c1240a"></a><br/></td></tr>
<tr class="separator:acee332ed4368d26e8bc3db5767c1240a"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Sibling and parent management functions</div></td></tr>
<tr class="memitem:a55d3155d2d3139a84e8fb19a8900aa76"><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_window.html#a55d3155d2d3139a84e8fb19a8900aa76">GetGrandParent</a> () const </td></tr>
<tr class="memdesc:a55d3155d2d3139a84e8fb19a8900aa76"><td class="mdescLeft"> </td><td class="mdescRight">Returns the grandparent of a window, or <span class="literal">NULL</span> if there isn't one. <a href="#a55d3155d2d3139a84e8fb19a8900aa76"></a><br/></td></tr>
<tr class="separator:a55d3155d2d3139a84e8fb19a8900aa76"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a41608736affe2ff115d80d8f69dc832e"><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_window.html#a41608736affe2ff115d80d8f69dc832e">GetNextSibling</a> () const </td></tr>
<tr class="memdesc:a41608736affe2ff115d80d8f69dc832e"><td class="mdescLeft"> </td><td class="mdescRight">Returns the next window after this one among the parent's children or <span class="literal">NULL</span> if this window is the last child. <a href="#a41608736affe2ff115d80d8f69dc832e"></a><br/></td></tr>
<tr class="separator:a41608736affe2ff115d80d8f69dc832e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a63871f881941b99b4b94328d1c4cd163"><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_window.html#a63871f881941b99b4b94328d1c4cd163">GetParent</a> () const </td></tr>
<tr class="memdesc:a63871f881941b99b4b94328d1c4cd163"><td class="mdescLeft"> </td><td class="mdescRight">Returns the parent of the window, or <span class="literal">NULL</span> if there is no parent. <a href="#a63871f881941b99b4b94328d1c4cd163"></a><br/></td></tr>
<tr class="separator:a63871f881941b99b4b94328d1c4cd163"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa4cb912eb28be31279fa1b95747c6d02"><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_window.html#aa4cb912eb28be31279fa1b95747c6d02">GetPrevSibling</a> () const </td></tr>
<tr class="memdesc:aa4cb912eb28be31279fa1b95747c6d02"><td class="mdescLeft"> </td><td class="mdescRight">Returns the previous window before this one among the parent's children or <code></code> <span class="literal">NULL</span> if this window is the first child. <a href="#aa4cb912eb28be31279fa1b95747c6d02"></a><br/></td></tr>
<tr class="separator:aa4cb912eb28be31279fa1b95747c6d02"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a469f0881da248d37691440c9d4cc7200"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a469f0881da248d37691440c9d4cc7200">IsDescendant</a> (wxWindowBase *win) const </td></tr>
<tr class="memdesc:a469f0881da248d37691440c9d4cc7200"><td class="mdescLeft"> </td><td class="mdescRight">Check if the specified window is a descendant of this one. <a href="#a469f0881da248d37691440c9d4cc7200"></a><br/></td></tr>
<tr class="separator:a469f0881da248d37691440c9d4cc7200"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7977b749284e65aecfed2ce146799cb9"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a7977b749284e65aecfed2ce146799cb9">Reparent</a> (<a class="el" href="classwx_window.html">wxWindow</a> *newParent)</td></tr>
<tr class="memdesc:a7977b749284e65aecfed2ce146799cb9"><td class="mdescLeft"> </td><td class="mdescRight">Reparents the window, i.e. the window will be removed from its current parent window (e.g. <a href="#a7977b749284e65aecfed2ce146799cb9"></a><br/></td></tr>
<tr class="separator:a7977b749284e65aecfed2ce146799cb9"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Scrolling and scrollbars functions</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p>Note that these methods don't work with native controls which don't use wxWidgets scrolling framework (i.e.</p>
<p>don't derive from wxScrolledWindow). </p>
</div></td></tr>
<tr class="memitem:aae29552806a328c6a55ef8f07647f5ba"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#aae29552806a328c6a55ef8f07647f5ba">AlwaysShowScrollbars</a> (bool hflag=true, bool vflag=true)</td></tr>
<tr class="memdesc:aae29552806a328c6a55ef8f07647f5ba"><td class="mdescLeft"> </td><td class="mdescRight">Call this function to force one or both scrollbars to be always shown, even if the window is big enough to show its entire contents without scrolling. <a href="#aae29552806a328c6a55ef8f07647f5ba"></a><br/></td></tr>
<tr class="separator:aae29552806a328c6a55ef8f07647f5ba"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3e23d10c17943fd873d0acb472db0caa"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a3e23d10c17943fd873d0acb472db0caa">GetScrollPos</a> (int orientation) const </td></tr>
<tr class="memdesc:a3e23d10c17943fd873d0acb472db0caa"><td class="mdescLeft"> </td><td class="mdescRight">Returns the built-in scrollbar position. <a href="#a3e23d10c17943fd873d0acb472db0caa"></a><br/></td></tr>
<tr class="separator:a3e23d10c17943fd873d0acb472db0caa"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a067d2a38efbf2f535f717f1027003281"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a067d2a38efbf2f535f717f1027003281">GetScrollRange</a> (int orientation) const </td></tr>
<tr class="memdesc:a067d2a38efbf2f535f717f1027003281"><td class="mdescLeft"> </td><td class="mdescRight">Returns the built-in scrollbar range. <a href="#a067d2a38efbf2f535f717f1027003281"></a><br/></td></tr>
<tr class="separator:a067d2a38efbf2f535f717f1027003281"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a10d24c60525a1c612cd775fc44dd1953"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a10d24c60525a1c612cd775fc44dd1953">GetScrollThumb</a> (int orientation) const </td></tr>
<tr class="memdesc:a10d24c60525a1c612cd775fc44dd1953"><td class="mdescLeft"> </td><td class="mdescRight">Returns the built-in scrollbar thumb size. <a href="#a10d24c60525a1c612cd775fc44dd1953"></a><br/></td></tr>
<tr class="separator:a10d24c60525a1c612cd775fc44dd1953"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a179f9a770f8c835f279923d2cbe5d766"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a179f9a770f8c835f279923d2cbe5d766">CanScroll</a> (int orient) const </td></tr>
<tr class="memdesc:a179f9a770f8c835f279923d2cbe5d766"><td class="mdescLeft"> </td><td class="mdescRight">Returns <span class="literal">true</span> if this window can have a scroll bar in this orientation. <a href="#a179f9a770f8c835f279923d2cbe5d766"></a><br/></td></tr>
<tr class="separator:a179f9a770f8c835f279923d2cbe5d766"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a950847ecf2d488d83c14a74a3906f668"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a950847ecf2d488d83c14a74a3906f668">HasScrollbar</a> (int orient) const </td></tr>
<tr class="memdesc:a950847ecf2d488d83c14a74a3906f668"><td class="mdescLeft"> </td><td class="mdescRight">Returns <span class="literal">true</span> if this window currently has a scroll bar for this orientation. <a href="#a950847ecf2d488d83c14a74a3906f668"></a><br/></td></tr>
<tr class="separator:a950847ecf2d488d83c14a74a3906f668"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aeeef7eaf8c8f1ec1a54e7a68d63923d0"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#aeeef7eaf8c8f1ec1a54e7a68d63923d0">IsScrollbarAlwaysShown</a> (int orient) const </td></tr>
<tr class="memdesc:aeeef7eaf8c8f1ec1a54e7a68d63923d0"><td class="mdescLeft"> </td><td class="mdescRight">Return whether a scrollbar is always shown. <a href="#aeeef7eaf8c8f1ec1a54e7a68d63923d0"></a><br/></td></tr>
<tr class="separator:aeeef7eaf8c8f1ec1a54e7a68d63923d0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa5c5b683bd11a0d9771bd2fcdf643c64"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#aa5c5b683bd11a0d9771bd2fcdf643c64">ScrollLines</a> (int lines)</td></tr>
<tr class="memdesc:aa5c5b683bd11a0d9771bd2fcdf643c64"><td class="mdescLeft"> </td><td class="mdescRight">Scrolls the window by the given number of lines down (if <em>lines</em> is positive) or up. <a href="#aa5c5b683bd11a0d9771bd2fcdf643c64"></a><br/></td></tr>
<tr class="separator:aa5c5b683bd11a0d9771bd2fcdf643c64"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:adc0ed5e1c4925223cb901ced14b8343d"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#adc0ed5e1c4925223cb901ced14b8343d">ScrollPages</a> (int pages)</td></tr>
<tr class="memdesc:adc0ed5e1c4925223cb901ced14b8343d"><td class="mdescLeft"> </td><td class="mdescRight">Scrolls the window by the given number of pages down (if <em>pages</em> is positive) or up. <a href="#adc0ed5e1c4925223cb901ced14b8343d"></a><br/></td></tr>
<tr class="separator:adc0ed5e1c4925223cb901ced14b8343d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab7be4956ff22da37fff2b8aaa581045c"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#ab7be4956ff22da37fff2b8aaa581045c">ScrollWindow</a> (int dx, int dy, const <a class="el" href="classwx_rect.html">wxRect</a> *rect=NULL)</td></tr>
<tr class="memdesc:ab7be4956ff22da37fff2b8aaa581045c"><td class="mdescLeft"> </td><td class="mdescRight">Physically scrolls the pixels in the window and move child windows accordingly. <a href="#ab7be4956ff22da37fff2b8aaa581045c"></a><br/></td></tr>
<tr class="separator:ab7be4956ff22da37fff2b8aaa581045c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afc0816a174ceee6d36d1995c6824a273"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#afc0816a174ceee6d36d1995c6824a273">LineUp</a> ()</td></tr>
<tr class="memdesc:afc0816a174ceee6d36d1995c6824a273"><td class="mdescLeft"> </td><td class="mdescRight">Same as <a class="el" href="classwx_window.html#aa5c5b683bd11a0d9771bd2fcdf643c64" title="Scrolls the window by the given number of lines down (if lines is positive) or up.">ScrollLines</a> (-1). <a href="#afc0816a174ceee6d36d1995c6824a273"></a><br/></td></tr>
<tr class="separator:afc0816a174ceee6d36d1995c6824a273"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ade808784f0e64d9985e2f279b5ca8c02"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#ade808784f0e64d9985e2f279b5ca8c02">LineDown</a> ()</td></tr>
<tr class="memdesc:ade808784f0e64d9985e2f279b5ca8c02"><td class="mdescLeft"> </td><td class="mdescRight">Same as <a class="el" href="classwx_window.html#aa5c5b683bd11a0d9771bd2fcdf643c64" title="Scrolls the window by the given number of lines down (if lines is positive) or up.">ScrollLines</a> (1). <a href="#ade808784f0e64d9985e2f279b5ca8c02"></a><br/></td></tr>
<tr class="separator:ade808784f0e64d9985e2f279b5ca8c02"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa7c2bbc480d8863d9f139c01d7abc1b1"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#aa7c2bbc480d8863d9f139c01d7abc1b1">PageUp</a> ()</td></tr>
<tr class="memdesc:aa7c2bbc480d8863d9f139c01d7abc1b1"><td class="mdescLeft"> </td><td class="mdescRight">Same as <a class="el" href="classwx_window.html#adc0ed5e1c4925223cb901ced14b8343d" title="Scrolls the window by the given number of pages down (if pages is positive) or up.">ScrollPages</a> (-1). <a href="#aa7c2bbc480d8863d9f139c01d7abc1b1"></a><br/></td></tr>
<tr class="separator:aa7c2bbc480d8863d9f139c01d7abc1b1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a61e78cb48ece3e9e989e37b475ac1e35"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a61e78cb48ece3e9e989e37b475ac1e35">PageDown</a> ()</td></tr>
<tr class="memdesc:a61e78cb48ece3e9e989e37b475ac1e35"><td class="mdescLeft"> </td><td class="mdescRight">Same as <a class="el" href="classwx_window.html#adc0ed5e1c4925223cb901ced14b8343d" title="Scrolls the window by the given number of pages down (if pages is positive) or up.">ScrollPages</a> (1). <a href="#a61e78cb48ece3e9e989e37b475ac1e35"></a><br/></td></tr>
<tr class="separator:a61e78cb48ece3e9e989e37b475ac1e35"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afbf4dc9064cf70cfe6884554b97a27bf"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#afbf4dc9064cf70cfe6884554b97a27bf">SetScrollPos</a> (int orientation, int pos, bool refresh=true)</td></tr>
<tr class="memdesc:afbf4dc9064cf70cfe6884554b97a27bf"><td class="mdescLeft"> </td><td class="mdescRight">Sets the position of one of the built-in scrollbars. <a href="#afbf4dc9064cf70cfe6884554b97a27bf"></a><br/></td></tr>
<tr class="separator:afbf4dc9064cf70cfe6884554b97a27bf"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa842d59529f873683e55cd8392ec46e9"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#aa842d59529f873683e55cd8392ec46e9">SetScrollbar</a> (int orientation, int position, int thumbSize, int range, bool refresh=true)</td></tr>
<tr class="memdesc:aa842d59529f873683e55cd8392ec46e9"><td class="mdescLeft"> </td><td class="mdescRight">Sets the scrollbar properties of a built-in scrollbar. <a href="#aa842d59529f873683e55cd8392ec46e9"></a><br/></td></tr>
<tr class="separator:aa842d59529f873683e55cd8392ec46e9"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Sizing functions</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p>See also the protected functions <a class="el" href="classwx_window.html#a01e7604ab0f0b2b1a8e322a630a4669e" title="Implementation of GetBestSize() that can be overridden.">DoGetBestSize()</a> and <a class="el" href="classwx_window.html#afe8447cb5975584ee3d4a03e3d02ee89" title="Override this method to return the best size for a custom control.">DoGetBestClientSize()</a>. </p>
</div></td></tr>
<tr class="memitem:ab4cea6ace96193b5c4282e097a6fbfee"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#ab4cea6ace96193b5c4282e097a6fbfee">BeginRepositioningChildren</a> ()</td></tr>
<tr class="memdesc:ab4cea6ace96193b5c4282e097a6fbfee"><td class="mdescLeft"> </td><td class="mdescRight">Prepare for changing positions of multiple child windows. <a href="#ab4cea6ace96193b5c4282e097a6fbfee"></a><br/></td></tr>
<tr class="separator:ab4cea6ace96193b5c4282e097a6fbfee"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1203fbd238d781253b44e0e459532301"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a1203fbd238d781253b44e0e459532301">EndRepositioningChildren</a> ()</td></tr>
<tr class="memdesc:a1203fbd238d781253b44e0e459532301"><td class="mdescLeft"> </td><td class="mdescRight">Fix child window positions after setting all of them at once. <a href="#a1203fbd238d781253b44e0e459532301"></a><br/></td></tr>
<tr class="separator:a1203fbd238d781253b44e0e459532301"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a100905524d330cfd9620fd726e378066"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a100905524d330cfd9620fd726e378066">CacheBestSize</a> (const <a class="el" href="classwx_size.html">wxSize</a> &size) const </td></tr>
<tr class="memdesc:a100905524d330cfd9620fd726e378066"><td class="mdescLeft"> </td><td class="mdescRight">Sets the cached best size value. <a href="#a100905524d330cfd9620fd726e378066"></a><br/></td></tr>
<tr class="separator:a100905524d330cfd9620fd726e378066"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a693fffbbb7ad5f36a5f442703396dafa"><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_window.html#a693fffbbb7ad5f36a5f442703396dafa">ClientToWindowSize</a> (const <a class="el" href="classwx_size.html">wxSize</a> &size) const </td></tr>
<tr class="memdesc:a693fffbbb7ad5f36a5f442703396dafa"><td class="mdescLeft"> </td><td class="mdescRight">Converts client area size <em>size</em> to corresponding window size. <a href="#a693fffbbb7ad5f36a5f442703396dafa"></a><br/></td></tr>
<tr class="separator:a693fffbbb7ad5f36a5f442703396dafa"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa456f800c9dde3b2361cad0abf54bc27"><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_window.html#aa456f800c9dde3b2361cad0abf54bc27">WindowToClientSize</a> (const <a class="el" href="classwx_size.html">wxSize</a> &size) const </td></tr>
<tr class="memdesc:aa456f800c9dde3b2361cad0abf54bc27"><td class="mdescLeft"> </td><td class="mdescRight">Converts window size <em>size</em> to corresponding client area size In other words, the returned value is what would <a class="el" href="classwx_window.html#ae56fc53268b815b58570f66bfc33838f" title="Returns the size of the window 'client area' in pixels.">GetClientSize()</a> return if this window had given window size. <a href="#aa456f800c9dde3b2361cad0abf54bc27"></a><br/></td></tr>
<tr class="separator:aa456f800c9dde3b2361cad0abf54bc27"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2bf38a6cbd1f82fb46f274396f482994"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a2bf38a6cbd1f82fb46f274396f482994">Fit</a> ()</td></tr>
<tr class="memdesc:a2bf38a6cbd1f82fb46f274396f482994"><td class="mdescLeft"> </td><td class="mdescRight">Sizes the window so that it fits around its subwindows. <a href="#a2bf38a6cbd1f82fb46f274396f482994"></a><br/></td></tr>
<tr class="separator:a2bf38a6cbd1f82fb46f274396f482994"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a55aca401aab29d59f7cc53f89ba2e38d"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a55aca401aab29d59f7cc53f89ba2e38d">FitInside</a> ()</td></tr>
<tr class="memdesc:a55aca401aab29d59f7cc53f89ba2e38d"><td class="mdescLeft"> </td><td class="mdescRight">Similar to <a class="el" href="classwx_window.html#a2bf38a6cbd1f82fb46f274396f482994" title="Sizes the window so that it fits around its subwindows.">Fit()</a>, but sizes the interior (virtual) size of a window. <a href="#a55aca401aab29d59f7cc53f89ba2e38d"></a><br/></td></tr>
<tr class="separator:a55aca401aab29d59f7cc53f89ba2e38d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7e64b9380374e5681f146e9e319e35e3"><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_window.html#a7e64b9380374e5681f146e9e319e35e3">GetBestSize</a> () const </td></tr>
<tr class="memdesc:a7e64b9380374e5681f146e9e319e35e3"><td class="mdescLeft"> </td><td class="mdescRight">This functions returns the best acceptable minimal size for the window. <a href="#a7e64b9380374e5681f146e9e319e35e3"></a><br/></td></tr>
<tr class="separator:a7e64b9380374e5681f146e9e319e35e3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae314d583790739dd751dedec49216b88"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#ae314d583790739dd751dedec49216b88">GetBestHeight</a> (int width) const </td></tr>
<tr class="memdesc:ae314d583790739dd751dedec49216b88"><td class="mdescLeft"> </td><td class="mdescRight">Returns the best height needed by this window if it had the given width. <a href="#ae314d583790739dd751dedec49216b88"></a><br/></td></tr>
<tr class="separator:ae314d583790739dd751dedec49216b88"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac6ca826451f19a8814d12c31cda2afab"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#ac6ca826451f19a8814d12c31cda2afab">GetBestWidth</a> (int height) const </td></tr>
<tr class="memdesc:ac6ca826451f19a8814d12c31cda2afab"><td class="mdescLeft"> </td><td class="mdescRight">Returns the best width needed by this window if it had the given height. <a href="#ac6ca826451f19a8814d12c31cda2afab"></a><br/></td></tr>
<tr class="separator:ac6ca826451f19a8814d12c31cda2afab"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae56fc53268b815b58570f66bfc33838f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#ae56fc53268b815b58570f66bfc33838f">GetClientSize</a> (int *width, int *height) const </td></tr>
<tr class="memdesc:ae56fc53268b815b58570f66bfc33838f"><td class="mdescLeft"> </td><td class="mdescRight">Returns the size of the window 'client area' in pixels. <a href="#ae56fc53268b815b58570f66bfc33838f"></a><br/></td></tr>
<tr class="separator:ae56fc53268b815b58570f66bfc33838f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afb9fd4a3b3310b2e11049a5113f749fa"><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_window.html#afb9fd4a3b3310b2e11049a5113f749fa">GetClientSize</a> () const </td></tr>
<tr class="memdesc:afb9fd4a3b3310b2e11049a5113f749fa"><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="#afb9fd4a3b3310b2e11049a5113f749fa"></a><br/></td></tr>
<tr class="separator:afb9fd4a3b3310b2e11049a5113f749fa"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1a54fcda8d52986482e030bd54739e9f"><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_window.html#a1a54fcda8d52986482e030bd54739e9f">GetEffectiveMinSize</a> () const </td></tr>
<tr class="memdesc:a1a54fcda8d52986482e030bd54739e9f"><td class="mdescLeft"> </td><td class="mdescRight">Merges the window's best size into the min size and returns the result. <a href="#a1a54fcda8d52986482e030bd54739e9f"></a><br/></td></tr>
<tr class="separator:a1a54fcda8d52986482e030bd54739e9f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aef9b71458720452374137cd20be24b97"><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_window.html#aef9b71458720452374137cd20be24b97">GetMaxClientSize</a> () const </td></tr>
<tr class="memdesc:aef9b71458720452374137cd20be24b97"><td class="mdescLeft"> </td><td class="mdescRight">Returns the maximum size of window's client area. <a href="#aef9b71458720452374137cd20be24b97"></a><br/></td></tr>
<tr class="separator:aef9b71458720452374137cd20be24b97"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0a1672e81caf81a95eb5b48383d22065"><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_window.html#a0a1672e81caf81a95eb5b48383d22065">GetMaxSize</a> () const </td></tr>
<tr class="memdesc:a0a1672e81caf81a95eb5b48383d22065"><td class="mdescLeft"> </td><td class="mdescRight">Returns the maximum size of the window. <a href="#a0a1672e81caf81a95eb5b48383d22065"></a><br/></td></tr>
<tr class="separator:a0a1672e81caf81a95eb5b48383d22065"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8e88d1d38c2bf98a72d86b42cf3e35c0"><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_window.html#a8e88d1d38c2bf98a72d86b42cf3e35c0">GetMinClientSize</a> () const </td></tr>
<tr class="memdesc:a8e88d1d38c2bf98a72d86b42cf3e35c0"><td class="mdescLeft"> </td><td class="mdescRight">Returns the minimum size of window's client area, an indication to the sizer layout mechanism that this is the minimum required size of its client area. <a href="#a8e88d1d38c2bf98a72d86b42cf3e35c0"></a><br/></td></tr>
<tr class="separator:a8e88d1d38c2bf98a72d86b42cf3e35c0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a853c9a8443f996a368569a8fae551f5a"><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_window.html#a853c9a8443f996a368569a8fae551f5a">GetMinSize</a> () const </td></tr>
<tr class="memdesc:a853c9a8443f996a368569a8fae551f5a"><td class="mdescLeft"> </td><td class="mdescRight">Returns the minimum size of the window, an indication to the sizer layout mechanism that this is the minimum required size. <a href="#a853c9a8443f996a368569a8fae551f5a"></a><br/></td></tr>
<tr class="separator:a853c9a8443f996a368569a8fae551f5a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9f79aa07a1b82a9a738f6c1d9c17496f"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a9f79aa07a1b82a9a738f6c1d9c17496f">GetMinWidth</a> () const </td></tr>
<tr class="memdesc:a9f79aa07a1b82a9a738f6c1d9c17496f"><td class="mdescLeft"> </td><td class="mdescRight">Returns the horizontal component of window minimal size. <a href="#a9f79aa07a1b82a9a738f6c1d9c17496f"></a><br/></td></tr>
<tr class="separator:a9f79aa07a1b82a9a738f6c1d9c17496f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae4dd9a046ff774ea3ef114caeb452681"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#ae4dd9a046ff774ea3ef114caeb452681">GetMinHeight</a> () const </td></tr>
<tr class="memdesc:ae4dd9a046ff774ea3ef114caeb452681"><td class="mdescLeft"> </td><td class="mdescRight">Returns the vertical component of window minimal size. <a href="#ae4dd9a046ff774ea3ef114caeb452681"></a><br/></td></tr>
<tr class="separator:ae4dd9a046ff774ea3ef114caeb452681"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2e953a64c41131b87bdd7c513ced3687"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a2e953a64c41131b87bdd7c513ced3687">GetMaxWidth</a> () const </td></tr>
<tr class="memdesc:a2e953a64c41131b87bdd7c513ced3687"><td class="mdescLeft"> </td><td class="mdescRight">Returns the horizontal component of window maximal size. <a href="#a2e953a64c41131b87bdd7c513ced3687"></a><br/></td></tr>
<tr class="separator:a2e953a64c41131b87bdd7c513ced3687"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5cc2082eb5ddb27f97be191bd093709e"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a5cc2082eb5ddb27f97be191bd093709e">GetMaxHeight</a> () const </td></tr>
<tr class="memdesc:a5cc2082eb5ddb27f97be191bd093709e"><td class="mdescLeft"> </td><td class="mdescRight">Returns the vertical component of window maximal size. <a href="#a5cc2082eb5ddb27f97be191bd093709e"></a><br/></td></tr>
<tr class="separator:a5cc2082eb5ddb27f97be191bd093709e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a124c12cff1e7b6e96a5e1fd3e48dca34"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a124c12cff1e7b6e96a5e1fd3e48dca34">GetSize</a> (int *width, int *height) const </td></tr>
<tr class="memdesc:a124c12cff1e7b6e96a5e1fd3e48dca34"><td class="mdescLeft"> </td><td class="mdescRight">Returns the size of the entire window in pixels, including title bar, border, scrollbars, etc. <a href="#a124c12cff1e7b6e96a5e1fd3e48dca34"></a><br/></td></tr>
<tr class="separator:a124c12cff1e7b6e96a5e1fd3e48dca34"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a66e144ed8ab9a20e080ae6c69fc7015c"><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_window.html#a66e144ed8ab9a20e080ae6c69fc7015c">GetSize</a> () const </td></tr>
<tr class="memdesc:a66e144ed8ab9a20e080ae6c69fc7015c"><td class="mdescLeft"> </td><td class="mdescRight">See the GetSize(int*,int*) overload for more info. <a href="#a66e144ed8ab9a20e080ae6c69fc7015c"></a><br/></td></tr>
<tr class="separator:a66e144ed8ab9a20e080ae6c69fc7015c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a614d32c464296b7d6caabcafc18deb97"><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_window.html#a614d32c464296b7d6caabcafc18deb97">GetVirtualSize</a> () const </td></tr>
<tr class="memdesc:a614d32c464296b7d6caabcafc18deb97"><td class="mdescLeft"> </td><td class="mdescRight">This gets the virtual size of the window in pixels. <a href="#a614d32c464296b7d6caabcafc18deb97"></a><br/></td></tr>
<tr class="separator:a614d32c464296b7d6caabcafc18deb97"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2628c6f1f4aecb790f0c86622ebf4d56"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a2628c6f1f4aecb790f0c86622ebf4d56">GetVirtualSize</a> (int *width, int *height) const </td></tr>
<tr class="memdesc:a2628c6f1f4aecb790f0c86622ebf4d56"><td class="mdescLeft"> </td><td class="mdescRight">Like the other <a class="el" href="classwx_window.html#a614d32c464296b7d6caabcafc18deb97" title="This gets the virtual size of the window in pixels.">GetVirtualSize()</a> overload but uses pointers instead. <a href="#a2628c6f1f4aecb790f0c86622ebf4d56"></a><br/></td></tr>
<tr class="separator:a2628c6f1f4aecb790f0c86622ebf4d56"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0180343fa395e0c8e6de4022684ca5d6"><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_window.html#a0180343fa395e0c8e6de4022684ca5d6">GetBestVirtualSize</a> () const </td></tr>
<tr class="memdesc:a0180343fa395e0c8e6de4022684ca5d6"><td class="mdescLeft"> </td><td class="mdescRight">Return the largest of ClientSize and BestSize (as determined by a sizer, interior children, or other means) <a href="#a0180343fa395e0c8e6de4022684ca5d6"></a><br/></td></tr>
<tr class="separator:a0180343fa395e0c8e6de4022684ca5d6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6f230d4db56d1d2ab364fe1491f2e9ba"><td class="memItemLeft" align="right" valign="top">virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a6f230d4db56d1d2ab364fe1491f2e9ba">GetContentScaleFactor</a> () const </td></tr>
<tr class="memdesc:a6f230d4db56d1d2ab364fe1491f2e9ba"><td class="mdescLeft"> </td><td class="mdescRight">Returns the magnification of the backing store of this window, eg 2.0 for a window on a retina screen. <a href="#a6f230d4db56d1d2ab364fe1491f2e9ba"></a><br/></td></tr>
<tr class="separator:a6f230d4db56d1d2ab364fe1491f2e9ba"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afd861e553190e22a76d3d40ee5e8d628"><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_window.html#afd861e553190e22a76d3d40ee5e8d628">GetWindowBorderSize</a> () const </td></tr>
<tr class="memdesc:afd861e553190e22a76d3d40ee5e8d628"><td class="mdescLeft"> </td><td class="mdescRight">Returns the size of the left/right and top/bottom borders of this window in x and y components of the result respectively. <a href="#afd861e553190e22a76d3d40ee5e8d628"></a><br/></td></tr>
<tr class="separator:afd861e553190e22a76d3d40ee5e8d628"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9fd5b6520c1b30eb8e82bb5d56bc24c0"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a9fd5b6520c1b30eb8e82bb5d56bc24c0">InformFirstDirection</a> (int direction, int size, int availableOtherDir)</td></tr>
<tr class="memdesc:a9fd5b6520c1b30eb8e82bb5d56bc24c0"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classwx_sizer.html" title="wxSizer is the abstract base class used for laying out subwindows in a window.">wxSizer</a> and friends use this to give a chance to a component to recalc its min size once one of the final size components is known. <a href="#a9fd5b6520c1b30eb8e82bb5d56bc24c0"></a><br/></td></tr>
<tr class="separator:a9fd5b6520c1b30eb8e82bb5d56bc24c0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae1b56ca87d8590ee5e576012229a380a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#ae1b56ca87d8590ee5e576012229a380a">InvalidateBestSize</a> ()</td></tr>
<tr class="memdesc:ae1b56ca87d8590ee5e576012229a380a"><td class="mdescLeft"> </td><td class="mdescRight">Resets the cached best size value so it will be recalculated the next time it is needed. <a href="#ae1b56ca87d8590ee5e576012229a380a"></a><br/></td></tr>
<tr class="separator:ae1b56ca87d8590ee5e576012229a380a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab1943463e6661f97e072b43337c6cc09"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#ab1943463e6661f97e072b43337c6cc09">PostSizeEvent</a> ()</td></tr>
<tr class="memdesc:ab1943463e6661f97e072b43337c6cc09"><td class="mdescLeft"> </td><td class="mdescRight">Posts a size event to the window. <a href="#ab1943463e6661f97e072b43337c6cc09"></a><br/></td></tr>
<tr class="separator:ab1943463e6661f97e072b43337c6cc09"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa080d8dcda58bcc6ea2abd8bea592e3e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#aa080d8dcda58bcc6ea2abd8bea592e3e">PostSizeEventToParent</a> ()</td></tr>
<tr class="memdesc:aa080d8dcda58bcc6ea2abd8bea592e3e"><td class="mdescLeft"> </td><td class="mdescRight">Posts a size event to the parent of this window. <a href="#aa080d8dcda58bcc6ea2abd8bea592e3e"></a><br/></td></tr>
<tr class="separator:aa080d8dcda58bcc6ea2abd8bea592e3e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a237f739b21937d3e8f1bff5fa82ba4c2"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a237f739b21937d3e8f1bff5fa82ba4c2">SendSizeEvent</a> (int flags=0)</td></tr>
<tr class="memdesc:a237f739b21937d3e8f1bff5fa82ba4c2"><td class="mdescLeft"> </td><td class="mdescRight">This function sends a dummy <a class="el" href="classwx_size_event.html">size event</a> to the window allowing it to re-layout its children positions. <a href="#a237f739b21937d3e8f1bff5fa82ba4c2"></a><br/></td></tr>
<tr class="separator:a237f739b21937d3e8f1bff5fa82ba4c2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af7987987978fd8a93df88b29b19a6388"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#af7987987978fd8a93df88b29b19a6388">SendSizeEventToParent</a> (int flags=0)</td></tr>
<tr class="memdesc:af7987987978fd8a93df88b29b19a6388"><td class="mdescLeft"> </td><td class="mdescRight">Safe wrapper for <a class="el" href="classwx_window.html#a63871f881941b99b4b94328d1c4cd163" title="Returns the parent of the window, or NULL if there is no parent.">GetParent()</a>-><a class="el" href="classwx_window.html#a237f739b21937d3e8f1bff5fa82ba4c2" title="This function sends a dummy size event to the window allowing it to re-layout its children positions...">SendSizeEvent()</a>. <a href="#af7987987978fd8a93df88b29b19a6388"></a><br/></td></tr>
<tr class="separator:af7987987978fd8a93df88b29b19a6388"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa59f715217fffa5bcf14cd97f92e7840"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#aa59f715217fffa5bcf14cd97f92e7840">SetClientSize</a> (int width, int height)</td></tr>
<tr class="memdesc:aa59f715217fffa5bcf14cd97f92e7840"><td class="mdescLeft"> </td><td class="mdescRight">This sets the size of the window client area in pixels. <a href="#aa59f715217fffa5bcf14cd97f92e7840"></a><br/></td></tr>
<tr class="separator:aa59f715217fffa5bcf14cd97f92e7840"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab2aadc857ee7f55f47ab9a8669e3beb7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#ab2aadc857ee7f55f47ab9a8669e3beb7">SetClientSize</a> (const <a class="el" href="classwx_size.html">wxSize</a> &size)</td></tr>
<tr class="memdesc:ab2aadc857ee7f55f47ab9a8669e3beb7"><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="#ab2aadc857ee7f55f47ab9a8669e3beb7"></a><br/></td></tr>
<tr class="separator:ab2aadc857ee7f55f47ab9a8669e3beb7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a582d4d1f60a3f777627773b2da0bb2ef"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a582d4d1f60a3f777627773b2da0bb2ef">SetClientSize</a> (const <a class="el" href="classwx_rect.html">wxRect</a> &rect)</td></tr>
<tr class="memdesc:a582d4d1f60a3f777627773b2da0bb2ef"><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="#a582d4d1f60a3f777627773b2da0bb2ef"></a><br/></td></tr>
<tr class="separator:a582d4d1f60a3f777627773b2da0bb2ef"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0ccf78fe06722b500adfb7f36b8ce443"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a0ccf78fe06722b500adfb7f36b8ce443">SetContainingSizer</a> (<a class="el" href="classwx_sizer.html">wxSizer</a> *sizer)</td></tr>
<tr class="memdesc:a0ccf78fe06722b500adfb7f36b8ce443"><td class="mdescLeft"> </td><td class="mdescRight">This normally does not need to be called by user code. <a href="#a0ccf78fe06722b500adfb7f36b8ce443"></a><br/></td></tr>
<tr class="separator:a0ccf78fe06722b500adfb7f36b8ce443"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1b309ca50ba87e34f968c83b79af1397"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a1b309ca50ba87e34f968c83b79af1397">SetInitialSize</a> (const <a class="el" href="classwx_size.html">wxSize</a> &size=<a class="el" href="gdicmn_8h.html#a33a012cdb075e9f78c93f63bec2dc27b">wxDefaultSize</a>)</td></tr>
<tr class="memdesc:a1b309ca50ba87e34f968c83b79af1397"><td class="mdescLeft"> </td><td class="mdescRight">A <em>smart</em> SetSize that will fill in default size components with the window's <em>best</em> size values. <a href="#a1b309ca50ba87e34f968c83b79af1397"></a><br/></td></tr>
<tr class="separator:a1b309ca50ba87e34f968c83b79af1397"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a664e5b2ddd817d9c58788269fe1d8479"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a664e5b2ddd817d9c58788269fe1d8479">SetMaxClientSize</a> (const <a class="el" href="classwx_size.html">wxSize</a> &size)</td></tr>
<tr class="memdesc:a664e5b2ddd817d9c58788269fe1d8479"><td class="mdescLeft"> </td><td class="mdescRight">Sets the maximum client size of the window, to indicate to the sizer layout mechanism that this is the maximum possible size of its client area. <a href="#a664e5b2ddd817d9c58788269fe1d8479"></a><br/></td></tr>
<tr class="separator:a664e5b2ddd817d9c58788269fe1d8479"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a38b496214d728a3212afadee5ed51606"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a38b496214d728a3212afadee5ed51606">SetMaxSize</a> (const <a class="el" href="classwx_size.html">wxSize</a> &size)</td></tr>
<tr class="memdesc:a38b496214d728a3212afadee5ed51606"><td class="mdescLeft"> </td><td class="mdescRight">Sets the maximum size of the window, to indicate to the sizer layout mechanism that this is the maximum possible size. <a href="#a38b496214d728a3212afadee5ed51606"></a><br/></td></tr>
<tr class="separator:a38b496214d728a3212afadee5ed51606"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6e35ba44b97e374dfffa460d41d94b31"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a6e35ba44b97e374dfffa460d41d94b31">SetMinClientSize</a> (const <a class="el" href="classwx_size.html">wxSize</a> &size)</td></tr>
<tr class="memdesc:a6e35ba44b97e374dfffa460d41d94b31"><td class="mdescLeft"> </td><td class="mdescRight">Sets the minimum client size of the window, to indicate to the sizer layout mechanism that this is the minimum required size of window's client area. <a href="#a6e35ba44b97e374dfffa460d41d94b31"></a><br/></td></tr>
<tr class="separator:a6e35ba44b97e374dfffa460d41d94b31"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3fc066f4d8083319f004ac43811d545d"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a3fc066f4d8083319f004ac43811d545d">SetMinSize</a> (const <a class="el" href="classwx_size.html">wxSize</a> &size)</td></tr>
<tr class="memdesc:a3fc066f4d8083319f004ac43811d545d"><td class="mdescLeft"> </td><td class="mdescRight">Sets the minimum size of the window, to indicate to the sizer layout mechanism that this is the minimum required size. <a href="#a3fc066f4d8083319f004ac43811d545d"></a><br/></td></tr>
<tr class="separator:a3fc066f4d8083319f004ac43811d545d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a180312d5ad4a4a5ad805b8d52d67a74e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a180312d5ad4a4a5ad805b8d52d67a74e">SetSize</a> (int x, int y, int width, int height, int sizeFlags=<a class="el" href="defs_8h.html#a9604019ec0a451fddab3c8e2ddbe2bee">wxSIZE_AUTO</a>)</td></tr>
<tr class="memdesc:a180312d5ad4a4a5ad805b8d52d67a74e"><td class="mdescLeft"> </td><td class="mdescRight">Sets the size of the window in pixels. <a href="#a180312d5ad4a4a5ad805b8d52d67a74e"></a><br/></td></tr>
<tr class="separator:a180312d5ad4a4a5ad805b8d52d67a74e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8e383bc6d5ca008965922a36c676aea0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a8e383bc6d5ca008965922a36c676aea0">SetSize</a> (const <a class="el" href="classwx_rect.html">wxRect</a> &rect)</td></tr>
<tr class="memdesc:a8e383bc6d5ca008965922a36c676aea0"><td class="mdescLeft"> </td><td class="mdescRight">Sets the size of the window in pixels. <a href="#a8e383bc6d5ca008965922a36c676aea0"></a><br/></td></tr>
<tr class="separator:a8e383bc6d5ca008965922a36c676aea0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a030a928cd854de3def97c5720f14695b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a030a928cd854de3def97c5720f14695b">SetSize</a> (const <a class="el" href="classwx_size.html">wxSize</a> &size)</td></tr>
<tr class="memdesc:a030a928cd854de3def97c5720f14695b"><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="#a030a928cd854de3def97c5720f14695b"></a><br/></td></tr>
<tr class="separator:a030a928cd854de3def97c5720f14695b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2ea9b25296d591aea4470c8fd99ff7cb"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a2ea9b25296d591aea4470c8fd99ff7cb">SetSize</a> (int width, int height)</td></tr>
<tr class="memdesc:a2ea9b25296d591aea4470c8fd99ff7cb"><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="#a2ea9b25296d591aea4470c8fd99ff7cb"></a><br/></td></tr>
<tr class="separator:a2ea9b25296d591aea4470c8fd99ff7cb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a307329dc3b10f5584aeb2cbce9293ffd"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a307329dc3b10f5584aeb2cbce9293ffd">SetSizeHints</a> (const <a class="el" href="classwx_size.html">wxSize</a> &minSize, const <a class="el" href="classwx_size.html">wxSize</a> &maxSize=<a class="el" href="gdicmn_8h.html#a33a012cdb075e9f78c93f63bec2dc27b">wxDefaultSize</a>, const <a class="el" href="classwx_size.html">wxSize</a> &incSize=<a class="el" href="gdicmn_8h.html#a33a012cdb075e9f78c93f63bec2dc27b">wxDefaultSize</a>)</td></tr>
<tr class="memdesc:a307329dc3b10f5584aeb2cbce9293ffd"><td class="mdescLeft"> </td><td class="mdescRight">Use of this function for windows which are not toplevel windows (such as <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> or <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>) is discouraged. <a href="#a307329dc3b10f5584aeb2cbce9293ffd"></a><br/></td></tr>
<tr class="separator:a307329dc3b10f5584aeb2cbce9293ffd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae813c640e1e2bc6014423247050846cf"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#ae813c640e1e2bc6014423247050846cf">SetSizeHints</a> (int minW, int minH, int maxW=-1, int maxH=-1, int incW=-1, int incH=-1)</td></tr>
<tr class="memdesc:ae813c640e1e2bc6014423247050846cf"><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="#ae813c640e1e2bc6014423247050846cf"></a><br/></td></tr>
<tr class="separator:ae813c640e1e2bc6014423247050846cf"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a37f293b7904bc6668b86cccb0aea5669"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a37f293b7904bc6668b86cccb0aea5669">SetVirtualSize</a> (int width, int height)</td></tr>
<tr class="memdesc:a37f293b7904bc6668b86cccb0aea5669"><td class="mdescLeft"> </td><td class="mdescRight">Sets the virtual size of the window in pixels. <a href="#a37f293b7904bc6668b86cccb0aea5669"></a><br/></td></tr>
<tr class="separator:a37f293b7904bc6668b86cccb0aea5669"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8e95201edebe43b9623bd3bdc555af4d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a8e95201edebe43b9623bd3bdc555af4d">SetVirtualSize</a> (const <a class="el" href="classwx_size.html">wxSize</a> &size)</td></tr>
<tr class="memdesc:a8e95201edebe43b9623bd3bdc555af4d"><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="#a8e95201edebe43b9623bd3bdc555af4d"></a><br/></td></tr>
<tr class="separator:a8e95201edebe43b9623bd3bdc555af4d"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Positioning functions</div></td></tr>
<tr class="memitem:a06c0ecb262995b40083bfb446a6cff99"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a06c0ecb262995b40083bfb446a6cff99">Center</a> (int dir=<a class="el" href="defs_8h.html#a1e6994f40bd9cb140e292afb165af971a31055fdab980125bf5a575f776066097">wxBOTH</a>)</td></tr>
<tr class="memdesc:a06c0ecb262995b40083bfb446a6cff99"><td class="mdescLeft"> </td><td class="mdescRight">A synonym for <a class="el" href="classwx_window.html#a4a1819eeee3f2143cdde4f329ffde787" title="Centres the window.">Centre()</a>. <a href="#a06c0ecb262995b40083bfb446a6cff99"></a><br/></td></tr>
<tr class="separator:a06c0ecb262995b40083bfb446a6cff99"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2dc4e0a85d33fc55cc9650eaea1da0a4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a2dc4e0a85d33fc55cc9650eaea1da0a4">CenterOnParent</a> (int dir=<a class="el" href="defs_8h.html#a1e6994f40bd9cb140e292afb165af971a31055fdab980125bf5a575f776066097">wxBOTH</a>)</td></tr>
<tr class="memdesc:a2dc4e0a85d33fc55cc9650eaea1da0a4"><td class="mdescLeft"> </td><td class="mdescRight">A synonym for <a class="el" href="classwx_window.html#ab8e9b91b0e2db344fd71259616dfd433" title="Centres the window on its parent.">CentreOnParent()</a>. <a href="#a2dc4e0a85d33fc55cc9650eaea1da0a4"></a><br/></td></tr>
<tr class="separator:a2dc4e0a85d33fc55cc9650eaea1da0a4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4a1819eeee3f2143cdde4f329ffde787"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a4a1819eeee3f2143cdde4f329ffde787">Centre</a> (int direction=<a class="el" href="defs_8h.html#a1e6994f40bd9cb140e292afb165af971a31055fdab980125bf5a575f776066097">wxBOTH</a>)</td></tr>
<tr class="memdesc:a4a1819eeee3f2143cdde4f329ffde787"><td class="mdescLeft"> </td><td class="mdescRight">Centres the window. <a href="#a4a1819eeee3f2143cdde4f329ffde787"></a><br/></td></tr>
<tr class="separator:a4a1819eeee3f2143cdde4f329ffde787"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab8e9b91b0e2db344fd71259616dfd433"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#ab8e9b91b0e2db344fd71259616dfd433">CentreOnParent</a> (int direction=<a class="el" href="defs_8h.html#a1e6994f40bd9cb140e292afb165af971a31055fdab980125bf5a575f776066097">wxBOTH</a>)</td></tr>
<tr class="memdesc:ab8e9b91b0e2db344fd71259616dfd433"><td class="mdescLeft"> </td><td class="mdescRight">Centres the window on its parent. <a href="#ab8e9b91b0e2db344fd71259616dfd433"></a><br/></td></tr>
<tr class="separator:ab8e9b91b0e2db344fd71259616dfd433"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9f36392b289a1e567e95bee073d6533e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a9f36392b289a1e567e95bee073d6533e">GetPosition</a> (int *x, int *y) const </td></tr>
<tr class="memdesc:a9f36392b289a1e567e95bee073d6533e"><td class="mdescLeft"> </td><td class="mdescRight">This gets the position of the window in pixels, relative to the parent window for the child windows or relative to the display origin for the top level windows. <a href="#a9f36392b289a1e567e95bee073d6533e"></a><br/></td></tr>
<tr class="separator:a9f36392b289a1e567e95bee073d6533e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad9a883e20827fa717e92fc2f8bd99d6b"><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_window.html#ad9a883e20827fa717e92fc2f8bd99d6b">GetPosition</a> () const </td></tr>
<tr class="memdesc:ad9a883e20827fa717e92fc2f8bd99d6b"><td class="mdescLeft"> </td><td class="mdescRight">This gets the position of the window in pixels, relative to the parent window for the child windows or relative to the display origin for the top level windows. <a href="#ad9a883e20827fa717e92fc2f8bd99d6b"></a><br/></td></tr>
<tr class="separator:ad9a883e20827fa717e92fc2f8bd99d6b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac8809904bb379c32c33c79fbe38745eb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_rect.html">wxRect</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#ac8809904bb379c32c33c79fbe38745eb">GetRect</a> () const </td></tr>
<tr class="memdesc:ac8809904bb379c32c33c79fbe38745eb"><td class="mdescLeft"> </td><td class="mdescRight">Returns the position and size of the window as a <a class="el" href="classwx_rect.html" title="A class for manipulating rectangles.">wxRect</a> object. <a href="#ac8809904bb379c32c33c79fbe38745eb"></a><br/></td></tr>
<tr class="separator:ac8809904bb379c32c33c79fbe38745eb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abd39ef50fbc1ef3771f695e7322e8c1d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#abd39ef50fbc1ef3771f695e7322e8c1d">GetScreenPosition</a> (int *x, int *y) const </td></tr>
<tr class="memdesc:abd39ef50fbc1ef3771f695e7322e8c1d"><td class="mdescLeft"> </td><td class="mdescRight">Returns the window position in screen coordinates, whether the window is a child window or a top level one. <a href="#abd39ef50fbc1ef3771f695e7322e8c1d"></a><br/></td></tr>
<tr class="separator:abd39ef50fbc1ef3771f695e7322e8c1d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a32074a2c677ebadb1ed6e92ab172656c"><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_window.html#a32074a2c677ebadb1ed6e92ab172656c">GetScreenPosition</a> () const </td></tr>
<tr class="memdesc:a32074a2c677ebadb1ed6e92ab172656c"><td class="mdescLeft"> </td><td class="mdescRight">Returns the window position in screen coordinates, whether the window is a child window or a top level one. <a href="#a32074a2c677ebadb1ed6e92ab172656c"></a><br/></td></tr>
<tr class="separator:a32074a2c677ebadb1ed6e92ab172656c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5c0e45fac07ac4cf29eefa108337a110"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_rect.html">wxRect</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a5c0e45fac07ac4cf29eefa108337a110">GetScreenRect</a> () const </td></tr>
<tr class="memdesc:a5c0e45fac07ac4cf29eefa108337a110"><td class="mdescLeft"> </td><td class="mdescRight">Returns the position and size of the window on the screen as a <a class="el" href="classwx_rect.html" title="A class for manipulating rectangles.">wxRect</a> object. <a href="#a5c0e45fac07ac4cf29eefa108337a110"></a><br/></td></tr>
<tr class="separator:a5c0e45fac07ac4cf29eefa108337a110"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8fd1c0fd88d63dfbf6fefb688b7fd19e"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_point.html">wxPoint</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a8fd1c0fd88d63dfbf6fefb688b7fd19e">GetClientAreaOrigin</a> () const </td></tr>
<tr class="memdesc:a8fd1c0fd88d63dfbf6fefb688b7fd19e"><td class="mdescLeft"> </td><td class="mdescRight">Get the origin of the client area of the window relative to the window top left corner (the client area may be shifted because of the borders, scrollbars, other decorations...) <a href="#a8fd1c0fd88d63dfbf6fefb688b7fd19e"></a><br/></td></tr>
<tr class="separator:a8fd1c0fd88d63dfbf6fefb688b7fd19e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3928765a8dd3c5c3d6a689179c8005e0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_rect.html">wxRect</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a3928765a8dd3c5c3d6a689179c8005e0">GetClientRect</a> () const </td></tr>
<tr class="memdesc:a3928765a8dd3c5c3d6a689179c8005e0"><td class="mdescLeft"> </td><td class="mdescRight">Get the client rectangle in window (i.e. client) coordinates. <a href="#a3928765a8dd3c5c3d6a689179c8005e0"></a><br/></td></tr>
<tr class="separator:a3928765a8dd3c5c3d6a689179c8005e0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab1cb98c8d25b9e6ff7b706b1446c3df7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#ab1cb98c8d25b9e6ff7b706b1446c3df7">Move</a> (int x, int y, int flags=<a class="el" href="defs_8h.html#a2f39257d6e2924d14ba28afa42abcde6">wxSIZE_USE_EXISTING</a>)</td></tr>
<tr class="memdesc:ab1cb98c8d25b9e6ff7b706b1446c3df7"><td class="mdescLeft"> </td><td class="mdescRight">Moves the window to the given position. <a href="#ab1cb98c8d25b9e6ff7b706b1446c3df7"></a><br/></td></tr>
<tr class="separator:ab1cb98c8d25b9e6ff7b706b1446c3df7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a22a22c1e23ca05776707e7999d8047fe"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a22a22c1e23ca05776707e7999d8047fe">Move</a> (const <a class="el" href="classwx_point.html">wxPoint</a> &pt, int flags=<a class="el" href="defs_8h.html#a2f39257d6e2924d14ba28afa42abcde6">wxSIZE_USE_EXISTING</a>)</td></tr>
<tr class="memdesc:a22a22c1e23ca05776707e7999d8047fe"><td class="mdescLeft"> </td><td class="mdescRight">Moves the window to the given position. <a href="#a22a22c1e23ca05776707e7999d8047fe"></a><br/></td></tr>
<tr class="separator:a22a22c1e23ca05776707e7999d8047fe"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a81f23590239934fa10fded0566a65d8c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a81f23590239934fa10fded0566a65d8c">SetPosition</a> (const <a class="el" href="classwx_point.html">wxPoint</a> &pt)</td></tr>
<tr class="memdesc:a81f23590239934fa10fded0566a65d8c"><td class="mdescLeft"> </td><td class="mdescRight">A synonym for <a class="el" href="classwx_window.html#a4a1819eeee3f2143cdde4f329ffde787" title="Centres the window.">Centre()</a>. <a href="#a81f23590239934fa10fded0566a65d8c"></a><br/></td></tr>
<tr class="separator:a81f23590239934fa10fded0566a65d8c"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Coordinate conversion functions</div></td></tr>
<tr class="memitem:a29eac611e5f6b47db82bb4dd5450ba3d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a29eac611e5f6b47db82bb4dd5450ba3d">ClientToScreen</a> (int *x, int *y) const </td></tr>
<tr class="memdesc:a29eac611e5f6b47db82bb4dd5450ba3d"><td class="mdescLeft"> </td><td class="mdescRight">Converts to screen coordinates from coordinates relative to this window. <a href="#a29eac611e5f6b47db82bb4dd5450ba3d"></a><br/></td></tr>
<tr class="separator:a29eac611e5f6b47db82bb4dd5450ba3d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7de852b144210b93b690189e99dbe1df"><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_window.html#a7de852b144210b93b690189e99dbe1df">ClientToScreen</a> (const <a class="el" href="classwx_point.html">wxPoint</a> &pt) const </td></tr>
<tr class="memdesc:a7de852b144210b93b690189e99dbe1df"><td class="mdescLeft"> </td><td class="mdescRight">Converts to screen coordinates from coordinates relative to this window. <a href="#a7de852b144210b93b690189e99dbe1df"></a><br/></td></tr>
<tr class="separator:a7de852b144210b93b690189e99dbe1df"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acb6787b6c3c314f9e015658a89ad0265"><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_window.html#acb6787b6c3c314f9e015658a89ad0265">ConvertDialogToPixels</a> (const <a class="el" href="classwx_point.html">wxPoint</a> &pt) const </td></tr>
<tr class="memdesc:acb6787b6c3c314f9e015658a89ad0265"><td class="mdescLeft"> </td><td class="mdescRight">Converts a point or size from dialog units to pixels. <a href="#acb6787b6c3c314f9e015658a89ad0265"></a><br/></td></tr>
<tr class="separator:acb6787b6c3c314f9e015658a89ad0265"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3daf76b93f648c68224e6ccd8095066b"><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_window.html#a3daf76b93f648c68224e6ccd8095066b">ConvertDialogToPixels</a> (const <a class="el" href="classwx_size.html">wxSize</a> &sz) const </td></tr>
<tr class="memdesc:a3daf76b93f648c68224e6ccd8095066b"><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="#a3daf76b93f648c68224e6ccd8095066b"></a><br/></td></tr>
<tr class="separator:a3daf76b93f648c68224e6ccd8095066b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a449aac6a24f1d14b1a82b58003447dfe"><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_window.html#a449aac6a24f1d14b1a82b58003447dfe">ConvertPixelsToDialog</a> (const <a class="el" href="classwx_point.html">wxPoint</a> &pt) const </td></tr>
<tr class="memdesc:a449aac6a24f1d14b1a82b58003447dfe"><td class="mdescLeft"> </td><td class="mdescRight">Converts a point or size from pixels to dialog units. <a href="#a449aac6a24f1d14b1a82b58003447dfe"></a><br/></td></tr>
<tr class="separator:a449aac6a24f1d14b1a82b58003447dfe"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afd955ce9d25ec26a115bfb794b1c7d8b"><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_window.html#afd955ce9d25ec26a115bfb794b1c7d8b">ConvertPixelsToDialog</a> (const <a class="el" href="classwx_size.html">wxSize</a> &sz) const </td></tr>
<tr class="memdesc:afd955ce9d25ec26a115bfb794b1c7d8b"><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="#afd955ce9d25ec26a115bfb794b1c7d8b"></a><br/></td></tr>
<tr class="separator:afd955ce9d25ec26a115bfb794b1c7d8b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a65531bbc52f9508b0e31a9c08c97bd31"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a65531bbc52f9508b0e31a9c08c97bd31">ScreenToClient</a> (int *x, int *y) const </td></tr>
<tr class="memdesc:a65531bbc52f9508b0e31a9c08c97bd31"><td class="mdescLeft"> </td><td class="mdescRight">Converts from screen to client window coordinates. <a href="#a65531bbc52f9508b0e31a9c08c97bd31"></a><br/></td></tr>
<tr class="separator:a65531bbc52f9508b0e31a9c08c97bd31"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a59d02b70a9107433836a977c4c0cd7a9"><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_window.html#a59d02b70a9107433836a977c4c0cd7a9">ScreenToClient</a> (const <a class="el" href="classwx_point.html">wxPoint</a> &pt) const </td></tr>
<tr class="memdesc:a59d02b70a9107433836a977c4c0cd7a9"><td class="mdescLeft"> </td><td class="mdescRight">Converts from screen to client window coordinates. <a href="#a59d02b70a9107433836a977c4c0cd7a9"></a><br/></td></tr>
<tr class="separator:a59d02b70a9107433836a977c4c0cd7a9"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Drawing-related functions</div></td></tr>
<tr class="memitem:a61e833684ee5c89775e91e88be1a9a52"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a61e833684ee5c89775e91e88be1a9a52">ClearBackground</a> ()</td></tr>
<tr class="memdesc:a61e833684ee5c89775e91e88be1a9a52"><td class="mdescLeft"> </td><td class="mdescRight">Clears the window by filling it with the current background colour. <a href="#a61e833684ee5c89775e91e88be1a9a52"></a><br/></td></tr>
<tr class="separator:a61e833684ee5c89775e91e88be1a9a52"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a15c678314cfc1d807196bc298b713ed3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a15c678314cfc1d807196bc298b713ed3">Freeze</a> ()</td></tr>
<tr class="memdesc:a15c678314cfc1d807196bc298b713ed3"><td class="mdescLeft"> </td><td class="mdescRight">Freezes the window or, in other words, prevents any updates from taking place on screen, the window is not redrawn at all. <a href="#a15c678314cfc1d807196bc298b713ed3"></a><br/></td></tr>
<tr class="separator:a15c678314cfc1d807196bc298b713ed3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a279a532124073261b28131b6afb59a1e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a279a532124073261b28131b6afb59a1e">Thaw</a> ()</td></tr>
<tr class="memdesc:a279a532124073261b28131b6afb59a1e"><td class="mdescLeft"> </td><td class="mdescRight">Re-enables window updating after a previous call to <a class="el" href="classwx_window.html#a15c678314cfc1d807196bc298b713ed3" title="Freezes the window or, in other words, prevents any updates from taking place on screen, the window is not redrawn at all.">Freeze()</a>. <a href="#a279a532124073261b28131b6afb59a1e"></a><br/></td></tr>
<tr class="separator:a279a532124073261b28131b6afb59a1e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a866c62cc23d8de88e952aad5db4d1a61"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a866c62cc23d8de88e952aad5db4d1a61">IsFrozen</a> () const </td></tr>
<tr class="memdesc:a866c62cc23d8de88e952aad5db4d1a61"><td class="mdescLeft"> </td><td class="mdescRight">Returns <span class="literal">true</span> if the window is currently frozen by a call to <a class="el" href="classwx_window.html#a15c678314cfc1d807196bc298b713ed3" title="Freezes the window or, in other words, prevents any updates from taking place on screen, the window is not redrawn at all.">Freeze()</a>. <a href="#a866c62cc23d8de88e952aad5db4d1a61"></a><br/></td></tr>
<tr class="separator:a866c62cc23d8de88e952aad5db4d1a61"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3006d98a4145b7064c1f08e39487d257"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_colour.html">wxColour</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a3006d98a4145b7064c1f08e39487d257">GetBackgroundColour</a> () const </td></tr>
<tr class="memdesc:a3006d98a4145b7064c1f08e39487d257"><td class="mdescLeft"> </td><td class="mdescRight">Returns the background colour of the window. <a href="#a3006d98a4145b7064c1f08e39487d257"></a><br/></td></tr>
<tr class="separator:a3006d98a4145b7064c1f08e39487d257"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a59047d52b88f2422bbcf01bbecdc4b7b"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="defs_8h.html#a4bc8ece80d508fd70283b5a3b4c41e5f">wxBackgroundStyle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a59047d52b88f2422bbcf01bbecdc4b7b">GetBackgroundStyle</a> () const </td></tr>
<tr class="memdesc:a59047d52b88f2422bbcf01bbecdc4b7b"><td class="mdescLeft"> </td><td class="mdescRight">Returns the background style of the window. <a href="#a59047d52b88f2422bbcf01bbecdc4b7b"></a><br/></td></tr>
<tr class="separator:a59047d52b88f2422bbcf01bbecdc4b7b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a304b4446de399b240a3fa4aa83a2e468"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a304b4446de399b240a3fa4aa83a2e468">GetCharHeight</a> () const </td></tr>
<tr class="memdesc:a304b4446de399b240a3fa4aa83a2e468"><td class="mdescLeft"> </td><td class="mdescRight">Returns the character height for this window. <a href="#a304b4446de399b240a3fa4aa83a2e468"></a><br/></td></tr>
<tr class="separator:a304b4446de399b240a3fa4aa83a2e468"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aef2745df13435e913027107cab2a6286"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#aef2745df13435e913027107cab2a6286">GetCharWidth</a> () const </td></tr>
<tr class="memdesc:aef2745df13435e913027107cab2a6286"><td class="mdescLeft"> </td><td class="mdescRight">Returns the average character width for this window. <a href="#aef2745df13435e913027107cab2a6286"></a><br/></td></tr>
<tr class="separator:aef2745df13435e913027107cab2a6286"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a24e7b8f717e91f4590d148140e853dc5"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="structwx_visual_attributes.html">wxVisualAttributes</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a24e7b8f717e91f4590d148140e853dc5">GetDefaultAttributes</a> () const </td></tr>
<tr class="memdesc:a24e7b8f717e91f4590d148140e853dc5"><td class="mdescLeft"> </td><td class="mdescRight">Currently this is the same as calling <a class="el" href="classwx_window.html#a170d85e4aa0cbacbfcdd0728120e1417" title="Returns the default font and colours which are used by the control.">wxWindow::GetClassDefaultAttributes</a>(<a class="el" href="classwx_window.html#aafcccd0d5d31651484df02453c53361c" title="Returns the value previously passed to SetWindowVariant().">wxWindow::GetWindowVariant()</a>). <a href="#a24e7b8f717e91f4590d148140e853dc5"></a><br/></td></tr>
<tr class="separator:a24e7b8f717e91f4590d148140e853dc5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0dcc6f6f7bda203a868ff10c413289fa"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_font.html">wxFont</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a0dcc6f6f7bda203a868ff10c413289fa">GetFont</a> () const </td></tr>
<tr class="memdesc:a0dcc6f6f7bda203a868ff10c413289fa"><td class="mdescLeft"> </td><td class="mdescRight">Returns the font for this window. <a href="#a0dcc6f6f7bda203a868ff10c413289fa"></a><br/></td></tr>
<tr class="separator:a0dcc6f6f7bda203a868ff10c413289fa"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acb8e9bd1c88f330bc9748255a5592964"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_colour.html">wxColour</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#acb8e9bd1c88f330bc9748255a5592964">GetForegroundColour</a> () const </td></tr>
<tr class="memdesc:acb8e9bd1c88f330bc9748255a5592964"><td class="mdescLeft"> </td><td class="mdescRight">Returns the foreground colour of the window. <a href="#acb8e9bd1c88f330bc9748255a5592964"></a><br/></td></tr>
<tr class="separator:acb8e9bd1c88f330bc9748255a5592964"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac9cd7b4472d5419e518f69311914466f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#ac9cd7b4472d5419e518f69311914466f">GetTextExtent</a> (const <a class="el" href="classwx_string.html">wxString</a> &string, int *w, int *h, int *descent=NULL, int *externalLeading=NULL, const <a class="el" href="classwx_font.html">wxFont</a> *font=NULL) const </td></tr>
<tr class="memdesc:ac9cd7b4472d5419e518f69311914466f"><td class="mdescLeft"> </td><td class="mdescRight">Gets the dimensions of the string as it would be drawn on the window with the currently selected font. <a href="#ac9cd7b4472d5419e518f69311914466f"></a><br/></td></tr>
<tr class="separator:ac9cd7b4472d5419e518f69311914466f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a79e5f88a2408871663d4ab0405cd35f6"><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_window.html#a79e5f88a2408871663d4ab0405cd35f6">GetTextExtent</a> (const <a class="el" href="classwx_string.html">wxString</a> &string) const </td></tr>
<tr class="memdesc:a79e5f88a2408871663d4ab0405cd35f6"><td class="mdescLeft"> </td><td class="mdescRight">Gets the dimensions of the string as it would be drawn on the window with the currently selected font. <a href="#a79e5f88a2408871663d4ab0405cd35f6"></a><br/></td></tr>
<tr class="separator:a79e5f88a2408871663d4ab0405cd35f6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa982adbcebfa7bc73fbae7465132115b"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classwx_region.html">wxRegion</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#aa982adbcebfa7bc73fbae7465132115b">GetUpdateRegion</a> () const </td></tr>
<tr class="memdesc:aa982adbcebfa7bc73fbae7465132115b"><td class="mdescLeft"> </td><td class="mdescRight">Returns the region specifying which parts of the window have been damaged. <a href="#aa982adbcebfa7bc73fbae7465132115b"></a><br/></td></tr>
<tr class="separator:aa982adbcebfa7bc73fbae7465132115b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7e32d9a9ffd058c931db20416bc55baa"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_rect.html">wxRect</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a7e32d9a9ffd058c931db20416bc55baa">GetUpdateClientRect</a> () const </td></tr>
<tr class="memdesc:a7e32d9a9ffd058c931db20416bc55baa"><td class="mdescLeft"> </td><td class="mdescRight">Get the update rectangle bounding box in client coords. <a href="#a7e32d9a9ffd058c931db20416bc55baa"></a><br/></td></tr>
<tr class="separator:a7e32d9a9ffd058c931db20416bc55baa"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab9cbcb6d6f4a272c2f0342e69a13b59a"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#ab9cbcb6d6f4a272c2f0342e69a13b59a">HasTransparentBackground</a> ()</td></tr>
<tr class="memdesc:ab9cbcb6d6f4a272c2f0342e69a13b59a"><td class="mdescLeft"> </td><td class="mdescRight">Returns <span class="literal">true</span> if this window background is transparent (as, for example, for <a class="el" href="classwx_static_text.html" title="A static text control displays one or more lines of read-only text.">wxStaticText</a>) and should show the parent window background. <a href="#ab9cbcb6d6f4a272c2f0342e69a13b59a"></a><br/></td></tr>
<tr class="separator:ab9cbcb6d6f4a272c2f0342e69a13b59a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a29dc7251746154c821b17841b9877830"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a29dc7251746154c821b17841b9877830">Refresh</a> (bool eraseBackground=true, const <a class="el" href="classwx_rect.html">wxRect</a> *rect=NULL)</td></tr>
<tr class="memdesc:a29dc7251746154c821b17841b9877830"><td class="mdescLeft"> </td><td class="mdescRight">Causes this window, and all of its children recursively (except under wxGTK1 where this is not implemented), to be repainted. <a href="#a29dc7251746154c821b17841b9877830"></a><br/></td></tr>
<tr class="separator:a29dc7251746154c821b17841b9877830"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab0ae6b9898cd261c39ebeb2891aa3d67"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#ab0ae6b9898cd261c39ebeb2891aa3d67">RefreshRect</a> (const <a class="el" href="classwx_rect.html">wxRect</a> &rect, bool eraseBackground=true)</td></tr>
<tr class="memdesc:ab0ae6b9898cd261c39ebeb2891aa3d67"><td class="mdescLeft"> </td><td class="mdescRight">Redraws the contents of the given rectangle: only the area inside it will be repainted. <a href="#ab0ae6b9898cd261c39ebeb2891aa3d67"></a><br/></td></tr>
<tr class="separator:ab0ae6b9898cd261c39ebeb2891aa3d67"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abaf28f1a075fd1b10f761a8febe597ec"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#abaf28f1a075fd1b10f761a8febe597ec">Update</a> ()</td></tr>
<tr class="memdesc:abaf28f1a075fd1b10f761a8febe597ec"><td class="mdescLeft"> </td><td class="mdescRight">Calling this method immediately repaints the invalidated area of the window and all of its children recursively (this normally only happens when the flow of control returns to the event loop). <a href="#abaf28f1a075fd1b10f761a8febe597ec"></a><br/></td></tr>
<tr class="separator:abaf28f1a075fd1b10f761a8febe597ec"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a37219df52734626e23401fd83b25d8a0"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a37219df52734626e23401fd83b25d8a0">SetBackgroundColour</a> (const <a class="el" href="classwx_colour.html">wxColour</a> &colour)</td></tr>
<tr class="memdesc:a37219df52734626e23401fd83b25d8a0"><td class="mdescLeft"> </td><td class="mdescRight">Sets the background colour of the window. <a href="#a37219df52734626e23401fd83b25d8a0"></a><br/></td></tr>
<tr class="separator:a37219df52734626e23401fd83b25d8a0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af14f8fd2ed2d30a9bbb5d4f9fd6594ec"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#af14f8fd2ed2d30a9bbb5d4f9fd6594ec">SetBackgroundStyle</a> (<a class="el" href="defs_8h.html#a4bc8ece80d508fd70283b5a3b4c41e5f">wxBackgroundStyle</a> style)</td></tr>
<tr class="memdesc:af14f8fd2ed2d30a9bbb5d4f9fd6594ec"><td class="mdescLeft"> </td><td class="mdescRight">Sets the background style of the window. <a href="#af14f8fd2ed2d30a9bbb5d4f9fd6594ec"></a><br/></td></tr>
<tr class="separator:af14f8fd2ed2d30a9bbb5d4f9fd6594ec"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7940d510c5bdc062a2b109a1022dd8c2"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a7940d510c5bdc062a2b109a1022dd8c2">IsTransparentBackgroundSupported</a> (<a class="el" href="classwx_string.html">wxString</a> *reason=NULL) const </td></tr>
<tr class="memdesc:a7940d510c5bdc062a2b109a1022dd8c2"><td class="mdescLeft"> </td><td class="mdescRight">Checks whether using transparent background might work. <a href="#a7940d510c5bdc062a2b109a1022dd8c2"></a><br/></td></tr>
<tr class="separator:a7940d510c5bdc062a2b109a1022dd8c2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9ab11e7da57a1d08918aa75fc33f6ad3"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a9ab11e7da57a1d08918aa75fc33f6ad3">SetFont</a> (const <a class="el" href="classwx_font.html">wxFont</a> &font)</td></tr>
<tr class="memdesc:a9ab11e7da57a1d08918aa75fc33f6ad3"><td class="mdescLeft"> </td><td class="mdescRight">Sets the font for this window. <a href="#a9ab11e7da57a1d08918aa75fc33f6ad3"></a><br/></td></tr>
<tr class="separator:a9ab11e7da57a1d08918aa75fc33f6ad3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a69f1e1c7ddd370d72e68c70f13ac8de9"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a69f1e1c7ddd370d72e68c70f13ac8de9">SetForegroundColour</a> (const <a class="el" href="classwx_colour.html">wxColour</a> &colour)</td></tr>
<tr class="memdesc:a69f1e1c7ddd370d72e68c70f13ac8de9"><td class="mdescLeft"> </td><td class="mdescRight">Sets the foreground colour of the window. <a href="#a69f1e1c7ddd370d72e68c70f13ac8de9"></a><br/></td></tr>
<tr class="separator:a69f1e1c7ddd370d72e68c70f13ac8de9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9a3f9d8477aab1d9176cd66ee56e75d9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a9a3f9d8477aab1d9176cd66ee56e75d9">SetOwnBackgroundColour</a> (const <a class="el" href="classwx_colour.html">wxColour</a> &colour)</td></tr>
<tr class="memdesc:a9a3f9d8477aab1d9176cd66ee56e75d9"><td class="mdescLeft"> </td><td class="mdescRight">Sets the background colour of the window but prevents it from being inherited by the children of this window. <a href="#a9a3f9d8477aab1d9176cd66ee56e75d9"></a><br/></td></tr>
<tr class="separator:a9a3f9d8477aab1d9176cd66ee56e75d9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aaf4873525b3bf2fc20ccb76bd0738e41"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#aaf4873525b3bf2fc20ccb76bd0738e41">InheritsBackgroundColour</a> () const </td></tr>
<tr class="memdesc:aaf4873525b3bf2fc20ccb76bd0738e41"><td class="mdescLeft"> </td><td class="mdescRight">Return <span class="literal">true</span> if this window inherits the background colour from its parent. <a href="#aaf4873525b3bf2fc20ccb76bd0738e41"></a><br/></td></tr>
<tr class="separator:aaf4873525b3bf2fc20ccb76bd0738e41"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab8b81b6d4c3294bffb6df30d2608227a"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#ab8b81b6d4c3294bffb6df30d2608227a">UseBgCol</a> () const </td></tr>
<tr class="memdesc:ab8b81b6d4c3294bffb6df30d2608227a"><td class="mdescLeft"> </td><td class="mdescRight">Return <span class="literal">true</span> if a background colour has been set for this window. <a href="#ab8b81b6d4c3294bffb6df30d2608227a"></a><br/></td></tr>
<tr class="separator:ab8b81b6d4c3294bffb6df30d2608227a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a89a4f62f23c1e7c845b8d07cecae4c43"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a89a4f62f23c1e7c845b8d07cecae4c43">SetOwnFont</a> (const <a class="el" href="classwx_font.html">wxFont</a> &font)</td></tr>
<tr class="memdesc:a89a4f62f23c1e7c845b8d07cecae4c43"><td class="mdescLeft"> </td><td class="mdescRight">Sets the font of the window but prevents it from being inherited by the children of this window. <a href="#a89a4f62f23c1e7c845b8d07cecae4c43"></a><br/></td></tr>
<tr class="separator:a89a4f62f23c1e7c845b8d07cecae4c43"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a53f4a878e4e2d440bd00543f8014aaaa"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a53f4a878e4e2d440bd00543f8014aaaa">SetOwnForegroundColour</a> (const <a class="el" href="classwx_colour.html">wxColour</a> &colour)</td></tr>
<tr class="memdesc:a53f4a878e4e2d440bd00543f8014aaaa"><td class="mdescLeft"> </td><td class="mdescRight">Sets the foreground colour of the window but prevents it from being inherited by the children of this window. <a href="#a53f4a878e4e2d440bd00543f8014aaaa"></a><br/></td></tr>
<tr class="separator:a53f4a878e4e2d440bd00543f8014aaaa"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aee57358435d6bd33f598c81354b47425"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#aee57358435d6bd33f598c81354b47425">SetPalette</a> (const <a class="el" href="classwx_palette.html">wxPalette</a> &pal)</td></tr>
<tr class="separator:aee57358435d6bd33f598c81354b47425"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0c43a27fa04f9c17cc28fde71fdba490"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a0c43a27fa04f9c17cc28fde71fdba490">ShouldInheritColours</a> () const </td></tr>
<tr class="memdesc:a0c43a27fa04f9c17cc28fde71fdba490"><td class="mdescLeft"> </td><td class="mdescRight">Return <span class="literal">true</span> from here to allow the colours of this window to be changed by <a class="el" href="classwx_window.html#a6b1bf9e099704e7a493b8c4666b1f7f7" title="This function is (or should be, in case of custom controls) called during window creation to intellig...">InheritAttributes()</a>. <a href="#a0c43a27fa04f9c17cc28fde71fdba490"></a><br/></td></tr>
<tr class="separator:a0c43a27fa04f9c17cc28fde71fdba490"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a41dd19ed8809fd8ec662e2aa2a9579c3"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a41dd19ed8809fd8ec662e2aa2a9579c3">SetThemeEnabled</a> (bool enable)</td></tr>
<tr class="memdesc:a41dd19ed8809fd8ec662e2aa2a9579c3"><td class="mdescLeft"> </td><td class="mdescRight">This function tells a window if it should use the system's "theme" code to draw the windows' background instead of its own background drawing code. <a href="#a41dd19ed8809fd8ec662e2aa2a9579c3"></a><br/></td></tr>
<tr class="separator:a41dd19ed8809fd8ec662e2aa2a9579c3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0b31a21532407cf809d73aa09f34235c"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a0b31a21532407cf809d73aa09f34235c">GetThemeEnabled</a> () const </td></tr>
<tr class="memdesc:a0b31a21532407cf809d73aa09f34235c"><td class="mdescLeft"> </td><td class="mdescRight">Clears the window by filling it with the current background colour. <a href="#a0b31a21532407cf809d73aa09f34235c"></a><br/></td></tr>
<tr class="separator:a0b31a21532407cf809d73aa09f34235c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a64f7f6fb75bf4b7281e1d33542d523c7"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a64f7f6fb75bf4b7281e1d33542d523c7">CanSetTransparent</a> ()</td></tr>
<tr class="memdesc:a64f7f6fb75bf4b7281e1d33542d523c7"><td class="mdescLeft"> </td><td class="mdescRight">Returns <span class="literal">true</span> if the system supports transparent windows and calling <a class="el" href="classwx_window.html#ac8cf4398cec50ac36634760f45a0656f" title="Set the transparency of the window.">SetTransparent()</a> may succeed. <a href="#a64f7f6fb75bf4b7281e1d33542d523c7"></a><br/></td></tr>
<tr class="separator:a64f7f6fb75bf4b7281e1d33542d523c7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac8cf4398cec50ac36634760f45a0656f"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#ac8cf4398cec50ac36634760f45a0656f">SetTransparent</a> (<a class="el" href="defs_8h.html#a02052a0390b909998c03fe2371d8e83e">wxByte</a> alpha)</td></tr>
<tr class="memdesc:ac8cf4398cec50ac36634760f45a0656f"><td class="mdescLeft"> </td><td class="mdescRight">Set the transparency of the window. <a href="#ac8cf4398cec50ac36634760f45a0656f"></a><br/></td></tr>
<tr class="separator:ac8cf4398cec50ac36634760f45a0656f"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Event-handling functions</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><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> allows you to build a (sort of) stack of event handlers which can be used to override the window's own event handling. </p>
</div></td></tr>
<tr class="memitem:a72c2454cf309f30109da3cbfe237c760"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_evt_handler.html">wxEvtHandler</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a72c2454cf309f30109da3cbfe237c760">GetEventHandler</a> () const </td></tr>
<tr class="memdesc:a72c2454cf309f30109da3cbfe237c760"><td class="mdescLeft"> </td><td class="mdescRight">Returns the event handler for this window. <a href="#a72c2454cf309f30109da3cbfe237c760"></a><br/></td></tr>
<tr class="separator:a72c2454cf309f30109da3cbfe237c760"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a89d1b079de97aac170e999692095872c"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a89d1b079de97aac170e999692095872c">HandleAsNavigationKey</a> (const <a class="el" href="classwx_key_event.html">wxKeyEvent</a> &event)</td></tr>
<tr class="memdesc:a89d1b079de97aac170e999692095872c"><td class="mdescLeft"> </td><td class="mdescRight">This function will generate the appropriate call to <a class="el" href="classwx_window.html#a86904f6785df4af6036b33383490a805" title="Performs a keyboard navigation action starting from this window.">Navigate()</a> if the key event is one normally used for keyboard navigation and return <span class="literal">true</span> in this case. <a href="#a89d1b079de97aac170e999692095872c"></a><br/></td></tr>
<tr class="separator:a89d1b079de97aac170e999692095872c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a665731bbfa46a72c215b04df60216ef1"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a665731bbfa46a72c215b04df60216ef1">HandleWindowEvent</a> (<a class="el" href="classwx_event.html">wxEvent</a> &event) const </td></tr>
<tr class="memdesc:a665731bbfa46a72c215b04df60216ef1"><td class="mdescLeft"> </td><td class="mdescRight">Shorthand for: <a href="#a665731bbfa46a72c215b04df60216ef1"></a><br/></td></tr>
<tr class="separator:a665731bbfa46a72c215b04df60216ef1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0a76891d726ad5f9a729e27e4eab2b57"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a0a76891d726ad5f9a729e27e4eab2b57">ProcessWindowEvent</a> (<a class="el" href="classwx_event.html">wxEvent</a> &event)</td></tr>
<tr class="memdesc:a0a76891d726ad5f9a729e27e4eab2b57"><td class="mdescLeft"> </td><td class="mdescRight">Convenient wrapper for <a class="el" href="classwx_window.html#a5ebdbd87c28644149a07f1742996df96" title="This function is public in wxEvtHandler but protected in wxWindow because for wxWindows you should al...">ProcessEvent()</a>. <a href="#a0a76891d726ad5f9a729e27e4eab2b57"></a><br/></td></tr>
<tr class="separator:a0a76891d726ad5f9a729e27e4eab2b57"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0a11aa4a50491d051f947e2618e52178"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a0a11aa4a50491d051f947e2618e52178">ProcessWindowEventLocally</a> (<a class="el" href="classwx_event.html">wxEvent</a> &event)</td></tr>
<tr class="memdesc:a0a11aa4a50491d051f947e2618e52178"><td class="mdescLeft"> </td><td class="mdescRight">Wrapper for <a class="el" href="classwx_evt_handler.html#ac0f5d2cb29a04c1f7f82eb6b351f79fb" title="Try to process the event in this handler and all those chained to it.">wxEvtHandler::ProcessEventLocally()</a>. <a href="#a0a11aa4a50491d051f947e2618e52178"></a><br/></td></tr>
<tr class="separator:a0a11aa4a50491d051f947e2618e52178"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac45c1f4cf96c70779764c14cf528790b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_evt_handler.html">wxEvtHandler</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#ac45c1f4cf96c70779764c14cf528790b">PopEventHandler</a> (bool deleteHandler=false)</td></tr>
<tr class="memdesc:ac45c1f4cf96c70779764c14cf528790b"><td class="mdescLeft"> </td><td class="mdescRight">Removes and returns the top-most event handler on the event handler stack. <a href="#ac45c1f4cf96c70779764c14cf528790b"></a><br/></td></tr>
<tr class="separator:ac45c1f4cf96c70779764c14cf528790b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a398c11ab9af7956067a964f560d1978c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a398c11ab9af7956067a964f560d1978c">PushEventHandler</a> (<a class="el" href="classwx_evt_handler.html">wxEvtHandler</a> *handler)</td></tr>
<tr class="memdesc:a398c11ab9af7956067a964f560d1978c"><td class="mdescLeft"> </td><td class="mdescRight">Pushes this event handler onto the event stack for the window. <a href="#a398c11ab9af7956067a964f560d1978c"></a><br/></td></tr>
<tr class="separator:a398c11ab9af7956067a964f560d1978c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aacbfe424fa527966b954229a1db96ab5"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#aacbfe424fa527966b954229a1db96ab5">RemoveEventHandler</a> (<a class="el" href="classwx_evt_handler.html">wxEvtHandler</a> *handler)</td></tr>
<tr class="memdesc:aacbfe424fa527966b954229a1db96ab5"><td class="mdescLeft"> </td><td class="mdescRight">Find the given <em>handler</em> in the windows event handler stack and removes (but does not delete) it from the stack. <a href="#aacbfe424fa527966b954229a1db96ab5"></a><br/></td></tr>
<tr class="separator:aacbfe424fa527966b954229a1db96ab5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af6c84b7679183b377ba27a52a2f708b4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#af6c84b7679183b377ba27a52a2f708b4">SetEventHandler</a> (<a class="el" href="classwx_evt_handler.html">wxEvtHandler</a> *handler)</td></tr>
<tr class="memdesc:af6c84b7679183b377ba27a52a2f708b4"><td class="mdescLeft"> </td><td class="mdescRight">Sets the event handler for this window. <a href="#af6c84b7679183b377ba27a52a2f708b4"></a><br/></td></tr>
<tr class="separator:af6c84b7679183b377ba27a52a2f708b4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aeab905f61df7004c1b76a3351dca9e96"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#aeab905f61df7004c1b76a3351dca9e96">SetNextHandler</a> (<a class="el" href="classwx_evt_handler.html">wxEvtHandler</a> *handler)</td></tr>
<tr class="memdesc:aeab905f61df7004c1b76a3351dca9e96"><td class="mdescLeft"> </td><td class="mdescRight">wxWindows cannot be used to form event handler chains; this function thus will assert when called. <a href="#aeab905f61df7004c1b76a3351dca9e96"></a><br/></td></tr>
<tr class="separator:aeab905f61df7004c1b76a3351dca9e96"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a07f5f7ed3f78e0ef7b3dee3f4da81001"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a07f5f7ed3f78e0ef7b3dee3f4da81001">SetPreviousHandler</a> (<a class="el" href="classwx_evt_handler.html">wxEvtHandler</a> *handler)</td></tr>
<tr class="memdesc:a07f5f7ed3f78e0ef7b3dee3f4da81001"><td class="mdescLeft"> </td><td class="mdescRight">wxWindows cannot be used to form event handler chains; this function thus will assert when called. <a href="#a07f5f7ed3f78e0ef7b3dee3f4da81001"></a><br/></td></tr>
<tr class="separator:a07f5f7ed3f78e0ef7b3dee3f4da81001"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Window styles functions</div></td></tr>
<tr class="memitem:a8da0e59017af368c062f11c9abe2c667"><td class="memItemLeft" align="right" valign="top">long </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a8da0e59017af368c062f11c9abe2c667">GetExtraStyle</a> () const </td></tr>
<tr class="memdesc:a8da0e59017af368c062f11c9abe2c667"><td class="mdescLeft"> </td><td class="mdescRight">Returns the extra style bits for the window. <a href="#a8da0e59017af368c062f11c9abe2c667"></a><br/></td></tr>
<tr class="separator:a8da0e59017af368c062f11c9abe2c667"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0a0e81677bf2f0de5982a634e11d9a69"><td class="memItemLeft" align="right" valign="top">virtual long </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a0a0e81677bf2f0de5982a634e11d9a69">GetWindowStyleFlag</a> () const </td></tr>
<tr class="memdesc:a0a0e81677bf2f0de5982a634e11d9a69"><td class="mdescLeft"> </td><td class="mdescRight">Gets the window style that was passed to the constructor or <a class="el" href="classwx_window.html#a95b7ca8faa033f5ab35458887c07bf38">Create()</a> method. <a href="#a0a0e81677bf2f0de5982a634e11d9a69"></a><br/></td></tr>
<tr class="separator:a0a0e81677bf2f0de5982a634e11d9a69"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a994147d8294bd7d5a32c825d5692af28"><td class="memItemLeft" align="right" valign="top">long </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a994147d8294bd7d5a32c825d5692af28">GetWindowStyle</a> () const </td></tr>
<tr class="memdesc:a994147d8294bd7d5a32c825d5692af28"><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="classwx_window.html#a0a0e81677bf2f0de5982a634e11d9a69" title="Gets the window style that was passed to the constructor or Create() method.">GetWindowStyleFlag()</a> for more info. <a href="#a994147d8294bd7d5a32c825d5692af28"></a><br/></td></tr>
<tr class="separator:a994147d8294bd7d5a32c825d5692af28"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae30b415c1ef526563161efea5b78d640"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#ae30b415c1ef526563161efea5b78d640">HasExtraStyle</a> (int exFlag) const </td></tr>
<tr class="memdesc:ae30b415c1ef526563161efea5b78d640"><td class="mdescLeft"> </td><td class="mdescRight">Returns <span class="literal">true</span> if the window has the given <em>exFlag</em> bit set in its extra styles. <a href="#ae30b415c1ef526563161efea5b78d640"></a><br/></td></tr>
<tr class="separator:ae30b415c1ef526563161efea5b78d640"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a62ba2fb9be6422bf06bb7db5871d551f"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a62ba2fb9be6422bf06bb7db5871d551f">HasFlag</a> (int flag) const </td></tr>
<tr class="memdesc:a62ba2fb9be6422bf06bb7db5871d551f"><td class="mdescLeft"> </td><td class="mdescRight">Returns <span class="literal">true</span> if the window has the given <em>flag</em> bit set. <a href="#a62ba2fb9be6422bf06bb7db5871d551f"></a><br/></td></tr>
<tr class="separator:a62ba2fb9be6422bf06bb7db5871d551f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae9655f7c35ce7ac89cac2f6c0054b103"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#ae9655f7c35ce7ac89cac2f6c0054b103">SetExtraStyle</a> (long exStyle)</td></tr>
<tr class="memdesc:ae9655f7c35ce7ac89cac2f6c0054b103"><td class="mdescLeft"> </td><td class="mdescRight">Sets the extra style bits for the window. <a href="#ae9655f7c35ce7ac89cac2f6c0054b103"></a><br/></td></tr>
<tr class="separator:ae9655f7c35ce7ac89cac2f6c0054b103"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aee2cf342f80523432e7f2299d299451b"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#aee2cf342f80523432e7f2299d299451b">SetWindowStyleFlag</a> (long style)</td></tr>
<tr class="memdesc:aee2cf342f80523432e7f2299d299451b"><td class="mdescLeft"> </td><td class="mdescRight">Sets the style of the window. <a href="#aee2cf342f80523432e7f2299d299451b"></a><br/></td></tr>
<tr class="separator:aee2cf342f80523432e7f2299d299451b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a306af30adec68689f74ed537b4f9d5fd"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a306af30adec68689f74ed537b4f9d5fd">SetWindowStyle</a> (long style)</td></tr>
<tr class="memdesc:a306af30adec68689f74ed537b4f9d5fd"><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="classwx_window.html#aee2cf342f80523432e7f2299d299451b" title="Sets the style of the window.">SetWindowStyleFlag()</a> for more info. <a href="#a306af30adec68689f74ed537b4f9d5fd"></a><br/></td></tr>
<tr class="separator:a306af30adec68689f74ed537b4f9d5fd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8a4fa47129de552bfec37db8c69688a2"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a8a4fa47129de552bfec37db8c69688a2">ToggleWindowStyle</a> (int flag)</td></tr>
<tr class="memdesc:a8a4fa47129de552bfec37db8c69688a2"><td class="mdescLeft"> </td><td class="mdescRight">Turns the given <em>flag</em> on if it's currently turned off and vice versa. <a href="#a8a4fa47129de552bfec37db8c69688a2"></a><br/></td></tr>
<tr class="separator:a8a4fa47129de552bfec37db8c69688a2"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Tab order functions</div></td></tr>
<tr class="memitem:a79e66079125e8420de269811bdb6f2b6"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a79e66079125e8420de269811bdb6f2b6">MoveAfterInTabOrder</a> (<a class="el" href="classwx_window.html">wxWindow</a> *win)</td></tr>
<tr class="memdesc:a79e66079125e8420de269811bdb6f2b6"><td class="mdescLeft"> </td><td class="mdescRight">Moves this window in the tab navigation order after the specified <em>win</em>. <a href="#a79e66079125e8420de269811bdb6f2b6"></a><br/></td></tr>
<tr class="separator:a79e66079125e8420de269811bdb6f2b6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af2b92f61cd9f9e2e0efe4cce307e25b1"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#af2b92f61cd9f9e2e0efe4cce307e25b1">MoveBeforeInTabOrder</a> (<a class="el" href="classwx_window.html">wxWindow</a> *win)</td></tr>
<tr class="memdesc:af2b92f61cd9f9e2e0efe4cce307e25b1"><td class="mdescLeft"> </td><td class="mdescRight">Same as <a class="el" href="classwx_window.html#a79e66079125e8420de269811bdb6f2b6" title="Moves this window in the tab navigation order after the specified win.">MoveAfterInTabOrder()</a> except that it inserts this window just before <em>win</em> instead of putting it right after it. <a href="#af2b92f61cd9f9e2e0efe4cce307e25b1"></a><br/></td></tr>
<tr class="separator:af2b92f61cd9f9e2e0efe4cce307e25b1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a86904f6785df4af6036b33383490a805"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a86904f6785df4af6036b33383490a805">Navigate</a> (int flags=<a class="el" href="classwx_navigation_key_event.html#afba5af727118cf1e63998282c307ba21a225d9ac21e815524d56648d47a1cbda4">wxNavigationKeyEvent::IsForward</a>)</td></tr>
<tr class="memdesc:a86904f6785df4af6036b33383490a805"><td class="mdescLeft"> </td><td class="mdescRight">Performs a keyboard navigation action starting from this window. <a href="#a86904f6785df4af6036b33383490a805"></a><br/></td></tr>
<tr class="separator:a86904f6785df4af6036b33383490a805"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa58039c8fc65e19160becf510ee1d1d5"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#aa58039c8fc65e19160becf510ee1d1d5">NavigateIn</a> (int flags=<a class="el" href="classwx_navigation_key_event.html#afba5af727118cf1e63998282c307ba21a225d9ac21e815524d56648d47a1cbda4">wxNavigationKeyEvent::IsForward</a>)</td></tr>
<tr class="memdesc:aa58039c8fc65e19160becf510ee1d1d5"><td class="mdescLeft"> </td><td class="mdescRight">Performs a keyboard navigation action inside this window. <a href="#aa58039c8fc65e19160becf510ee1d1d5"></a><br/></td></tr>
<tr class="separator:aa58039c8fc65e19160becf510ee1d1d5"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Z order functions</div></td></tr>
<tr class="memitem:a124944524f36b71385dad8fddaad8ded"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a124944524f36b71385dad8fddaad8ded">Lower</a> ()</td></tr>
<tr class="memdesc:a124944524f36b71385dad8fddaad8ded"><td class="mdescLeft"> </td><td class="mdescRight">Lowers the window to the bottom of the window hierarchy (Z-order). <a href="#a124944524f36b71385dad8fddaad8ded"></a><br/></td></tr>
<tr class="separator:a124944524f36b71385dad8fddaad8ded"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a54808c933f22a891c5db646f6209fa4d"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a54808c933f22a891c5db646f6209fa4d">Raise</a> ()</td></tr>
<tr class="memdesc:a54808c933f22a891c5db646f6209fa4d"><td class="mdescLeft"> </td><td class="mdescRight">Raises the window to the top of the window hierarchy (Z-order). <a href="#a54808c933f22a891c5db646f6209fa4d"></a><br/></td></tr>
<tr class="separator:a54808c933f22a891c5db646f6209fa4d"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Window status functions</div></td></tr>
<tr class="memitem:a7ed103df04014cb3c59c6a3fb4d95328"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a7ed103df04014cb3c59c6a3fb4d95328">Hide</a> ()</td></tr>
<tr class="memdesc:a7ed103df04014cb3c59c6a3fb4d95328"><td class="mdescLeft"> </td><td class="mdescRight">Equivalent to calling <a class="el" href="classwx_window.html#a7fbc92ce240a8d4f6956b6e0276ef07f" title="Shows or hides the window.">wxWindow::Show</a>(<span class="literal">false</span>). <a href="#a7ed103df04014cb3c59c6a3fb4d95328"></a><br/></td></tr>
<tr class="separator:a7ed103df04014cb3c59c6a3fb4d95328"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5326fbb26557a224507a1c06e5640e89"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a5326fbb26557a224507a1c06e5640e89">HideWithEffect</a> (<a class="el" href="window_8h.html#a49efebddb5cf706e0eb819b434bdf918">wxShowEffect</a> effect, unsigned int timeout=0)</td></tr>
<tr class="memdesc:a5326fbb26557a224507a1c06e5640e89"><td class="mdescLeft"> </td><td class="mdescRight">This function hides a window, like <a class="el" href="classwx_window.html#a7ed103df04014cb3c59c6a3fb4d95328" title="Equivalent to calling wxWindow::Show(false).">Hide()</a>, but using a special visual effect if possible. <a href="#a5326fbb26557a224507a1c06e5640e89"></a><br/></td></tr>
<tr class="separator:a5326fbb26557a224507a1c06e5640e89"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a59452a5bd42f5ea4b31d7fc4aa59644f"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a59452a5bd42f5ea4b31d7fc4aa59644f">IsEnabled</a> () const </td></tr>
<tr class="memdesc:a59452a5bd42f5ea4b31d7fc4aa59644f"><td class="mdescLeft"> </td><td class="mdescRight">Returns <span class="literal">true</span> if the window is enabled, i.e. if it accepts user input, <span class="literal">false</span> otherwise. <a href="#a59452a5bd42f5ea4b31d7fc4aa59644f"></a><br/></td></tr>
<tr class="separator:a59452a5bd42f5ea4b31d7fc4aa59644f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af27ef77c913e32050543f3b0ca435a0d"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#af27ef77c913e32050543f3b0ca435a0d">IsExposed</a> (int x, int y) const </td></tr>
<tr class="memdesc:af27ef77c913e32050543f3b0ca435a0d"><td class="mdescLeft"> </td><td class="mdescRight">Returns <span class="literal">true</span> if the given point or rectangle area has been exposed since the last repaint. <a href="#af27ef77c913e32050543f3b0ca435a0d"></a><br/></td></tr>
<tr class="separator:af27ef77c913e32050543f3b0ca435a0d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a31af79f647cbec4950ce31620db51753"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a31af79f647cbec4950ce31620db51753">IsExposed</a> (<a class="el" href="classwx_point.html">wxPoint</a> &pt) const </td></tr>
<tr class="memdesc:a31af79f647cbec4950ce31620db51753"><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="#a31af79f647cbec4950ce31620db51753"></a><br/></td></tr>
<tr class="separator:a31af79f647cbec4950ce31620db51753"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4a23e724619ec070f7d5c45ba21529d5"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a4a23e724619ec070f7d5c45ba21529d5">IsExposed</a> (int x, int y, int w, int h) const </td></tr>
<tr class="memdesc:a4a23e724619ec070f7d5c45ba21529d5"><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="#a4a23e724619ec070f7d5c45ba21529d5"></a><br/></td></tr>
<tr class="separator:a4a23e724619ec070f7d5c45ba21529d5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4da9a2d13534535aaf7b45200ee8728e"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a4da9a2d13534535aaf7b45200ee8728e">IsExposed</a> (<a class="el" href="classwx_rect.html">wxRect</a> &rect) const </td></tr>
<tr class="memdesc:a4da9a2d13534535aaf7b45200ee8728e"><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="#a4da9a2d13534535aaf7b45200ee8728e"></a><br/></td></tr>
<tr class="separator:a4da9a2d13534535aaf7b45200ee8728e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a95af3a39aa422580dae156ed281a7e88"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a95af3a39aa422580dae156ed281a7e88">IsShown</a> () const </td></tr>
<tr class="memdesc:a95af3a39aa422580dae156ed281a7e88"><td class="mdescLeft"> </td><td class="mdescRight">Returns <span class="literal">true</span> if the window is shown, <span class="literal">false</span> if it has been hidden. <a href="#a95af3a39aa422580dae156ed281a7e88"></a><br/></td></tr>
<tr class="separator:a95af3a39aa422580dae156ed281a7e88"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a72d70fd14e3565bf782fbcd3271d8930"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a72d70fd14e3565bf782fbcd3271d8930">IsShownOnScreen</a> () const </td></tr>
<tr class="memdesc:a72d70fd14e3565bf782fbcd3271d8930"><td class="mdescLeft"> </td><td class="mdescRight">Returns <span class="literal">true</span> if the window is physically visible on the screen, i.e. it is shown and all its parents up to the toplevel window are shown as well. <a href="#a72d70fd14e3565bf782fbcd3271d8930"></a><br/></td></tr>
<tr class="separator:a72d70fd14e3565bf782fbcd3271d8930"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a26d7329a9a753fa0445501f01f66c41e"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a26d7329a9a753fa0445501f01f66c41e">Disable</a> ()</td></tr>
<tr class="memdesc:a26d7329a9a753fa0445501f01f66c41e"><td class="mdescLeft"> </td><td class="mdescRight">Disables the window. <a href="#a26d7329a9a753fa0445501f01f66c41e"></a><br/></td></tr>
<tr class="separator:a26d7329a9a753fa0445501f01f66c41e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4e933aa891f42fbb3b87438057c573af"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a4e933aa891f42fbb3b87438057c573af">Enable</a> (bool enable=true)</td></tr>
<tr class="memdesc:a4e933aa891f42fbb3b87438057c573af"><td class="mdescLeft"> </td><td class="mdescRight">Enable or disable the window for user input. <a href="#a4e933aa891f42fbb3b87438057c573af"></a><br/></td></tr>
<tr class="separator:a4e933aa891f42fbb3b87438057c573af"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7fbc92ce240a8d4f6956b6e0276ef07f"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a7fbc92ce240a8d4f6956b6e0276ef07f">Show</a> (bool show=true)</td></tr>
<tr class="memdesc:a7fbc92ce240a8d4f6956b6e0276ef07f"><td class="mdescLeft"> </td><td class="mdescRight">Shows or hides the window. <a href="#a7fbc92ce240a8d4f6956b6e0276ef07f"></a><br/></td></tr>
<tr class="separator:a7fbc92ce240a8d4f6956b6e0276ef07f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a596b1715edfc7609f352b2e000ecbaec"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a596b1715edfc7609f352b2e000ecbaec">ShowWithEffect</a> (<a class="el" href="window_8h.html#a49efebddb5cf706e0eb819b434bdf918">wxShowEffect</a> effect, unsigned int timeout=0)</td></tr>
<tr class="memdesc:a596b1715edfc7609f352b2e000ecbaec"><td class="mdescLeft"> </td><td class="mdescRight">This function shows a window, like <a class="el" href="classwx_window.html#a7fbc92ce240a8d4f6956b6e0276ef07f" title="Shows or hides the window.">Show()</a>, but using a special visual effect if possible. <a href="#a596b1715edfc7609f352b2e000ecbaec"></a><br/></td></tr>
<tr class="separator:a596b1715edfc7609f352b2e000ecbaec"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Context-sensitive help functions</div></td></tr>
<tr class="memitem:a77f8a4bbee228ed333af2e6a06509cff"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a77f8a4bbee228ed333af2e6a06509cff">GetHelpText</a> () const </td></tr>
<tr class="memdesc:a77f8a4bbee228ed333af2e6a06509cff"><td class="mdescLeft"> </td><td class="mdescRight">Gets the help text to be used as context-sensitive help for this window. <a href="#a77f8a4bbee228ed333af2e6a06509cff"></a><br/></td></tr>
<tr class="separator:a77f8a4bbee228ed333af2e6a06509cff"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4c1a2cbc7363237b3a7c70af4e702c72"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a4c1a2cbc7363237b3a7c70af4e702c72">SetHelpText</a> (const <a class="el" href="classwx_string.html">wxString</a> &helpText)</td></tr>
<tr class="memdesc:a4c1a2cbc7363237b3a7c70af4e702c72"><td class="mdescLeft"> </td><td class="mdescRight">Sets the help text to be used as context-sensitive help for this window. <a href="#a4c1a2cbc7363237b3a7c70af4e702c72"></a><br/></td></tr>
<tr class="separator:a4c1a2cbc7363237b3a7c70af4e702c72"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afa448f4e01bedc4a5e3d4324929e5d5d"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#afa448f4e01bedc4a5e3d4324929e5d5d">GetHelpTextAtPoint</a> (const <a class="el" href="classwx_point.html">wxPoint</a> &point, <a class="el" href="classwx_help_event.html#a29fe3ca1a548472f0abd0ae94b5def0c">wxHelpEvent::Origin</a> origin) const </td></tr>
<tr class="memdesc:afa448f4e01bedc4a5e3d4324929e5d5d"><td class="mdescLeft"> </td><td class="mdescRight">Gets the help text to be used as context-sensitive help for this window. <a href="#afa448f4e01bedc4a5e3d4324929e5d5d"></a><br/></td></tr>
<tr class="separator:afa448f4e01bedc4a5e3d4324929e5d5d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aae94155ccf8a6e4e72ad08527c89ba89"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_tool_tip.html">wxToolTip</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#aae94155ccf8a6e4e72ad08527c89ba89">GetToolTip</a> () const </td></tr>
<tr class="memdesc:aae94155ccf8a6e4e72ad08527c89ba89"><td class="mdescLeft"> </td><td class="mdescRight">Get the associated tooltip or <span class="literal">NULL</span> if none. <a href="#aae94155ccf8a6e4e72ad08527c89ba89"></a><br/></td></tr>
<tr class="separator:aae94155ccf8a6e4e72ad08527c89ba89"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad1a9c53c8e7e5010874f15b8ff4a6568"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#ad1a9c53c8e7e5010874f15b8ff4a6568">GetToolTipText</a> () const </td></tr>
<tr class="memdesc:ad1a9c53c8e7e5010874f15b8ff4a6568"><td class="mdescLeft"> </td><td class="mdescRight">Get the text of the associated tooltip or empty string if none. <a href="#ad1a9c53c8e7e5010874f15b8ff4a6568"></a><br/></td></tr>
<tr class="separator:ad1a9c53c8e7e5010874f15b8ff4a6568"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a81a9fb74e3c6c7f4416e882f5e589b8c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a81a9fb74e3c6c7f4416e882f5e589b8c">SetToolTip</a> (const <a class="el" href="classwx_string.html">wxString</a> &tipString)</td></tr>
<tr class="memdesc:a81a9fb74e3c6c7f4416e882f5e589b8c"><td class="mdescLeft"> </td><td class="mdescRight">Attach a tooltip to the window. <a href="#a81a9fb74e3c6c7f4416e882f5e589b8c"></a><br/></td></tr>
<tr class="separator:a81a9fb74e3c6c7f4416e882f5e589b8c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a494e0b7cfca9299caa40e847767e7357"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a494e0b7cfca9299caa40e847767e7357">SetToolTip</a> (<a class="el" href="classwx_tool_tip.html">wxToolTip</a> *tip)</td></tr>
<tr class="memdesc:a494e0b7cfca9299caa40e847767e7357"><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="#a494e0b7cfca9299caa40e847767e7357"></a><br/></td></tr>
<tr class="separator:a494e0b7cfca9299caa40e847767e7357"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae75712451673658b0a533480bf5eeaa4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#ae75712451673658b0a533480bf5eeaa4">UnsetToolTip</a> ()</td></tr>
<tr class="memdesc:ae75712451673658b0a533480bf5eeaa4"><td class="mdescLeft"> </td><td class="mdescRight">Unset any existing tooltip. <a href="#ae75712451673658b0a533480bf5eeaa4"></a><br/></td></tr>
<tr class="separator:ae75712451673658b0a533480bf5eeaa4"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Popup/context menu functions</div></td></tr>
<tr class="memitem:a9b7de6ea85ca926b668ba0682a61a93e"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a9b7de6ea85ca926b668ba0682a61a93e">GetPopupMenuSelectionFromUser</a> (<a class="el" href="classwx_menu.html">wxMenu</a> &menu, const <a class="el" href="classwx_point.html">wxPoint</a> &pos=<a class="el" href="gdicmn_8h.html#af5a90c753eaf3d3e3e5068a19ec3c1d0">wxDefaultPosition</a>)</td></tr>
<tr class="memdesc:a9b7de6ea85ca926b668ba0682a61a93e"><td class="mdescLeft"> </td><td class="mdescRight">This function shows a popup menu at the given position in this window and returns the selected id. <a href="#a9b7de6ea85ca926b668ba0682a61a93e"></a><br/></td></tr>
<tr class="separator:a9b7de6ea85ca926b668ba0682a61a93e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a00f5cb3cac003205317a565a33d4bb27"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a00f5cb3cac003205317a565a33d4bb27">GetPopupMenuSelectionFromUser</a> (<a class="el" href="classwx_menu.html">wxMenu</a> &menu, int x, int y)</td></tr>
<tr class="memdesc:a00f5cb3cac003205317a565a33d4bb27"><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="#a00f5cb3cac003205317a565a33d4bb27"></a><br/></td></tr>
<tr class="separator:a00f5cb3cac003205317a565a33d4bb27"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8f715d238cf74a845488b0e2645e98df"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a8f715d238cf74a845488b0e2645e98df">PopupMenu</a> (<a class="el" href="classwx_menu.html">wxMenu</a> *menu, const <a class="el" href="classwx_point.html">wxPoint</a> &pos=<a class="el" href="gdicmn_8h.html#af5a90c753eaf3d3e3e5068a19ec3c1d0">wxDefaultPosition</a>)</td></tr>
<tr class="memdesc:a8f715d238cf74a845488b0e2645e98df"><td class="mdescLeft"> </td><td class="mdescRight">Pops up the given menu at the specified coordinates, relative to this window, and returns control when the user has dismissed the menu. <a href="#a8f715d238cf74a845488b0e2645e98df"></a><br/></td></tr>
<tr class="separator:a8f715d238cf74a845488b0e2645e98df"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a834bcdfd41f5e5370ebd9ea401c92900"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a834bcdfd41f5e5370ebd9ea401c92900">PopupMenu</a> (<a class="el" href="classwx_menu.html">wxMenu</a> *menu, int x, int y)</td></tr>
<tr class="memdesc:a834bcdfd41f5e5370ebd9ea401c92900"><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="#a834bcdfd41f5e5370ebd9ea401c92900"></a><br/></td></tr>
<tr class="separator:a834bcdfd41f5e5370ebd9ea401c92900"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr class="memitem:a6a332586346cb9ece4a8fe058a7b88c4"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_validator.html">wxValidator</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a6a332586346cb9ece4a8fe058a7b88c4">GetValidator</a> ()</td></tr>
<tr class="memdesc:a6a332586346cb9ece4a8fe058a7b88c4"><td class="mdescLeft"> </td><td class="mdescRight">Validator functions. <a href="#a6a332586346cb9ece4a8fe058a7b88c4"></a><br/></td></tr>
<tr class="separator:a6a332586346cb9ece4a8fe058a7b88c4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a00066c70049a7be3ce6b648d206e6432"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a00066c70049a7be3ce6b648d206e6432">SetValidator</a> (const <a class="el" href="classwx_validator.html">wxValidator</a> &validator)</td></tr>
<tr class="memdesc:a00066c70049a7be3ce6b648d206e6432"><td class="mdescLeft"> </td><td class="mdescRight">Deletes the current validator (if any) and sets the window validator, having called <a class="el" href="classwx_validator.html#a25a4e0250afe9451059fd7a967c4883f" title="All validator classes must implement the Clone() function, which returns an identical copy of itself...">wxValidator::Clone</a> to create a new validator of this type. <a href="#a00066c70049a7be3ce6b648d206e6432"></a><br/></td></tr>
<tr class="separator:a00066c70049a7be3ce6b648d206e6432"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab8e51f36e7d8790b361c8d8c6f37b1ad"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#ab8e51f36e7d8790b361c8d8c6f37b1ad">TransferDataFromWindow</a> ()</td></tr>
<tr class="memdesc:ab8e51f36e7d8790b361c8d8c6f37b1ad"><td class="mdescLeft"> </td><td class="mdescRight">Transfers values from child controls to data areas specified by their validators. <a href="#ab8e51f36e7d8790b361c8d8c6f37b1ad"></a><br/></td></tr>
<tr class="separator:ab8e51f36e7d8790b361c8d8c6f37b1ad"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a88cc65e424a129d9b0057756cdb67ec9"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a88cc65e424a129d9b0057756cdb67ec9">TransferDataToWindow</a> ()</td></tr>
<tr class="memdesc:a88cc65e424a129d9b0057756cdb67ec9"><td class="mdescLeft"> </td><td class="mdescRight">Transfers values to child controls from data areas specified by their validators. <a href="#a88cc65e424a129d9b0057756cdb67ec9"></a><br/></td></tr>
<tr class="separator:a88cc65e424a129d9b0057756cdb67ec9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac87f253253a0c5eb498871c83afa40fd"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#ac87f253253a0c5eb498871c83afa40fd">Validate</a> ()</td></tr>
<tr class="memdesc:ac87f253253a0c5eb498871c83afa40fd"><td class="mdescLeft"> </td><td class="mdescRight">Validates the current values of the child controls using their validators. <a href="#ac87f253253a0c5eb498871c83afa40fd"></a><br/></td></tr>
<tr class="separator:ac87f253253a0c5eb498871c83afa40fd"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">wxWindow properties functions</div></td></tr>
<tr class="memitem:a4633b6ad527c921598f55af5274156f0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="windowid_8h.html#ae8091432cc2cb2485d45f2302fb51133">wxWindowID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a4633b6ad527c921598f55af5274156f0">GetId</a> () const </td></tr>
<tr class="memdesc:a4633b6ad527c921598f55af5274156f0"><td class="mdescLeft"> </td><td class="mdescRight">Returns the identifier of the window. <a href="#a4633b6ad527c921598f55af5274156f0"></a><br/></td></tr>
<tr class="separator:a4633b6ad527c921598f55af5274156f0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a87fc676546f2ab837342b2e164dd52f0"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a87fc676546f2ab837342b2e164dd52f0">GetLabel</a> () const </td></tr>
<tr class="memdesc:a87fc676546f2ab837342b2e164dd52f0"><td class="mdescLeft"> </td><td class="mdescRight">Generic way of getting a label from any window, for identification purposes. <a href="#a87fc676546f2ab837342b2e164dd52f0"></a><br/></td></tr>
<tr class="separator:a87fc676546f2ab837342b2e164dd52f0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0a624f5fad4a603d58ffe94b058d4dda"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="intl_8h.html#a7e30efec05ef9b40b1750ac046400c81">wxLayoutDirection</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a0a624f5fad4a603d58ffe94b058d4dda">GetLayoutDirection</a> () const </td></tr>
<tr class="memdesc:a0a624f5fad4a603d58ffe94b058d4dda"><td class="mdescLeft"> </td><td class="mdescRight">Returns the layout direction for this window, Note that <code>wxLayout_Default</code> is returned if layout direction is not supported. <a href="#a0a624f5fad4a603d58ffe94b058d4dda"></a><br/></td></tr>
<tr class="separator:a0a624f5fad4a603d58ffe94b058d4dda"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa48188539f128689a3286a058f0394a8"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#aa48188539f128689a3286a058f0394a8">AdjustForLayoutDirection</a> (<a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> x, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> width, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> widthTotal) const </td></tr>
<tr class="memdesc:aa48188539f128689a3286a058f0394a8"><td class="mdescLeft"> </td><td class="mdescRight">Mirror coordinates for RTL layout if this window uses it and if the mirroring is not done automatically like Win32. <a href="#aa48188539f128689a3286a058f0394a8"></a><br/></td></tr>
<tr class="separator:aa48188539f128689a3286a058f0394a8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aab1b302c4bdabd134ce8d401dbaaf990"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#aab1b302c4bdabd134ce8d401dbaaf990">GetName</a> () const </td></tr>
<tr class="memdesc:aab1b302c4bdabd134ce8d401dbaaf990"><td class="mdescLeft"> </td><td class="mdescRight">Returns the window's name. <a href="#aab1b302c4bdabd134ce8d401dbaaf990"></a><br/></td></tr>
<tr class="separator:aab1b302c4bdabd134ce8d401dbaaf990"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aafcccd0d5d31651484df02453c53361c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="window_8h.html#a879bccd2c987fedf06030a8abcbba8ac">wxWindowVariant</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#aafcccd0d5d31651484df02453c53361c">GetWindowVariant</a> () const </td></tr>
<tr class="memdesc:aafcccd0d5d31651484df02453c53361c"><td class="mdescLeft"> </td><td class="mdescRight">Returns the value previously passed to <a class="el" href="classwx_window.html#acd955418c336e73b3e32cadf1ca46e29" title="Chooses a different variant of the window display to use.">SetWindowVariant()</a>. <a href="#aafcccd0d5d31651484df02453c53361c"></a><br/></td></tr>
<tr class="separator:aafcccd0d5d31651484df02453c53361c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7f27d0faed14effa013381bdc40e1bcd"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a7f27d0faed14effa013381bdc40e1bcd">SetId</a> (<a class="el" href="windowid_8h.html#ae8091432cc2cb2485d45f2302fb51133">wxWindowID</a> winid)</td></tr>
<tr class="memdesc:a7f27d0faed14effa013381bdc40e1bcd"><td class="mdescLeft"> </td><td class="mdescRight">Sets the identifier of the window. <a href="#a7f27d0faed14effa013381bdc40e1bcd"></a><br/></td></tr>
<tr class="separator:a7f27d0faed14effa013381bdc40e1bcd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa00ffea9f53587f29ae343adde033b8e"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#aa00ffea9f53587f29ae343adde033b8e">SetLabel</a> (const <a class="el" href="classwx_string.html">wxString</a> &label)</td></tr>
<tr class="memdesc:aa00ffea9f53587f29ae343adde033b8e"><td class="mdescLeft"> </td><td class="mdescRight">Sets the window's label. <a href="#aa00ffea9f53587f29ae343adde033b8e"></a><br/></td></tr>
<tr class="separator:aa00ffea9f53587f29ae343adde033b8e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7d494549f7fcfed44af95f8ee364c1f9"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a7d494549f7fcfed44af95f8ee364c1f9">SetLayoutDirection</a> (<a class="el" href="intl_8h.html#a7e30efec05ef9b40b1750ac046400c81">wxLayoutDirection</a> dir)</td></tr>
<tr class="memdesc:a7d494549f7fcfed44af95f8ee364c1f9"><td class="mdescLeft"> </td><td class="mdescRight">Sets the layout direction for this window. <a href="#a7d494549f7fcfed44af95f8ee364c1f9"></a><br/></td></tr>
<tr class="separator:a7d494549f7fcfed44af95f8ee364c1f9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af80875cda5e1af98dcd7c8e712e3c800"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#af80875cda5e1af98dcd7c8e712e3c800">SetName</a> (const <a class="el" href="classwx_string.html">wxString</a> &name)</td></tr>
<tr class="memdesc:af80875cda5e1af98dcd7c8e712e3c800"><td class="mdescLeft"> </td><td class="mdescRight">Sets the window's name. <a href="#af80875cda5e1af98dcd7c8e712e3c800"></a><br/></td></tr>
<tr class="separator:af80875cda5e1af98dcd7c8e712e3c800"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acd955418c336e73b3e32cadf1ca46e29"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#acd955418c336e73b3e32cadf1ca46e29">SetWindowVariant</a> (<a class="el" href="window_8h.html#a879bccd2c987fedf06030a8abcbba8ac">wxWindowVariant</a> variant)</td></tr>
<tr class="memdesc:acd955418c336e73b3e32cadf1ca46e29"><td class="mdescLeft"> </td><td class="mdescRight">Chooses a different variant of the window display to use. <a href="#acd955418c336e73b3e32cadf1ca46e29"></a><br/></td></tr>
<tr class="separator:acd955418c336e73b3e32cadf1ca46e29"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aefc02d7275010ebb8d5b66569e7287c4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_accelerator_table.html">wxAcceleratorTable</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#aefc02d7275010ebb8d5b66569e7287c4">GetAcceleratorTable</a> ()</td></tr>
<tr class="memdesc:aefc02d7275010ebb8d5b66569e7287c4"><td class="mdescLeft"> </td><td class="mdescRight">Gets the accelerator table for this window. <a href="#aefc02d7275010ebb8d5b66569e7287c4"></a><br/></td></tr>
<tr class="separator:aefc02d7275010ebb8d5b66569e7287c4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae0469b554e9c501b356b3ed4b6d8a3af"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_accessible.html">wxAccessible</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#ae0469b554e9c501b356b3ed4b6d8a3af">GetAccessible</a> ()</td></tr>
<tr class="memdesc:ae0469b554e9c501b356b3ed4b6d8a3af"><td class="mdescLeft"> </td><td class="mdescRight">Returns the accessible object for this window, if any. <a href="#ae0469b554e9c501b356b3ed4b6d8a3af"></a><br/></td></tr>
<tr class="separator:ae0469b554e9c501b356b3ed4b6d8a3af"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0af5e9aa4dee6a4e92c0700f92605642"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a0af5e9aa4dee6a4e92c0700f92605642">SetAcceleratorTable</a> (const <a class="el" href="classwx_accelerator_table.html">wxAcceleratorTable</a> &accel)</td></tr>
<tr class="memdesc:a0af5e9aa4dee6a4e92c0700f92605642"><td class="mdescLeft"> </td><td class="mdescRight">Sets the accelerator table for this window. <a href="#a0af5e9aa4dee6a4e92c0700f92605642"></a><br/></td></tr>
<tr class="separator:a0af5e9aa4dee6a4e92c0700f92605642"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a413220ead41f05a2ec2cfe10b3d573df"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a413220ead41f05a2ec2cfe10b3d573df">SetAccessible</a> (<a class="el" href="classwx_accessible.html">wxAccessible</a> *accessible)</td></tr>
<tr class="memdesc:a413220ead41f05a2ec2cfe10b3d573df"><td class="mdescLeft"> </td><td class="mdescRight">Sets the accessible for this window. <a href="#a413220ead41f05a2ec2cfe10b3d573df"></a><br/></td></tr>
<tr class="separator:a413220ead41f05a2ec2cfe10b3d573df"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Window deletion functions</div></td></tr>
<tr class="memitem:a3e44f4a494fc9ef4346c4fba70c8de0c"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a3e44f4a494fc9ef4346c4fba70c8de0c">Close</a> (bool force=false)</td></tr>
<tr class="memdesc:a3e44f4a494fc9ef4346c4fba70c8de0c"><td class="mdescLeft"> </td><td class="mdescRight">This function simply generates a <a class="el" href="classwx_close_event.html" title="This event class contains information about window and session close events.">wxCloseEvent</a> whose handler usually tries to close the window. <a href="#a3e44f4a494fc9ef4346c4fba70c8de0c"></a><br/></td></tr>
<tr class="separator:a3e44f4a494fc9ef4346c4fba70c8de0c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6bf0c5be864544d9ce0560087667b7fc"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a6bf0c5be864544d9ce0560087667b7fc">Destroy</a> ()</td></tr>
<tr class="memdesc:a6bf0c5be864544d9ce0560087667b7fc"><td class="mdescLeft"> </td><td class="mdescRight">Destroys the window safely. <a href="#a6bf0c5be864544d9ce0560087667b7fc"></a><br/></td></tr>
<tr class="separator:a6bf0c5be864544d9ce0560087667b7fc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af918e6fe8565c2d5235973cc3de84a43"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#af918e6fe8565c2d5235973cc3de84a43">IsBeingDeleted</a> () const </td></tr>
<tr class="memdesc:af918e6fe8565c2d5235973cc3de84a43"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if this window is in process of being destroyed. <a href="#af918e6fe8565c2d5235973cc3de84a43"></a><br/></td></tr>
<tr class="separator:af918e6fe8565c2d5235973cc3de84a43"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Drag and drop functions</div></td></tr>
<tr class="memitem:a4511e71affd926a47c5c320563ca2df5"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_drop_target.html">wxDropTarget</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a4511e71affd926a47c5c320563ca2df5">GetDropTarget</a> () const </td></tr>
<tr class="memdesc:a4511e71affd926a47c5c320563ca2df5"><td class="mdescLeft"> </td><td class="mdescRight">Returns the associated drop target, which may be <span class="literal">NULL</span>. <a href="#a4511e71affd926a47c5c320563ca2df5"></a><br/></td></tr>
<tr class="separator:a4511e71affd926a47c5c320563ca2df5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae34b4d45433ca8287df0e47d46411e58"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#ae34b4d45433ca8287df0e47d46411e58">SetDropTarget</a> (<a class="el" href="classwx_drop_target.html">wxDropTarget</a> *target)</td></tr>
<tr class="memdesc:ae34b4d45433ca8287df0e47d46411e58"><td class="mdescLeft"> </td><td class="mdescRight">Associates a drop target with this window. <a href="#ae34b4d45433ca8287df0e47d46411e58"></a><br/></td></tr>
<tr class="separator:ae34b4d45433ca8287df0e47d46411e58"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7e7015bc61bd79b6821d2dccaecf9eda"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a7e7015bc61bd79b6821d2dccaecf9eda">DragAcceptFiles</a> (bool accept)</td></tr>
<tr class="memdesc:a7e7015bc61bd79b6821d2dccaecf9eda"><td class="mdescLeft"> </td><td class="mdescRight">Enables or disables eligibility for drop file events (OnDropFiles). <a href="#a7e7015bc61bd79b6821d2dccaecf9eda"></a><br/></td></tr>
<tr class="separator:a7e7015bc61bd79b6821d2dccaecf9eda"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Constraints, sizers and window layout functions</div></td></tr>
<tr class="memitem:ade8de9a91bb5bf49c3a52e5262a5ffea"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_sizer.html">wxSizer</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#ade8de9a91bb5bf49c3a52e5262a5ffea">GetContainingSizer</a> () const </td></tr>
<tr class="memdesc:ade8de9a91bb5bf49c3a52e5262a5ffea"><td class="mdescLeft"> </td><td class="mdescRight">Returns the sizer of which this window is a member, if any, otherwise <span class="literal">NULL</span>. <a href="#ade8de9a91bb5bf49c3a52e5262a5ffea"></a><br/></td></tr>
<tr class="separator:ade8de9a91bb5bf49c3a52e5262a5ffea"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad8284cce1a2afe57724b52a89d7fac2f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_sizer.html">wxSizer</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#ad8284cce1a2afe57724b52a89d7fac2f">GetSizer</a> () const </td></tr>
<tr class="memdesc:ad8284cce1a2afe57724b52a89d7fac2f"><td class="mdescLeft"> </td><td class="mdescRight">Returns the sizer associated with the window by a previous call to <a class="el" href="classwx_window.html#abc95691b45e29a52c24aa9d33d46dec1" title="Sets the window to have the given layout sizer.">SetSizer()</a>, or <span class="literal">NULL</span>. <a href="#ad8284cce1a2afe57724b52a89d7fac2f"></a><br/></td></tr>
<tr class="separator:ad8284cce1a2afe57724b52a89d7fac2f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abc95691b45e29a52c24aa9d33d46dec1"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#abc95691b45e29a52c24aa9d33d46dec1">SetSizer</a> (<a class="el" href="classwx_sizer.html">wxSizer</a> *sizer, bool deleteOld=true)</td></tr>
<tr class="memdesc:abc95691b45e29a52c24aa9d33d46dec1"><td class="mdescLeft"> </td><td class="mdescRight">Sets the window to have the given layout sizer. <a href="#abc95691b45e29a52c24aa9d33d46dec1"></a><br/></td></tr>
<tr class="separator:abc95691b45e29a52c24aa9d33d46dec1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a29938af9828fd35da666536cdfb6b73c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a29938af9828fd35da666536cdfb6b73c">SetSizerAndFit</a> (<a class="el" href="classwx_sizer.html">wxSizer</a> *sizer, bool deleteOld=true)</td></tr>
<tr class="memdesc:a29938af9828fd35da666536cdfb6b73c"><td class="mdescLeft"> </td><td class="mdescRight">This method calls <a class="el" href="classwx_window.html#abc95691b45e29a52c24aa9d33d46dec1" title="Sets the window to have the given layout sizer.">SetSizer()</a> and then <a class="el" href="classwx_sizer.html#abc460cd0e2bb3bde72142fdb434bc546" title="This method first calls Fit() and then wxTopLevelWindow::SetSizeHints() on the window passed to it...">wxSizer::SetSizeHints</a> which sets the initial window size to the size needed to accommodate all sizer elements and sets the size hints which, if this window is a top level one, prevent the user from resizing it to be less than this minimal size. <a href="#a29938af9828fd35da666536cdfb6b73c"></a><br/></td></tr>
<tr class="separator:a29938af9828fd35da666536cdfb6b73c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac5664c7cd26848b5eebfaded2ecde7be"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_layout_constraints.html">wxLayoutConstraints</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#ac5664c7cd26848b5eebfaded2ecde7be">GetConstraints</a> () const </td></tr>
<tr class="memdesc:ac5664c7cd26848b5eebfaded2ecde7be"><td class="mdescLeft"> </td><td class="mdescRight">Returns a pointer to the window's layout constraints, or <span class="literal">NULL</span> if there are none. <a href="#ac5664c7cd26848b5eebfaded2ecde7be"></a><br/></td></tr>
<tr class="separator:ac5664c7cd26848b5eebfaded2ecde7be"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afa75d111bbd9a68f837101a5fbed60a7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#afa75d111bbd9a68f837101a5fbed60a7">SetConstraints</a> (<a class="el" href="classwx_layout_constraints.html">wxLayoutConstraints</a> *constraints)</td></tr>
<tr class="memdesc:afa75d111bbd9a68f837101a5fbed60a7"><td class="mdescLeft"> </td><td class="mdescRight">Sets the window to have the given layout constraints. <a href="#afa75d111bbd9a68f837101a5fbed60a7"></a><br/></td></tr>
<tr class="separator:afa75d111bbd9a68f837101a5fbed60a7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1b143c3e72bd0af533b76db4830a6113"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a1b143c3e72bd0af533b76db4830a6113">Layout</a> ()</td></tr>
<tr class="memdesc:a1b143c3e72bd0af533b76db4830a6113"><td class="mdescLeft"> </td><td class="mdescRight">Invokes the constraint-based layout algorithm or the sizer-based algorithm for this window. <a href="#a1b143c3e72bd0af533b76db4830a6113"></a><br/></td></tr>
<tr class="separator:a1b143c3e72bd0af533b76db4830a6113"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad369fe1db5c20f9d9edff7b5eb1f7226"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#ad369fe1db5c20f9d9edff7b5eb1f7226">SetAutoLayout</a> (bool autoLayout)</td></tr>
<tr class="memdesc:ad369fe1db5c20f9d9edff7b5eb1f7226"><td class="mdescLeft"> </td><td class="mdescRight">Determines whether the <a class="el" href="classwx_window.html#a1b143c3e72bd0af533b76db4830a6113" title="Invokes the constraint-based layout algorithm or the sizer-based algorithm for this window...">Layout()</a> function will be called automatically when the window is resized. <a href="#ad369fe1db5c20f9d9edff7b5eb1f7226"></a><br/></td></tr>
<tr class="separator:ad369fe1db5c20f9d9edff7b5eb1f7226"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad7a9d7fca325112fae493a00d253b3be"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#ad7a9d7fca325112fae493a00d253b3be">GetAutoLayout</a> () const </td></tr>
<tr class="memdesc:ad7a9d7fca325112fae493a00d253b3be"><td class="mdescLeft"> </td><td class="mdescRight">Returns the sizer of which this window is a member, if any, otherwise <span class="literal">NULL</span>. <a href="#ad7a9d7fca325112fae493a00d253b3be"></a><br/></td></tr>
<tr class="separator:ad7a9d7fca325112fae493a00d253b3be"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Mouse functions</div></td></tr>
<tr class="memitem:a5c72c6260a73ef77bb0b1f7ec85fcfef"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a5c72c6260a73ef77bb0b1f7ec85fcfef">CaptureMouse</a> ()</td></tr>
<tr class="memdesc:a5c72c6260a73ef77bb0b1f7ec85fcfef"><td class="mdescLeft"> </td><td class="mdescRight">Directs all mouse input to this window. <a href="#a5c72c6260a73ef77bb0b1f7ec85fcfef"></a><br/></td></tr>
<tr class="separator:a5c72c6260a73ef77bb0b1f7ec85fcfef"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a83ed7c9d9252b912eebc753d6132245b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_caret.html">wxCaret</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a83ed7c9d9252b912eebc753d6132245b">GetCaret</a> () const </td></tr>
<tr class="memdesc:a83ed7c9d9252b912eebc753d6132245b"><td class="mdescLeft"> </td><td class="mdescRight">Returns the caret() associated with the window. <a href="#a83ed7c9d9252b912eebc753d6132245b"></a><br/></td></tr>
<tr class="separator:a83ed7c9d9252b912eebc753d6132245b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad7ce1e9af33e6be0b608813eff2d349c"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classwx_cursor.html">wxCursor</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#ad7ce1e9af33e6be0b608813eff2d349c">GetCursor</a> () const </td></tr>
<tr class="memdesc:ad7ce1e9af33e6be0b608813eff2d349c"><td class="mdescLeft"> </td><td class="mdescRight">Return the cursor associated with this window. <a href="#ad7ce1e9af33e6be0b608813eff2d349c"></a><br/></td></tr>
<tr class="separator:ad7ce1e9af33e6be0b608813eff2d349c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9b44f61543b77317f9820e06856c5514"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a9b44f61543b77317f9820e06856c5514">HasCapture</a> () const </td></tr>
<tr class="memdesc:a9b44f61543b77317f9820e06856c5514"><td class="mdescLeft"> </td><td class="mdescRight">Returns <span class="literal">true</span> if this window has the current mouse capture. <a href="#a9b44f61543b77317f9820e06856c5514"></a><br/></td></tr>
<tr class="separator:a9b44f61543b77317f9820e06856c5514"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:adcc538819c11ecb3bd3e4e5d13c5ba7a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#adcc538819c11ecb3bd3e4e5d13c5ba7a">ReleaseMouse</a> ()</td></tr>
<tr class="memdesc:adcc538819c11ecb3bd3e4e5d13c5ba7a"><td class="mdescLeft"> </td><td class="mdescRight">Releases mouse input captured with <a class="el" href="classwx_window.html#a5c72c6260a73ef77bb0b1f7ec85fcfef" title="Directs all mouse input to this window.">CaptureMouse()</a>. <a href="#adcc538819c11ecb3bd3e4e5d13c5ba7a"></a><br/></td></tr>
<tr class="separator:adcc538819c11ecb3bd3e4e5d13c5ba7a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acfef5e1cada92c73e2937b84ff57ff57"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#acfef5e1cada92c73e2937b84ff57ff57">SetCaret</a> (<a class="el" href="classwx_caret.html">wxCaret</a> *caret)</td></tr>
<tr class="memdesc:acfef5e1cada92c73e2937b84ff57ff57"><td class="mdescLeft"> </td><td class="mdescRight">Sets the caret() associated with the window. <a href="#acfef5e1cada92c73e2937b84ff57ff57"></a><br/></td></tr>
<tr class="separator:acfef5e1cada92c73e2937b84ff57ff57"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad83f9c51c6f31e0e05f598b47a19ed98"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#ad83f9c51c6f31e0e05f598b47a19ed98">SetCursor</a> (const <a class="el" href="classwx_cursor.html">wxCursor</a> &cursor)</td></tr>
<tr class="memdesc:ad83f9c51c6f31e0e05f598b47a19ed98"><td class="mdescLeft"> </td><td class="mdescRight">Sets the window's cursor. <a href="#ad83f9c51c6f31e0e05f598b47a19ed98"></a><br/></td></tr>
<tr class="separator:ad83f9c51c6f31e0e05f598b47a19ed98"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac500152d1eca3a2ee98a68e7ea7372b5"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#ac500152d1eca3a2ee98a68e7ea7372b5">WarpPointer</a> (int x, int y)</td></tr>
<tr class="memdesc:ac500152d1eca3a2ee98a68e7ea7372b5"><td class="mdescLeft"> </td><td class="mdescRight">Moves the pointer to the given position on the window. <a href="#ac500152d1eca3a2ee98a68e7ea7372b5"></a><br/></td></tr>
<tr class="separator:ac500152d1eca3a2ee98a68e7ea7372b5"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Miscellaneous functions</div></td></tr>
<tr class="memitem:a6a026b2a16a9f050deddd44e5586762c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="defs_8h.html#a9b85a92dd590efbbe1248e0a9fc90024">wxHitTest</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a6a026b2a16a9f050deddd44e5586762c">HitTest</a> (<a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> x, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> y) const </td></tr>
<tr class="memdesc:a6a026b2a16a9f050deddd44e5586762c"><td class="mdescLeft"> </td><td class="mdescRight">Get the window border style from the given flags: this is different from simply doing flags & wxBORDER_MASK because it uses GetDefaultBorder() to translate wxBORDER_DEFAULT to something reasonable. <a href="#a6a026b2a16a9f050deddd44e5586762c"></a><br/></td></tr>
<tr class="separator:a6a026b2a16a9f050deddd44e5586762c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a44f4d85f42fac6090a42cafd40f24ff5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="defs_8h.html#a9b85a92dd590efbbe1248e0a9fc90024">wxHitTest</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a44f4d85f42fac6090a42cafd40f24ff5">HitTest</a> (const <a class="el" href="classwx_point.html">wxPoint</a> &pt) const </td></tr>
<tr class="memdesc:a44f4d85f42fac6090a42cafd40f24ff5"><td class="mdescLeft"> </td><td class="mdescRight">Get the window border style from the given flags: this is different from simply doing flags & wxBORDER_MASK because it uses GetDefaultBorder() to translate wxBORDER_DEFAULT to something reasonable. <a href="#a44f4d85f42fac6090a42cafd40f24ff5"></a><br/></td></tr>
<tr class="separator:a44f4d85f42fac6090a42cafd40f24ff5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad95a95e683e57ac6365745b737571582"><td class="memItemLeft" align="right" valign="top"><a class="el" href="defs_8h.html#af63c94dff4e3f25a3c5e9d2874456edf">wxBorder</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#ad95a95e683e57ac6365745b737571582">GetBorder</a> (long flags) const </td></tr>
<tr class="memdesc:ad95a95e683e57ac6365745b737571582"><td class="mdescLeft"> </td><td class="mdescRight">Get the window border style from the given flags: this is different from simply doing flags & wxBORDER_MASK because it uses GetDefaultBorder() to translate wxBORDER_DEFAULT to something reasonable. <a href="#ad95a95e683e57ac6365745b737571582"></a><br/></td></tr>
<tr class="separator:ad95a95e683e57ac6365745b737571582"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa53c8d1b5af17a8fbbe8845210e2032b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="defs_8h.html#af63c94dff4e3f25a3c5e9d2874456edf">wxBorder</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#aa53c8d1b5af17a8fbbe8845210e2032b">GetBorder</a> () const </td></tr>
<tr class="memdesc:aa53c8d1b5af17a8fbbe8845210e2032b"><td class="mdescLeft"> </td><td class="mdescRight">Get border for the flags of this window. <a href="#aa53c8d1b5af17a8fbbe8845210e2032b"></a><br/></td></tr>
<tr class="separator:aa53c8d1b5af17a8fbbe8845210e2032b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae8a84a80645e99f4d24a22e5c386f626"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#ae8a84a80645e99f4d24a22e5c386f626">DoUpdateWindowUI</a> (<a class="el" href="classwx_update_u_i_event.html">wxUpdateUIEvent</a> &event)</td></tr>
<tr class="memdesc:ae8a84a80645e99f4d24a22e5c386f626"><td class="mdescLeft"> </td><td class="mdescRight">Does the window-specific updating after processing the update event. <a href="#ae8a84a80645e99f4d24a22e5c386f626"></a><br/></td></tr>
<tr class="separator:ae8a84a80645e99f4d24a22e5c386f626"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a185e6cd7065367b552748cb722651b27"><td class="memItemLeft" align="right" valign="top">virtual WXWidget </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a185e6cd7065367b552748cb722651b27">GetHandle</a> () const </td></tr>
<tr class="memdesc:a185e6cd7065367b552748cb722651b27"><td class="mdescLeft"> </td><td class="mdescRight">Returns the platform-specific handle of the physical window. <a href="#a185e6cd7065367b552748cb722651b27"></a><br/></td></tr>
<tr class="separator:a185e6cd7065367b552748cb722651b27"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abe1522483478b1f777ad8ef34fa7c44a"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#abe1522483478b1f777ad8ef34fa7c44a">HasMultiplePages</a> () const </td></tr>
<tr class="memdesc:abe1522483478b1f777ad8ef34fa7c44a"><td class="mdescLeft"> </td><td class="mdescRight">This method should be overridden to return <span class="literal">true</span> if this window has multiple pages. <a href="#abe1522483478b1f777ad8ef34fa7c44a"></a><br/></td></tr>
<tr class="separator:abe1522483478b1f777ad8ef34fa7c44a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6b1bf9e099704e7a493b8c4666b1f7f7"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a6b1bf9e099704e7a493b8c4666b1f7f7">InheritAttributes</a> ()</td></tr>
<tr class="memdesc:a6b1bf9e099704e7a493b8c4666b1f7f7"><td class="mdescLeft"> </td><td class="mdescRight">This function is (or should be, in case of custom controls) called during window creation to intelligently set up the window visual attributes, that is the font and the foreground and background colours. <a href="#a6b1bf9e099704e7a493b8c4666b1f7f7"></a><br/></td></tr>
<tr class="separator:a6b1bf9e099704e7a493b8c4666b1f7f7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa90a260c0a835a133043460b7d0024a8"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#aa90a260c0a835a133043460b7d0024a8">InitDialog</a> ()</td></tr>
<tr class="memdesc:aa90a260c0a835a133043460b7d0024a8"><td class="mdescLeft"> </td><td class="mdescRight">Sends an <code>wxEVT_INIT_DIALOG</code> event, whose handler usually transfers data to the dialog via validators. <a href="#aa90a260c0a835a133043460b7d0024a8"></a><br/></td></tr>
<tr class="separator:aa90a260c0a835a133043460b7d0024a8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9d1be1bbb625ebf87ad4ad47e49a0194"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a9d1be1bbb625ebf87ad4ad47e49a0194">IsDoubleBuffered</a> () const </td></tr>
<tr class="memdesc:a9d1be1bbb625ebf87ad4ad47e49a0194"><td class="mdescLeft"> </td><td class="mdescRight">Returns <span class="literal">true</span> if the window contents is double-buffered by the system, i.e. if any drawing done on the window is really done on a temporary backing surface and transferred to the screen all at once later. <a href="#a9d1be1bbb625ebf87ad4ad47e49a0194"></a><br/></td></tr>
<tr class="separator:a9d1be1bbb625ebf87ad4ad47e49a0194"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5477a89c17fdcc3ec6c90274796eb1c3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a5477a89c17fdcc3ec6c90274796eb1c3">SetDoubleBuffered</a> (bool on)</td></tr>
<tr class="memdesc:a5477a89c17fdcc3ec6c90274796eb1c3"><td class="mdescLeft"> </td><td class="mdescRight">Turn on or off double buffering of the window if the system supports it. <a href="#a5477a89c17fdcc3ec6c90274796eb1c3"></a><br/></td></tr>
<tr class="separator:a5477a89c17fdcc3ec6c90274796eb1c3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae9b31dec54256b68574a4bba8cca94ab"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#ae9b31dec54256b68574a4bba8cca94ab">IsRetained</a> () const </td></tr>
<tr class="memdesc:ae9b31dec54256b68574a4bba8cca94ab"><td class="mdescLeft"> </td><td class="mdescRight">Returns <span class="literal">true</span> if the window is retained, <span class="literal">false</span> otherwise. <a href="#ae9b31dec54256b68574a4bba8cca94ab"></a><br/></td></tr>
<tr class="separator:ae9b31dec54256b68574a4bba8cca94ab"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a657ef8b6055eb06df894ac5e6ddfecf8"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a657ef8b6055eb06df894ac5e6ddfecf8">IsThisEnabled</a> () const </td></tr>
<tr class="memdesc:a657ef8b6055eb06df894ac5e6ddfecf8"><td class="mdescLeft"> </td><td class="mdescRight">Returns <span class="literal">true</span> if this window is intrinsically enabled, <span class="literal">false</span> otherwise, i.e. if <a class="el" href="classwx_window.html#a4e933aa891f42fbb3b87438057c573af">Enable()</a> Enable(<span class="literal">false</span>) had been called. <a href="#a657ef8b6055eb06df894ac5e6ddfecf8"></a><br/></td></tr>
<tr class="separator:a657ef8b6055eb06df894ac5e6ddfecf8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0002826ad05f2a5661b4c8995713f37f"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a0002826ad05f2a5661b4c8995713f37f">IsTopLevel</a> () const </td></tr>
<tr class="memdesc:a0002826ad05f2a5661b4c8995713f37f"><td class="mdescLeft"> </td><td class="mdescRight">Returns <span class="literal">true</span> if the given window is a top-level one. <a href="#a0002826ad05f2a5661b4c8995713f37f"></a><br/></td></tr>
<tr class="separator:a0002826ad05f2a5661b4c8995713f37f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6b5654c0c6c6245d592c279521f7099c"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a6b5654c0c6c6245d592c279521f7099c">OnInternalIdle</a> ()</td></tr>
<tr class="memdesc:a6b5654c0c6c6245d592c279521f7099c"><td class="mdescLeft"> </td><td class="mdescRight">This virtual function is normally only used internally, but sometimes an application may need it to implement functionality that should not be disabled by an application defining an OnIdle handler in a derived class. <a href="#a6b5654c0c6c6245d592c279521f7099c"></a><br/></td></tr>
<tr class="separator:a6b5654c0c6c6245d592c279521f7099c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1afc1653413957537073c074dcc3eade"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a1afc1653413957537073c074dcc3eade">SendIdleEvents</a> (<a class="el" href="classwx_idle_event.html">wxIdleEvent</a> &event)</td></tr>
<tr class="memdesc:a1afc1653413957537073c074dcc3eade"><td class="mdescLeft"> </td><td class="mdescRight">Send idle event to window and all subwindows. <a href="#a1afc1653413957537073c074dcc3eade"></a><br/></td></tr>
<tr class="separator:a1afc1653413957537073c074dcc3eade"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a53ca57872dac5851ea6ba55a494b899b"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a53ca57872dac5851ea6ba55a494b899b">RegisterHotKey</a> (int hotkeyId, int modifiers, int virtualKeyCode)</td></tr>
<tr class="memdesc:a53ca57872dac5851ea6ba55a494b899b"><td class="mdescLeft"> </td><td class="mdescRight">Registers a system wide hotkey. <a href="#a53ca57872dac5851ea6ba55a494b899b"></a><br/></td></tr>
<tr class="separator:a53ca57872dac5851ea6ba55a494b899b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a695f60d65f8f6c12e3c3645ad9c0c35b"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a695f60d65f8f6c12e3c3645ad9c0c35b">UnregisterHotKey</a> (int hotkeyId)</td></tr>
<tr class="memdesc:a695f60d65f8f6c12e3c3645ad9c0c35b"><td class="mdescLeft"> </td><td class="mdescRight">Unregisters a system wide hotkey. <a href="#a695f60d65f8f6c12e3c3645ad9c0c35b"></a><br/></td></tr>
<tr class="separator:a695f60d65f8f6c12e3c3645ad9c0c35b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:adf0a4987728bd0bf69f922641b3efbfc"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#adf0a4987728bd0bf69f922641b3efbfc">UpdateWindowUI</a> (long flags=<a class="el" href="defs_8h.html#a125d733e58da75b9609114a226e4d81ca9edfae857d615d2de32b407a750a4af4">wxUPDATE_UI_NONE</a>)</td></tr>
<tr class="memdesc:adf0a4987728bd0bf69f922641b3efbfc"><td class="mdescLeft"> </td><td class="mdescRight">This function sends one or more <a class="el" href="classwx_update_u_i_event.html" title="This class is used for pseudo-events which are called by wxWidgets to give an application the chance ...">wxUpdateUIEvent</a> to the window. <a href="#adf0a4987728bd0bf69f922641b3efbfc"></a><br/></td></tr>
<tr class="separator:adf0a4987728bd0bf69f922641b3efbfc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classwx_evt_handler"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classwx_evt_handler')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classwx_evt_handler.html">wxEvtHandler</a></td></tr>
<tr class="memitem:a3f0166c4154227d05575b01eb2c8d4be inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a3f0166c4154227d05575b01eb2c8d4be">wxEvtHandler</a> ()</td></tr>
<tr class="memdesc:a3f0166c4154227d05575b01eb2c8d4be inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#a3f0166c4154227d05575b01eb2c8d4be"></a><br/></td></tr>
<tr class="separator:a3f0166c4154227d05575b01eb2c8d4be inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a372d2239d91521eddc8fd2715fcab584 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a372d2239d91521eddc8fd2715fcab584">~wxEvtHandler</a> ()</td></tr>
<tr class="memdesc:a372d2239d91521eddc8fd2715fcab584 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#a372d2239d91521eddc8fd2715fcab584"></a><br/></td></tr>
<tr class="separator:a372d2239d91521eddc8fd2715fcab584 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a63c7351618fd77330d80a250b3719519 inherit pub_methods_classwx_evt_handler"><td class="memTemplParams" colspan="2">template<typename T , typename T1 , ... > </td></tr>
<tr class="memitem:a63c7351618fd77330d80a250b3719519 inherit pub_methods_classwx_evt_handler"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a63c7351618fd77330d80a250b3719519">CallAfter</a> (void(T::*method)(T1,...), T1 x1,...)</td></tr>
<tr class="memdesc:a63c7351618fd77330d80a250b3719519 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Asynchronously call the given method. <a href="#a63c7351618fd77330d80a250b3719519"></a><br/></td></tr>
<tr class="separator:a63c7351618fd77330d80a250b3719519 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a910416e4d0b1f38cec02213b8a0c6a12 inherit pub_methods_classwx_evt_handler"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
<tr class="memitem:a910416e4d0b1f38cec02213b8a0c6a12 inherit pub_methods_classwx_evt_handler"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a910416e4d0b1f38cec02213b8a0c6a12">CallAfter</a> (const T &functor)</td></tr>
<tr class="memdesc:a910416e4d0b1f38cec02213b8a0c6a12 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Asynchronously call the given functor. <a href="#a910416e4d0b1f38cec02213b8a0c6a12"></a><br/></td></tr>
<tr class="separator:a910416e4d0b1f38cec02213b8a0c6a12 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac0f5d2cb29a04c1f7f82eb6b351f79fb inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#ac0f5d2cb29a04c1f7f82eb6b351f79fb">ProcessEventLocally</a> (<a class="el" href="classwx_event.html">wxEvent</a> &event)</td></tr>
<tr class="memdesc:ac0f5d2cb29a04c1f7f82eb6b351f79fb inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Try to process the event in this handler and all those chained to it. <a href="#ac0f5d2cb29a04c1f7f82eb6b351f79fb"></a><br/></td></tr>
<tr class="separator:ac0f5d2cb29a04c1f7f82eb6b351f79fb inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8205cb1a5a00d8b550b3ead22266b16b inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a8205cb1a5a00d8b550b3ead22266b16b">SafelyProcessEvent</a> (<a class="el" href="classwx_event.html">wxEvent</a> &event)</td></tr>
<tr class="memdesc:a8205cb1a5a00d8b550b3ead22266b16b inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Processes an event by calling <a class="el" href="classwx_evt_handler.html#a65968dd27f3aac7718f2dd6b2ddd5a08" title="Processes an event, searching event tables and calling zero or more suitable event handler function(s...">ProcessEvent()</a> and handles any exceptions that occur in the process. <a href="#a8205cb1a5a00d8b550b3ead22266b16b"></a><br/></td></tr>
<tr class="separator:a8205cb1a5a00d8b550b3ead22266b16b inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6f643dbdcf8e914ae1c8b70dd305e6f2 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a6f643dbdcf8e914ae1c8b70dd305e6f2">ProcessPendingEvents</a> ()</td></tr>
<tr class="memdesc:a6f643dbdcf8e914ae1c8b70dd305e6f2 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Processes the pending events previously queued using <a class="el" href="classwx_evt_handler.html#acffd03bf407a856166ea71ef0318b59a" title="Queue event for a later processing.">QueueEvent()</a> or <a class="el" href="classwx_evt_handler.html#a0737c6d2cbcd5ded4b1ecdd53ed0def3" title="Post an event to be processed later.">AddPendingEvent()</a>; you must call this function only if you are sure there are pending events for this handler, otherwise a <code>wxCHECK</code> will fail. <a href="#a6f643dbdcf8e914ae1c8b70dd305e6f2"></a><br/></td></tr>
<tr class="separator:a6f643dbdcf8e914ae1c8b70dd305e6f2 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6e7f9cf4ebd0623c1d94979855d096f8 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a6e7f9cf4ebd0623c1d94979855d096f8">DeletePendingEvents</a> ()</td></tr>
<tr class="memdesc:a6e7f9cf4ebd0623c1d94979855d096f8 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Deletes all events queued on this event handler using <a class="el" href="classwx_evt_handler.html#acffd03bf407a856166ea71ef0318b59a" title="Queue event for a later processing.">QueueEvent()</a> or <a class="el" href="classwx_evt_handler.html#a0737c6d2cbcd5ded4b1ecdd53ed0def3" title="Post an event to be processed later.">AddPendingEvent()</a>. <a href="#a6e7f9cf4ebd0623c1d94979855d096f8"></a><br/></td></tr>
<tr class="separator:a6e7f9cf4ebd0623c1d94979855d096f8 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3c07426130d2868a5ae7fa918a251f49 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a3c07426130d2868a5ae7fa918a251f49">SearchEventTable</a> (wxEventTable &table, <a class="el" href="classwx_event.html">wxEvent</a> &event)</td></tr>
<tr class="memdesc:a3c07426130d2868a5ae7fa918a251f49 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Searches the event table, executing an event handler function if an appropriate one is found. <a href="#a3c07426130d2868a5ae7fa918a251f49"></a><br/></td></tr>
<tr class="separator:a3c07426130d2868a5ae7fa918a251f49 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a78719e8b82c9f9c6e4056b3449df1943 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a78719e8b82c9f9c6e4056b3449df1943">Connect</a> (int id, int lastId, <a class="el" href="group__group__funcmacro__events.html#ga6a7fd172612c0d6d9029bfa3aa91aca0">wxEventType</a> eventType, wxObjectEventFunction function, <a class="el" href="classwx_object.html">wxObject</a> *userData=NULL, <a class="el" href="classwx_evt_handler.html">wxEvtHandler</a> *eventSink=NULL)</td></tr>
<tr class="memdesc:a78719e8b82c9f9c6e4056b3449df1943 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Connects the given function dynamically with the event handler, id and event type. <a href="#a78719e8b82c9f9c6e4056b3449df1943"></a><br/></td></tr>
<tr class="separator:a78719e8b82c9f9c6e4056b3449df1943 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1e8b5fc4c7e7f6d32d40bc00d4108ba4 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a1e8b5fc4c7e7f6d32d40bc00d4108ba4">Connect</a> (int id, <a class="el" href="group__group__funcmacro__events.html#ga6a7fd172612c0d6d9029bfa3aa91aca0">wxEventType</a> eventType, wxObjectEventFunction function, <a class="el" href="classwx_object.html">wxObject</a> *userData=NULL, <a class="el" href="classwx_evt_handler.html">wxEvtHandler</a> *eventSink=NULL)</td></tr>
<tr class="memdesc:a1e8b5fc4c7e7f6d32d40bc00d4108ba4 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">See the <a class="el" href="classwx_evt_handler.html#a78719e8b82c9f9c6e4056b3449df1943" title="Connects the given function dynamically with the event handler, id and event type.">Connect(int, int, wxEventType, wxObjectEventFunction, wxObject*, wxEvtHandler*)</a> overload for more info. <a href="#a1e8b5fc4c7e7f6d32d40bc00d4108ba4"></a><br/></td></tr>
<tr class="separator:a1e8b5fc4c7e7f6d32d40bc00d4108ba4 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa290d9b67348e74c1da8497955a4e35c inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#aa290d9b67348e74c1da8497955a4e35c">Connect</a> (<a class="el" href="group__group__funcmacro__events.html#ga6a7fd172612c0d6d9029bfa3aa91aca0">wxEventType</a> eventType, wxObjectEventFunction function, <a class="el" href="classwx_object.html">wxObject</a> *userData=NULL, <a class="el" href="classwx_evt_handler.html">wxEvtHandler</a> *eventSink=NULL)</td></tr>
<tr class="memdesc:aa290d9b67348e74c1da8497955a4e35c inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">See the <a class="el" href="classwx_evt_handler.html#a78719e8b82c9f9c6e4056b3449df1943" title="Connects the given function dynamically with the event handler, id and event type.">Connect(int, int, wxEventType, wxObjectEventFunction, wxObject*, wxEvtHandler*)</a> overload for more info. <a href="#aa290d9b67348e74c1da8497955a4e35c"></a><br/></td></tr>
<tr class="separator:aa290d9b67348e74c1da8497955a4e35c inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a13061cf0ed01ac10a804ac057ef4bdbc inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a13061cf0ed01ac10a804ac057ef4bdbc">Disconnect</a> (<a class="el" href="group__group__funcmacro__events.html#ga6a7fd172612c0d6d9029bfa3aa91aca0">wxEventType</a> eventType, wxObjectEventFunction function, <a class="el" href="classwx_object.html">wxObject</a> *userData=NULL, <a class="el" href="classwx_evt_handler.html">wxEvtHandler</a> *eventSink=NULL)</td></tr>
<tr class="memdesc:a13061cf0ed01ac10a804ac057ef4bdbc inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Disconnects the given function dynamically from the event handler, using the specified parameters as search criteria and returning <span class="literal">true</span> if a matching function has been found and removed. <a href="#a13061cf0ed01ac10a804ac057ef4bdbc"></a><br/></td></tr>
<tr class="separator:a13061cf0ed01ac10a804ac057ef4bdbc inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2f171e19444b9c4034c5e11f24fa9c91 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a2f171e19444b9c4034c5e11f24fa9c91">Disconnect</a> (int id=<a class="el" href="defs_8h.html#ac66d0a09761e7d86b2ac0b2e0c6a8cbba1f375b01ea03a713bbb7e32a36a2589c">wxID_ANY</a>, <a class="el" href="group__group__funcmacro__events.html#ga6a7fd172612c0d6d9029bfa3aa91aca0">wxEventType</a> eventType=<a class="el" href="group__group__funcmacro__events.html#ga310bc3f7977ae79ac1198c7a287dbffe">wxEVT_NULL</a>, wxObjectEventFunction function=NULL, <a class="el" href="classwx_object.html">wxObject</a> *userData=NULL, <a class="el" href="classwx_evt_handler.html">wxEvtHandler</a> *eventSink=NULL)</td></tr>
<tr class="memdesc:a2f171e19444b9c4034c5e11f24fa9c91 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">See the <a class="el" href="classwx_evt_handler.html#a13061cf0ed01ac10a804ac057ef4bdbc" title="Disconnects the given function dynamically from the event handler, using the specified parameters as ...">Disconnect(wxEventType, wxObjectEventFunction, wxObject*, wxEvtHandler*)</a> overload for more info. <a href="#a2f171e19444b9c4034c5e11f24fa9c91"></a><br/></td></tr>
<tr class="separator:a2f171e19444b9c4034c5e11f24fa9c91 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a16a6f823853e4b74b43dd9a2cf3abee6 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a16a6f823853e4b74b43dd9a2cf3abee6">Disconnect</a> (int id, int lastId, <a class="el" href="group__group__funcmacro__events.html#ga6a7fd172612c0d6d9029bfa3aa91aca0">wxEventType</a> eventType, wxObjectEventFunction function=NULL, <a class="el" href="classwx_object.html">wxObject</a> *userData=NULL, <a class="el" href="classwx_evt_handler.html">wxEvtHandler</a> *eventSink=NULL)</td></tr>
<tr class="memdesc:a16a6f823853e4b74b43dd9a2cf3abee6 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">See the <a class="el" href="classwx_evt_handler.html#a13061cf0ed01ac10a804ac057ef4bdbc" title="Disconnects the given function dynamically from the event handler, using the specified parameters as ...">Disconnect(wxEventType, wxObjectEventFunction, wxObject*, wxEvtHandler*)</a> overload for more info. <a href="#a16a6f823853e4b74b43dd9a2cf3abee6"></a><br/></td></tr>
<tr class="separator:a16a6f823853e4b74b43dd9a2cf3abee6 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0f30c8fa5583b4a5f661897d63de3b62 inherit pub_methods_classwx_evt_handler"><td class="memTemplParams" colspan="2">template<typename EventTag , typename Functor > </td></tr>
<tr class="memitem:a0f30c8fa5583b4a5f661897d63de3b62 inherit pub_methods_classwx_evt_handler"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a0f30c8fa5583b4a5f661897d63de3b62">Bind</a> (const EventTag &eventType, Functor functor, int id=<a class="el" href="defs_8h.html#ac66d0a09761e7d86b2ac0b2e0c6a8cbba1f375b01ea03a713bbb7e32a36a2589c">wxID_ANY</a>, int lastId=<a class="el" href="defs_8h.html#ac66d0a09761e7d86b2ac0b2e0c6a8cbba1f375b01ea03a713bbb7e32a36a2589c">wxID_ANY</a>, <a class="el" href="classwx_object.html">wxObject</a> *userData=NULL)</td></tr>
<tr class="memdesc:a0f30c8fa5583b4a5f661897d63de3b62 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Binds the given function, functor or method dynamically with the event. <a href="#a0f30c8fa5583b4a5f661897d63de3b62"></a><br/></td></tr>
<tr class="separator:a0f30c8fa5583b4a5f661897d63de3b62 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a03cc68ca201fb79c7e837919025be71a inherit pub_methods_classwx_evt_handler"><td class="memTemplParams" colspan="2">template<typename EventTag , typename Class , typename EventArg , typename EventHandler > </td></tr>
<tr class="memitem:a03cc68ca201fb79c7e837919025be71a inherit pub_methods_classwx_evt_handler"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a03cc68ca201fb79c7e837919025be71a">Bind</a> (const EventTag &eventType, void(Class::*method)(EventArg &), EventHandler *handler, int id=<a class="el" href="defs_8h.html#ac66d0a09761e7d86b2ac0b2e0c6a8cbba1f375b01ea03a713bbb7e32a36a2589c">wxID_ANY</a>, int lastId=<a class="el" href="defs_8h.html#ac66d0a09761e7d86b2ac0b2e0c6a8cbba1f375b01ea03a713bbb7e32a36a2589c">wxID_ANY</a>, <a class="el" href="classwx_object.html">wxObject</a> *userData=NULL)</td></tr>
<tr class="memdesc:a03cc68ca201fb79c7e837919025be71a inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">See the <a class="el" href="classwx_evt_handler.html#a0f30c8fa5583b4a5f661897d63de3b62" title="Binds the given function, functor or method dynamically with the event.">Bind<>(const EventTag&, Functor, int, int, wxObject*)</a> overload for more info. <a href="#a03cc68ca201fb79c7e837919025be71a"></a><br/></td></tr>
<tr class="separator:a03cc68ca201fb79c7e837919025be71a inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2b7df8272075a96daea78cdd799c00da inherit pub_methods_classwx_evt_handler"><td class="memTemplParams" colspan="2">template<typename EventTag , typename Functor > </td></tr>
<tr class="memitem:a2b7df8272075a96daea78cdd799c00da inherit pub_methods_classwx_evt_handler"><td class="memTemplItemLeft" align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a2b7df8272075a96daea78cdd799c00da">Unbind</a> (const EventTag &eventType, Functor functor, int id=<a class="el" href="defs_8h.html#ac66d0a09761e7d86b2ac0b2e0c6a8cbba1f375b01ea03a713bbb7e32a36a2589c">wxID_ANY</a>, int lastId=<a class="el" href="defs_8h.html#ac66d0a09761e7d86b2ac0b2e0c6a8cbba1f375b01ea03a713bbb7e32a36a2589c">wxID_ANY</a>, <a class="el" href="classwx_object.html">wxObject</a> *userData=NULL)</td></tr>
<tr class="memdesc:a2b7df8272075a96daea78cdd799c00da inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Unbinds the given function, functor or method dynamically from the event handler, using the specified parameters as search criteria and returning <span class="literal">true</span> if a matching function has been found and removed. <a href="#a2b7df8272075a96daea78cdd799c00da"></a><br/></td></tr>
<tr class="separator:a2b7df8272075a96daea78cdd799c00da inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa49f9c4ad4462456b4fe4bd1ab53533d inherit pub_methods_classwx_evt_handler"><td class="memTemplParams" colspan="2">template<typename EventTag , typename Class , typename EventArg , typename EventHandler > </td></tr>
<tr class="memitem:aa49f9c4ad4462456b4fe4bd1ab53533d inherit pub_methods_classwx_evt_handler"><td class="memTemplItemLeft" align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#aa49f9c4ad4462456b4fe4bd1ab53533d">Unbind</a> (const EventTag &eventType, void(Class::*method)(EventArg &), EventHandler *handler, int id=<a class="el" href="defs_8h.html#ac66d0a09761e7d86b2ac0b2e0c6a8cbba1f375b01ea03a713bbb7e32a36a2589c">wxID_ANY</a>, int lastId=<a class="el" href="defs_8h.html#ac66d0a09761e7d86b2ac0b2e0c6a8cbba1f375b01ea03a713bbb7e32a36a2589c">wxID_ANY</a>, <a class="el" href="classwx_object.html">wxObject</a> *userData=NULL)</td></tr>
<tr class="memdesc:aa49f9c4ad4462456b4fe4bd1ab53533d inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">See the <a class="el" href="classwx_evt_handler.html#a2b7df8272075a96daea78cdd799c00da" title="Unbinds the given function, functor or method dynamically from the event handler, using the specified...">Unbind<>(const EventTag&, Functor, int, int, wxObject*)</a> overload for more info. <a href="#aa49f9c4ad4462456b4fe4bd1ab53533d"></a><br/></td></tr>
<tr class="separator:aa49f9c4ad4462456b4fe4bd1ab53533d inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad6e543115a9405962152630138645588 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#ad6e543115a9405962152630138645588">GetClientData</a> () const </td></tr>
<tr class="memdesc:ad6e543115a9405962152630138645588 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Returns user-supplied client data. <a href="#ad6e543115a9405962152630138645588"></a><br/></td></tr>
<tr class="separator:ad6e543115a9405962152630138645588 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2b3949eaba1f25cb48618163a7c0583b inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_client_data.html">wxClientData</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a2b3949eaba1f25cb48618163a7c0583b">GetClientObject</a> () const </td></tr>
<tr class="memdesc:a2b3949eaba1f25cb48618163a7c0583b inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Returns a pointer to the user-supplied client data object. <a href="#a2b3949eaba1f25cb48618163a7c0583b"></a><br/></td></tr>
<tr class="separator:a2b3949eaba1f25cb48618163a7c0583b inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a82c74f2cebfa02cb3c1563d459c872bf inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a82c74f2cebfa02cb3c1563d459c872bf">SetClientData</a> (void *data)</td></tr>
<tr class="memdesc:a82c74f2cebfa02cb3c1563d459c872bf inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Sets user-supplied client data. <a href="#a82c74f2cebfa02cb3c1563d459c872bf"></a><br/></td></tr>
<tr class="separator:a82c74f2cebfa02cb3c1563d459c872bf inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af1e33a06087b8b2ddc43c7d15a91b326 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#af1e33a06087b8b2ddc43c7d15a91b326">SetClientObject</a> (<a class="el" href="classwx_client_data.html">wxClientData</a> *data)</td></tr>
<tr class="memdesc:af1e33a06087b8b2ddc43c7d15a91b326 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Set the client data object. <a href="#af1e33a06087b8b2ddc43c7d15a91b326"></a><br/></td></tr>
<tr class="separator:af1e33a06087b8b2ddc43c7d15a91b326 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a533e62afcb125abf1fcc8bb53fbc2e81 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a533e62afcb125abf1fcc8bb53fbc2e81">GetEvtHandlerEnabled</a> () const </td></tr>
<tr class="memdesc:a533e62afcb125abf1fcc8bb53fbc2e81 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Returns <span class="literal">true</span> if the event handler is enabled, <span class="literal">false</span> otherwise. <a href="#a533e62afcb125abf1fcc8bb53fbc2e81"></a><br/></td></tr>
<tr class="separator:a533e62afcb125abf1fcc8bb53fbc2e81 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4b2f853f5c7a64432ae72f9b606698f9 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_evt_handler.html">wxEvtHandler</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a4b2f853f5c7a64432ae72f9b606698f9">GetNextHandler</a> () const </td></tr>
<tr class="memdesc:a4b2f853f5c7a64432ae72f9b606698f9 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Returns the pointer to the next handler in the chain. <a href="#a4b2f853f5c7a64432ae72f9b606698f9"></a><br/></td></tr>
<tr class="separator:a4b2f853f5c7a64432ae72f9b606698f9 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aad1ba7fa9ccbf12ee2d80f5f12350adb inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_evt_handler.html">wxEvtHandler</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#aad1ba7fa9ccbf12ee2d80f5f12350adb">GetPreviousHandler</a> () const </td></tr>
<tr class="memdesc:aad1ba7fa9ccbf12ee2d80f5f12350adb inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Returns the pointer to the previous handler in the chain. <a href="#aad1ba7fa9ccbf12ee2d80f5f12350adb"></a><br/></td></tr>
<tr class="separator:aad1ba7fa9ccbf12ee2d80f5f12350adb inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7388ae19c8657e5656471b658c320036 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a7388ae19c8657e5656471b658c320036">SetEvtHandlerEnabled</a> (bool enabled)</td></tr>
<tr class="memdesc:a7388ae19c8657e5656471b658c320036 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Enables or disables the event handler. <a href="#a7388ae19c8657e5656471b658c320036"></a><br/></td></tr>
<tr class="separator:a7388ae19c8657e5656471b658c320036 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a22e5db2ec1d19c8252c056fd116975d7 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a22e5db2ec1d19c8252c056fd116975d7">Unlink</a> ()</td></tr>
<tr class="memdesc:a22e5db2ec1d19c8252c056fd116975d7 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Unlinks this event handler from the chain it's part of (if any); then links the "previous" event handler to the "next" one (so that the chain won't be interrupted). <a href="#a22e5db2ec1d19c8252c056fd116975d7"></a><br/></td></tr>
<tr class="separator:a22e5db2ec1d19c8252c056fd116975d7 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a360fdeefcf53b62fb49fb828406bb8a6 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a360fdeefcf53b62fb49fb828406bb8a6">IsUnlinked</a> () const </td></tr>
<tr class="memdesc:a360fdeefcf53b62fb49fb828406bb8a6 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Returns <span class="literal">true</span> if the next and the previous handler pointers of this event handler instance are <span class="literal">NULL</span>. <a href="#a360fdeefcf53b62fb49fb828406bb8a6"></a><br/></td></tr>
<tr class="separator:a360fdeefcf53b62fb49fb828406bb8a6 inherit pub_methods_classwx_evt_handler"><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="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Miscellaneous static functions</div></td></tr>
<tr class="memitem:a170d85e4aa0cbacbfcdd0728120e1417"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="structwx_visual_attributes.html">wxVisualAttributes</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a170d85e4aa0cbacbfcdd0728120e1417">GetClassDefaultAttributes</a> (<a class="el" href="window_8h.html#a879bccd2c987fedf06030a8abcbba8ac">wxWindowVariant</a> variant=<a class="el" href="window_8h.html#a879bccd2c987fedf06030a8abcbba8aca0e936e160cfb2b98d8a7bc38bfaee234">wxWINDOW_VARIANT_NORMAL</a>)</td></tr>
<tr class="memdesc:a170d85e4aa0cbacbfcdd0728120e1417"><td class="mdescLeft"> </td><td class="mdescRight">Returns the default font and colours which are used by the control. <a href="#a170d85e4aa0cbacbfcdd0728120e1417"></a><br/></td></tr>
<tr class="separator:a170d85e4aa0cbacbfcdd0728120e1417"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a777258379a3eef1b0530f12db6b77cab"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classwx_window.html">wxWindow</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a777258379a3eef1b0530f12db6b77cab">FindFocus</a> ()</td></tr>
<tr class="memdesc:a777258379a3eef1b0530f12db6b77cab"><td class="mdescLeft"> </td><td class="mdescRight">Finds the window or control which currently has the keyboard focus. <a href="#a777258379a3eef1b0530f12db6b77cab"></a><br/></td></tr>
<tr class="separator:a777258379a3eef1b0530f12db6b77cab"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a101201b12ccd5fba49fa06ed19b5c6fb"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classwx_window.html">wxWindow</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a101201b12ccd5fba49fa06ed19b5c6fb">FindWindowById</a> (long id, const <a class="el" href="classwx_window.html">wxWindow</a> *parent=0)</td></tr>
<tr class="memdesc:a101201b12ccd5fba49fa06ed19b5c6fb"><td class="mdescLeft"> </td><td class="mdescRight">Find the first window with the given <em>id</em>. <a href="#a101201b12ccd5fba49fa06ed19b5c6fb"></a><br/></td></tr>
<tr class="separator:a101201b12ccd5fba49fa06ed19b5c6fb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab8eb148fffae109e0fac86e88d569670"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classwx_window.html">wxWindow</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#ab8eb148fffae109e0fac86e88d569670">FindWindowByLabel</a> (const <a class="el" href="classwx_string.html">wxString</a> &label, const <a class="el" href="classwx_window.html">wxWindow</a> *parent=0)</td></tr>
<tr class="memdesc:ab8eb148fffae109e0fac86e88d569670"><td class="mdescLeft"> </td><td class="mdescRight">Find a window by its label. <a href="#ab8eb148fffae109e0fac86e88d569670"></a><br/></td></tr>
<tr class="separator:ab8eb148fffae109e0fac86e88d569670"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:adbe4eea02f615313c12a2c00557a44c3"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classwx_window.html">wxWindow</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#adbe4eea02f615313c12a2c00557a44c3">FindWindowByName</a> (const <a class="el" href="classwx_string.html">wxString</a> &name, const <a class="el" href="classwx_window.html">wxWindow</a> *parent=0)</td></tr>
<tr class="memdesc:adbe4eea02f615313c12a2c00557a44c3"><td class="mdescLeft"> </td><td class="mdescRight">Find a window by its name (as given in a window constructor or <a class="el" href="classwx_window.html#a95b7ca8faa033f5ab35458887c07bf38">Create()</a> function call). <a href="#adbe4eea02f615313c12a2c00557a44c3"></a><br/></td></tr>
<tr class="separator:adbe4eea02f615313c12a2c00557a44c3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a483d3f73925bd38c3964dad058672f0a"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classwx_window.html">wxWindow</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a483d3f73925bd38c3964dad058672f0a">GetCapture</a> ()</td></tr>
<tr class="memdesc:a483d3f73925bd38c3964dad058672f0a"><td class="mdescLeft"> </td><td class="mdescRight">Returns the currently captured window. <a href="#a483d3f73925bd38c3964dad058672f0a"></a><br/></td></tr>
<tr class="separator:a483d3f73925bd38c3964dad058672f0a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8175da594e6045635a1d1cfe775cdddb"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="windowid_8h.html#ae8091432cc2cb2485d45f2302fb51133">wxWindowID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a8175da594e6045635a1d1cfe775cdddb">NewControlId</a> (int count=1)</td></tr>
<tr class="memdesc:a8175da594e6045635a1d1cfe775cdddb"><td class="mdescLeft"> </td><td class="mdescRight">Create a new ID or range of IDs that are not currently in use. <a href="#a8175da594e6045635a1d1cfe775cdddb"></a><br/></td></tr>
<tr class="separator:a8175da594e6045635a1d1cfe775cdddb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad9bc342d1e38d221e37f0f6396950c8c"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#ad9bc342d1e38d221e37f0f6396950c8c">UnreserveControlId</a> (<a class="el" href="windowid_8h.html#ae8091432cc2cb2485d45f2302fb51133">wxWindowID</a> id, int count=1)</td></tr>
<tr class="memdesc:ad9bc342d1e38d221e37f0f6396950c8c"><td class="mdescLeft"> </td><td class="mdescRight">Unreserve an ID or range of IDs that was reserved by <a class="el" href="classwx_window.html#a8175da594e6045635a1d1cfe775cdddb" title="Create a new ID or range of IDs that are not currently in use.">NewControlId()</a>. <a href="#ad9bc342d1e38d221e37f0f6396950c8c"></a><br/></td></tr>
<tr class="separator:ad9bc342d1e38d221e37f0f6396950c8c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_static_methods_classwx_evt_handler"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classwx_evt_handler')"><img src="closed.png" alt="-"/> Static Public Member Functions inherited from <a class="el" href="classwx_evt_handler.html">wxEvtHandler</a></td></tr>
<tr class="memitem:a7dc3c701781f4044372049de5004137e inherit pub_static_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a7dc3c701781f4044372049de5004137e">AddFilter</a> (<a class="el" href="classwx_event_filter.html">wxEventFilter</a> *filter)</td></tr>
<tr class="memdesc:a7dc3c701781f4044372049de5004137e inherit pub_static_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Add an event filter whose FilterEvent() method will be called for each and every event processed by wxWidgets. <a href="#a7dc3c701781f4044372049de5004137e"></a><br/></td></tr>
<tr class="separator:a7dc3c701781f4044372049de5004137e inherit pub_static_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a67a57b759c447b121bf70a7c9804c8f2 inherit pub_static_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a67a57b759c447b121bf70a7c9804c8f2">RemoveFilter</a> (<a class="el" href="classwx_event_filter.html">wxEventFilter</a> *filter)</td></tr>
<tr class="memdesc:a67a57b759c447b121bf70a7c9804c8f2 inherit pub_static_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Remove a filter previously installed with <a class="el" href="classwx_evt_handler.html#a7dc3c701781f4044372049de5004137e" title="Add an event filter whose FilterEvent() method will be called for each and every event processed by w...">AddFilter()</a>. <a href="#a67a57b759c447b121bf70a7c9804c8f2"></a><br/></td></tr>
<tr class="separator:a67a57b759c447b121bf70a7c9804c8f2 inherit pub_static_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a2d10b472a4962d1c852c83d55252c44b"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a2d10b472a4962d1c852c83d55252c44b">DoCentre</a> (int direction)</td></tr>
<tr class="memdesc:a2d10b472a4962d1c852c83d55252c44b"><td class="mdescLeft"> </td><td class="mdescRight">Centres the window. <a href="#a2d10b472a4962d1c852c83d55252c44b"></a><br/></td></tr>
<tr class="separator:a2d10b472a4962d1c852c83d55252c44b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a01e7604ab0f0b2b1a8e322a630a4669e"><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_window.html#a01e7604ab0f0b2b1a8e322a630a4669e">DoGetBestSize</a> () const </td></tr>
<tr class="memdesc:a01e7604ab0f0b2b1a8e322a630a4669e"><td class="mdescLeft"> </td><td class="mdescRight">Implementation of <a class="el" href="classwx_window.html#a7e64b9380374e5681f146e9e319e35e3" title="This functions returns the best acceptable minimal size for the window.">GetBestSize()</a> that can be overridden. <a href="#a01e7604ab0f0b2b1a8e322a630a4669e"></a><br/></td></tr>
<tr class="separator:a01e7604ab0f0b2b1a8e322a630a4669e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afe8447cb5975584ee3d4a03e3d02ee89"><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_window.html#afe8447cb5975584ee3d4a03e3d02ee89">DoGetBestClientSize</a> () const </td></tr>
<tr class="memdesc:afe8447cb5975584ee3d4a03e3d02ee89"><td class="mdescLeft"> </td><td class="mdescRight">Override this method to return the best size for a custom control. <a href="#afe8447cb5975584ee3d4a03e3d02ee89"></a><br/></td></tr>
<tr class="separator:afe8447cb5975584ee3d4a03e3d02ee89"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4a7af6aa217c9aa41d7ba3def3564520"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a4a7af6aa217c9aa41d7ba3def3564520">DoGetBestClientHeight</a> (int width) const </td></tr>
<tr class="memdesc:a4a7af6aa217c9aa41d7ba3def3564520"><td class="mdescLeft"> </td><td class="mdescRight">Override this method to implement height-for-width best size calculation. <a href="#a4a7af6aa217c9aa41d7ba3def3564520"></a><br/></td></tr>
<tr class="separator:a4a7af6aa217c9aa41d7ba3def3564520"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9325f81776ce7167a42b6dd72aa0bd5c"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a9325f81776ce7167a42b6dd72aa0bd5c">DoGetBestClientWidth</a> (int height) const </td></tr>
<tr class="memdesc:a9325f81776ce7167a42b6dd72aa0bd5c"><td class="mdescLeft"> </td><td class="mdescRight">Override this method to implement width-for-height best size calculation. <a href="#a9325f81776ce7167a42b6dd72aa0bd5c"></a><br/></td></tr>
<tr class="separator:a9325f81776ce7167a42b6dd72aa0bd5c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae6dfe0b0d4a8c666b21ce8df8d96727b"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#ae6dfe0b0d4a8c666b21ce8df8d96727b">SetInitialBestSize</a> (const <a class="el" href="classwx_size.html">wxSize</a> &size)</td></tr>
<tr class="memdesc:ae6dfe0b0d4a8c666b21ce8df8d96727b"><td class="mdescLeft"> </td><td class="mdescRight">Sets the initial window size if none is given (i.e. at least one of the components of the size passed to ctor/Create() is wxDefaultCoord). <a href="#ae6dfe0b0d4a8c666b21ce8df8d96727b"></a><br/></td></tr>
<tr class="separator:ae6dfe0b0d4a8c666b21ce8df8d96727b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7e21eb6a0819281b29134a6432d064fe"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a7e21eb6a0819281b29134a6432d064fe">SendDestroyEvent</a> ()</td></tr>
<tr class="memdesc:a7e21eb6a0819281b29134a6432d064fe"><td class="mdescLeft"> </td><td class="mdescRight">Generate <a class="el" href="classwx_window_destroy_event.html" title="This event is sent as early as possible during the window destruction process.">wxWindowDestroyEvent</a> for this window. <a href="#a7e21eb6a0819281b29134a6432d064fe"></a><br/></td></tr>
<tr class="separator:a7e21eb6a0819281b29134a6432d064fe"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5ebdbd87c28644149a07f1742996df96"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a5ebdbd87c28644149a07f1742996df96">ProcessEvent</a> (<a class="el" href="classwx_event.html">wxEvent</a> &event)</td></tr>
<tr class="memdesc:a5ebdbd87c28644149a07f1742996df96"><td class="mdescLeft"> </td><td class="mdescRight">This function is public in <a class="el" href="classwx_evt_handler.html" title="A class that can handle events from the windowing system.">wxEvtHandler</a> but protected in <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 for wxWindows you should always call <a class="el" href="classwx_window.html#a5ebdbd87c28644149a07f1742996df96" title="This function is public in wxEvtHandler but protected in wxWindow because for wxWindows you should al...">ProcessEvent()</a> on the pointer returned by <a class="el" href="classwx_window.html#a72c2454cf309f30109da3cbfe237c760" title="Returns the event handler for this window.">GetEventHandler()</a> and not on the <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> object itself. <a href="#a5ebdbd87c28644149a07f1742996df96"></a><br/></td></tr>
<tr class="separator:a5ebdbd87c28644149a07f1742996df96"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr class="memitem:a0f9814efc50316b4c57b7ec2bf78b716"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a0f9814efc50316b4c57b7ec2bf78b716">SafelyProcessEvent</a> (<a class="el" href="classwx_event.html">wxEvent</a> &event)</td></tr>
<tr class="memdesc:a0f9814efc50316b4c57b7ec2bf78b716"><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="classwx_window.html#a5ebdbd87c28644149a07f1742996df96" title="This function is public in wxEvtHandler but protected in wxWindow because for wxWindows you should al...">ProcessEvent()</a> for more info about why you shouldn't use this function and the reason for making this function protected in <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>. <a href="#a0f9814efc50316b4c57b7ec2bf78b716"></a><br/></td></tr>
<tr class="separator:a0f9814efc50316b4c57b7ec2bf78b716"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a69e450f21b0d7013269ec1a4771f043b"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a69e450f21b0d7013269ec1a4771f043b">QueueEvent</a> (<a class="el" href="classwx_event.html">wxEvent</a> *event)</td></tr>
<tr class="memdesc:a69e450f21b0d7013269ec1a4771f043b"><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="classwx_window.html#a5ebdbd87c28644149a07f1742996df96" title="This function is public in wxEvtHandler but protected in wxWindow because for wxWindows you should al...">ProcessEvent()</a> for more info about why you shouldn't use this function and the reason for making this function protected in <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>. <a href="#a69e450f21b0d7013269ec1a4771f043b"></a><br/></td></tr>
<tr class="separator:a69e450f21b0d7013269ec1a4771f043b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a774b5b5548a6258727b5e2099e63ae9a"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a774b5b5548a6258727b5e2099e63ae9a">AddPendingEvent</a> (const <a class="el" href="classwx_event.html">wxEvent</a> &event)</td></tr>
<tr class="memdesc:a774b5b5548a6258727b5e2099e63ae9a"><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="classwx_window.html#a5ebdbd87c28644149a07f1742996df96" title="This function is public in wxEvtHandler but protected in wxWindow because for wxWindows you should al...">ProcessEvent()</a> for more info about why you shouldn't use this function and the reason for making this function protected in <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>. <a href="#a774b5b5548a6258727b5e2099e63ae9a"></a><br/></td></tr>
<tr class="separator:a774b5b5548a6258727b5e2099e63ae9a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7cbee38944dab02d753a4dba74230443"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a7cbee38944dab02d753a4dba74230443">ProcessPendingEvents</a> ()</td></tr>
<tr class="memdesc:a7cbee38944dab02d753a4dba74230443"><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="classwx_window.html#a5ebdbd87c28644149a07f1742996df96" title="This function is public in wxEvtHandler but protected in wxWindow because for wxWindows you should al...">ProcessEvent()</a> for more info about why you shouldn't use this function and the reason for making this function protected in <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>. <a href="#a7cbee38944dab02d753a4dba74230443"></a><br/></td></tr>
<tr class="separator:a7cbee38944dab02d753a4dba74230443"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9350b3a9c2e380707eaea92cedad12a5"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_window.html#a9350b3a9c2e380707eaea92cedad12a5">ProcessThreadEvent</a> (const <a class="el" href="classwx_event.html">wxEvent</a> &event)</td></tr>
<tr class="memdesc:a9350b3a9c2e380707eaea92cedad12a5"><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="classwx_window.html#a5ebdbd87c28644149a07f1742996df96" title="This function is public in wxEvtHandler but protected in wxWindow because for wxWindows you should al...">ProcessEvent()</a> for more info about why you shouldn't use this function and the reason for making this function protected in <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>. <a href="#a9350b3a9c2e380707eaea92cedad12a5"></a><br/></td></tr>
<tr class="separator:a9350b3a9c2e380707eaea92cedad12a5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_methods_classwx_evt_handler"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classwx_evt_handler')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classwx_evt_handler.html">wxEvtHandler</a></td></tr>
<tr class="memitem:ad4b0eac704dd005ac6a88fdb1e673c13 inherit pro_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#ad4b0eac704dd005ac6a88fdb1e673c13">TryBefore</a> (<a class="el" href="classwx_event.html">wxEvent</a> &event)</td></tr>
<tr class="memdesc:ad4b0eac704dd005ac6a88fdb1e673c13 inherit pro_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Method called by <a class="el" href="classwx_evt_handler.html#a65968dd27f3aac7718f2dd6b2ddd5a08" title="Processes an event, searching event tables and calling zero or more suitable event handler function(s...">ProcessEvent()</a> before examining this object event tables. <a href="#ad4b0eac704dd005ac6a88fdb1e673c13"></a><br/></td></tr>
<tr class="separator:ad4b0eac704dd005ac6a88fdb1e673c13 inherit pro_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5e25fece1cb6cbc11fd1d41ec140319c inherit pro_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a5e25fece1cb6cbc11fd1d41ec140319c">TryAfter</a> (<a class="el" href="classwx_event.html">wxEvent</a> &event)</td></tr>
<tr class="memdesc:a5e25fece1cb6cbc11fd1d41ec140319c inherit pro_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Method called by <a class="el" href="classwx_evt_handler.html#a65968dd27f3aac7718f2dd6b2ddd5a08" title="Processes an event, searching event tables and calling zero or more suitable event handler function(s...">ProcessEvent()</a> as last resort. <a href="#a5e25fece1cb6cbc11fd1d41ec140319c"></a><br/></td></tr>
<tr class="separator:a5e25fece1cb6cbc11fd1d41ec140319c inherit pro_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </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>
</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_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="a695200a4915b934926dcf32afa44544c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">wxWindow::wxWindow </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Default constructor. </p>
</div>
</div>
<a class="anchor" id="a7799009b10d1765d1bbb6db4994f922e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">wxWindow::wxWindow </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>parent</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="windowid_8h.html#ae8091432cc2cb2485d45f2302fb51133">wxWindowID</a> </td>
<td class="paramname"><em>id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_point.html">wxPoint</a> & </td>
<td class="paramname"><em>pos</em> = <code><a class="el" href="gdicmn_8h.html#af5a90c753eaf3d3e3e5068a19ec3c1d0">wxDefaultPosition</a></code>, </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> = <code><a class="el" href="gdicmn_8h.html#a33a012cdb075e9f78c93f63bec2dc27b">wxDefaultSize</a></code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">long </td>
<td class="paramname"><em>style</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>name</em> = <code>wxPanelNameStr</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructs a window, which can be a child of a frame, dialog or any other non-control window. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">parent</td><td>Pointer to a parent window. </td></tr>
<tr><td class="paramname">id</td><td>Window identifier. If wxID_ANY, will automatically create an identifier. </td></tr>
<tr><td class="paramname">pos</td><td>Window position. wxDefaultPosition indicates that wxWidgets should generate a default position for the window. If using the <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> class directly, supply an actual position. </td></tr>
<tr><td class="paramname">size</td><td>Window size. wxDefaultSize indicates that wxWidgets should generate a default size for the window. If no suitable size can be found, the window will be sized to 20x20 pixels so that the window is visible but obviously not correctly sized. </td></tr>
<tr><td class="paramname">style</td><td>Window style. For generic window styles, please see <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>. </td></tr>
<tr><td class="paramname">name</td><td>Window name. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a0c2a46181a89c349327f0b276f5ef8d7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual wxWindow::~wxWindow </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>Destructor. </p>
<p>Deletes all sub-windows, then deletes itself. Instead of using the <b>delete</b> operator explicitly, you should normally use <a class="el" href="classwx_window.html#a6bf0c5be864544d9ce0560087667b7fc" title="Destroys the window safely.">Destroy()</a> so that wxWidgets can delete a window only when it is safe to do so, in idle time.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="overview_windowdeletion.html">Window Deletion Overview</a>, <a class="el" href="classwx_window.html#a6bf0c5be864544d9ce0560087667b7fc" title="Destroys the window safely.">Destroy()</a>, <a class="el" href="classwx_close_event.html" title="This event class contains information about window and session close events.">wxCloseEvent</a> </dd></dl>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a3afbd49b1ea2f8275e3600dcac102923"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxWindow::AcceptsFocus </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</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 method may be overridden in the derived classes to return <span class="literal">false</span> to indicate that this control doesn't accept input at all (i.e. behaves like e.g. <a class="el" href="classwx_static_text.html" title="A static text control displays one or more lines of read-only text.">wxStaticText</a>) and so doesn't need focus. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a2370bdd3ab08e7ef3c7555c6aa8301b8" title="This method may be overridden in the derived classes to return false to indicate that while this cont...">AcceptsFocusFromKeyboard()</a> </dd></dl>
<p>Reimplemented in <a class="el" href="classwx_panel.html#ad43482bf961c0a8185624085facd0853">wxPanel</a>.</p>
</div>
</div>
<a class="anchor" id="a2370bdd3ab08e7ef3c7555c6aa8301b8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxWindow::AcceptsFocusFromKeyboard </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</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 method may be overridden in the derived classes to return <span class="literal">false</span> to indicate that while this control can, in principle, have focus if the user clicks it with the mouse, it shouldn't be included in the TAB traversal chain when using the keyboard. </p>
</div>
</div>
<a class="anchor" id="ac7ed96693517630f4d2e99265b76d1a9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxWindow::AcceptsFocusRecursively </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</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>Overridden to indicate whether this window or one of its children accepts focus. </p>
<p>Usually it's the same as <a class="el" href="classwx_window.html#a3afbd49b1ea2f8275e3600dcac102923" title="This method may be overridden in the derived classes to return false to indicate that this control do...">AcceptsFocus()</a> but is overridden for container windows. </p>
</div>
</div>
<a class="anchor" id="abf60159278059a5bb397eb8647227bb3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxWindow::AddChild </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>child</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>Adds a child window. </p>
<p>This is called automatically by window creation functions so should not be required by the application programmer. Notice that this function is mostly internal to wxWidgets and shouldn't be called by the user code.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">child</td><td>Child window to add. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a774b5b5548a6258727b5e2099e63ae9a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxWindow::AddPendingEvent </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_event.html">wxEvent</a> & </td>
<td class="paramname"><em>event</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>See <a class="el" href="classwx_window.html#a5ebdbd87c28644149a07f1742996df96" title="This function is public in wxEvtHandler but protected in wxWindow because for wxWindows you should al...">ProcessEvent()</a> for more info about why you shouldn't use this function and the reason for making this function protected in <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>. </p>
<p>Reimplemented from <a class="el" href="classwx_evt_handler.html#a0737c6d2cbcd5ded4b1ecdd53ed0def3">wxEvtHandler</a>.</p>
</div>
</div>
<a class="anchor" id="aa48188539f128689a3286a058f0394a8"></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="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> wxWindow::AdjustForLayoutDirection </td>
<td>(</td>
<td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> </td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> </td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> </td>
<td class="paramname"><em>widthTotal</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</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>Mirror coordinates for RTL layout if this window uses it and if the mirroring is not done automatically like Win32. </p>
</div>
</div>
<a class="anchor" id="aae29552806a328c6a55ef8f07647f5ba"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxWindow::AlwaysShowScrollbars </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>hflag</em> = <code>true</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>vflag</em> = <code>true</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>Call this function to force one or both scrollbars to be always shown, even if the window is big enough to show its entire contents without scrolling. </p>
<dl class="section since"><dt>Since</dt><dd>2.9.0</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">hflag</td><td>Whether the horizontal scroll bar should always be visible. </td></tr>
<tr><td class="paramname">vflag</td><td>Whether the vertical scroll bar should always be visible.</td></tr>
</table>
</dd>
</dl>
<dl class="section remark"><dt>Remarks</dt><dd>This function is currently only implemented under Mac/Carbon. </dd></dl>
</div>
</div>
<a class="anchor" id="ab4cea6ace96193b5c4282e097a6fbfee"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxWindow::BeginRepositioningChildren </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Prepare for changing positions of multiple child windows. </p>
<p>This method should be called before changing positions of multiple child windows to reduce flicker and, in MSW case, even avoid display corruption in some cases. It is used internally by wxWidgets and called automatically when the window size changes but it can also be useful to call it from outside of the library if a repositioning involving multiple children is done without changing the window size.</p>
<p>If this method returns <span class="literal">true</span>, then <a class="el" href="classwx_window.html#a1203fbd238d781253b44e0e459532301" title="Fix child window positions after setting all of them at once.">EndRepositioningChildren()</a> must be called after setting all children positions. Use <a class="el" href="classwx_window_1_1_children_repositioning_guard.html" title="Helper for ensuring EndRepositioningChildren() is called correctly.">ChildrenRepositioningGuard</a> class to ensure that this requirement is satisfied.</p>
<dl class="section since"><dt>Since</dt><dd>2.9.5 </dd></dl>
</div>
</div>
<a class="anchor" id="a100905524d330cfd9620fd726e378066"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::CacheBestSize </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> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the cached best size value. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a7e64b9380374e5681f146e9e319e35e3" title="This functions returns the best acceptable minimal size for the window.">GetBestSize()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="acd7f1a89fac1fda0ed49f7140d38d1b1"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxWindow::CanAcceptFocus </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Can this window have focus right now? </p>
<p>If this method returns true, it means that calling <a class="el" href="classwx_window.html#a697f9f8d3ff389790f1c74b59bcb1d75" title="This sets the window to receive keyboard input.">SetFocus()</a> will put focus either to this window or one of its children, if you need to know whether this window accepts focus itself, use <a class="el" href="classwx_window.html#a1415b1354d5670237090de09da28b662" title="Can this window itself have focus?">IsFocusable()</a> </p>
</div>
</div>
<a class="anchor" id="a6a855b39d837f0ae6d13d0e30d0c9682"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxWindow::CanAcceptFocusFromKeyboard </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Can this window be assigned focus from keyboard right now? </p>
</div>
</div>
<a class="anchor" id="a179f9a770f8c835f279923d2cbe5d766"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxWindow::CanScroll </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>orient</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns <span class="literal">true</span> if this window can have a scroll bar in this orientation. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">orient</td><td>Orientation to check, either wxHORIZONTAL or wxVERTICAL.</td></tr>
</table>
</dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>2.9.1 </dd></dl>
</div>
</div>
<a class="anchor" id="a64f7f6fb75bf4b7281e1d33542d523c7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxWindow::CanSetTransparent </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>Returns <span class="literal">true</span> if the system supports transparent windows and calling <a class="el" href="classwx_window.html#ac8cf4398cec50ac36634760f45a0656f" title="Set the transparency of the window.">SetTransparent()</a> may succeed. </p>
<p>If this function returns <span class="literal">false</span>, transparent windows are definitely not supported by the current system. </p>
<p>Reimplemented in <a class="el" href="classwx_top_level_window.html#a392cf325512c5558d776ca85abc0c451">wxTopLevelWindow</a>.</p>
</div>
</div>
<a class="anchor" id="a5c72c6260a73ef77bb0b1f7ec85fcfef"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::CaptureMouse </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Directs all mouse input to this window. </p>
<p>Call <a class="el" href="classwx_window.html#adcc538819c11ecb3bd3e4e5d13c5ba7a" title="Releases mouse input captured with CaptureMouse().">ReleaseMouse()</a> to release the capture.</p>
<p>Note that wxWidgets maintains the stack of windows having captured the mouse and when the mouse is released the capture returns to the window which had had captured it previously and it is only really released if there were no previous window. In particular, this means that you must release the mouse as many times as you capture it, unless the window receives the <a class="el" href="classwx_mouse_capture_lost_event.html" title="A mouse capture lost event is sent to a window that had obtained mouse capture, which was subsequentl...">wxMouseCaptureLostEvent</a> event.</p>
<p>Any application which captures the mouse in the beginning of some operation must handle <a class="el" href="classwx_mouse_capture_lost_event.html" title="A mouse capture lost event is sent to a window that had obtained mouse capture, which was subsequentl...">wxMouseCaptureLostEvent</a> and cancel this operation when it receives the event. The event handler must not recapture mouse.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#adcc538819c11ecb3bd3e4e5d13c5ba7a" title="Releases mouse input captured with CaptureMouse().">ReleaseMouse()</a>, <a class="el" href="classwx_mouse_capture_lost_event.html" title="A mouse capture lost event is sent to a window that had obtained mouse capture, which was subsequentl...">wxMouseCaptureLostEvent</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a06c0ecb262995b40083bfb446a6cff99"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::Center </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>dir</em> = <code><a class="el" href="defs_8h.html#a1e6994f40bd9cb140e292afb165af971a31055fdab980125bf5a575f776066097">wxBOTH</a></code></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>A synonym for <a class="el" href="classwx_window.html#a4a1819eeee3f2143cdde4f329ffde787" title="Centres the window.">Centre()</a>. </p>
</div>
</div>
<a class="anchor" id="a2dc4e0a85d33fc55cc9650eaea1da0a4"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::CenterOnParent </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>dir</em> = <code><a class="el" href="defs_8h.html#a1e6994f40bd9cb140e292afb165af971a31055fdab980125bf5a575f776066097">wxBOTH</a></code></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>A synonym for <a class="el" href="classwx_window.html#ab8e9b91b0e2db344fd71259616dfd433" title="Centres the window on its parent.">CentreOnParent()</a>. </p>
</div>
</div>
<a class="anchor" id="a4a1819eeee3f2143cdde4f329ffde787"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::Centre </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>direction</em> = <code><a class="el" href="defs_8h.html#a1e6994f40bd9cb140e292afb165af971a31055fdab980125bf5a575f776066097">wxBOTH</a></code></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Centres the window. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">direction</td><td>Specifies the direction for the centring. May be wxHORIZONTAL, wxVERTICAL or wxBOTH. It may also include the wxCENTRE_ON_SCREEN flag if you want to centre the window on the entire screen and not on its parent window.</td></tr>
</table>
</dd>
</dl>
<dl class="section remark"><dt>Remarks</dt><dd>If the window is a top level one (i.e. doesn't have a parent), it will be centred relative to the screen anyhow.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a06c0ecb262995b40083bfb446a6cff99" title="A synonym for Centre().">Center()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ab8e9b91b0e2db344fd71259616dfd433"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::CentreOnParent </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>direction</em> = <code><a class="el" href="defs_8h.html#a1e6994f40bd9cb140e292afb165af971a31055fdab980125bf5a575f776066097">wxBOTH</a></code></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Centres the window on its parent. </p>
<p>This is a more readable synonym for <a class="el" href="classwx_window.html#a4a1819eeee3f2143cdde4f329ffde787" title="Centres the window.">Centre()</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">direction</td><td>Specifies the direction for the centring. May be wxHORIZONTAL, wxVERTICAL or wxBOTH.</td></tr>
</table>
</dd>
</dl>
<dl class="section remark"><dt>Remarks</dt><dd>This methods provides for a way to centre top level windows over their parents instead of the entire screen. If there is no parent or if the window is not a top level window, then behaviour is the same as <a class="el" href="classwx_window.html#a4a1819eeee3f2143cdde4f329ffde787" title="Centres the window.">Centre()</a>.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_top_level_window.html#a1d28df1d739af6a3d5d2ec9e43b03c29" title="Centres the window on screen.">wxTopLevelWindow::CentreOnScreen</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a61e833684ee5c89775e91e88be1a9a52"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxWindow::ClearBackground </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>Clears the window by filling it with the current background colour. </p>
<p>Does not cause an erase background event to be generated.</p>
<p>Notice that this uses <a class="el" href="classwx_client_d_c.html" title="A wxClientDC must be constructed if an application wishes to paint on the client area of a window fro...">wxClientDC</a> to draw on the window and the results of doing it while also drawing on <a class="el" href="classwx_paint_d_c.html" title="A wxPaintDC must be constructed if an application wishes to paint on the client area of a window from...">wxPaintDC</a> for this window are undefined. Hence this method shouldn't be used from EVT_PAINT handlers, just use <a class="el" href="classwx_d_c.html#acf301dfd75b0f31d969ecb9daec21e85" title="Clears the device context using the current background brush.">wxDC::Clear()</a> on the <a class="el" href="classwx_paint_d_c.html" title="A wxPaintDC must be constructed if an application wishes to paint on the client area of a window from...">wxPaintDC</a> you already use there instead. </p>
</div>
</div>
<a class="anchor" id="a29eac611e5f6b47db82bb4dd5450ba3d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::ClientToScreen </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></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Converts to screen coordinates from coordinates relative to this window. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td>A pointer to a integer value for the x coordinate. Pass the client coordinate in, and a screen coordinate will be passed out. </td></tr>
<tr><td class="paramname">y</td><td>A pointer to a integer value for the y coordinate. Pass the client coordinate in, and a screen coordinate will be passed out.</td></tr>
</table>
</dd>
</dl>
<p><b>wxPerl Note:</b> In wxPerl this method returns a 2-element list instead of modifying its parameters. </p>
</div>
</div>
<a class="anchor" id="a7de852b144210b93b690189e99dbe1df"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_point.html">wxPoint</a> wxWindow::ClientToScreen </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_point.html">wxPoint</a> & </td>
<td class="paramname"><em>pt</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Converts to screen coordinates from coordinates relative to this window. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">pt</td><td>The client position for the second form of the function. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a693fffbbb7ad5f36a5f442703396dafa"></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> wxWindow::ClientToWindowSize </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> const</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>Converts client area size <em>size</em> to corresponding window size. </p>
<p>In other words, the returned value is what would <a class="el" href="classwx_window.html#a124c12cff1e7b6e96a5e1fd3e48dca34" title="Returns the size of the entire window in pixels, including title bar, border, scrollbars, etc.">GetSize()</a> return if this window had client area of given size. Components with wxDefaultCoord value are left unchanged. Note that the conversion is not always exact, it assumes that non-client area doesn't change and so doesn't take into account things like menu bar (un)wrapping or (dis)appearance of the scrollbars.</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_window.html#aa456f800c9dde3b2361cad0abf54bc27" title="Converts window size size to corresponding client area size In other words, the returned value is wha...">WindowToClientSize()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a3e44f4a494fc9ef4346c4fba70c8de0c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxWindow::Close </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>force</em> = <code>false</code></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>This function simply generates a <a class="el" href="classwx_close_event.html" title="This event class contains information about window and session close events.">wxCloseEvent</a> whose handler usually tries to close the window. </p>
<p>It doesn't close the window itself, however.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">force</td><td><span class="literal">false</span> if the window's close handler should be able to veto the destruction of this window, <span class="literal">true</span> if it cannot.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><span class="literal">true</span> if the event was handled and not vetoed, <span class="literal">false</span> otherwise.</dd></dl>
<dl class="section remark"><dt>Remarks</dt><dd>Close calls the close handler for the window, providing an opportunity for the window to choose whether to destroy the window. Usually it is only used with the top level windows (<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> and <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> classes) as the others are not supposed to have any special OnClose() logic. The close handler should check whether the window is being deleted forcibly, using <a class="el" href="classwx_close_event.html#adaa0548df45e05e8487cc5664ac352cf" title="Returns true if you can veto a system shutdown or a window close event.">wxCloseEvent::CanVeto</a>, in which case it should destroy the window using <a class="el" href="classwx_window.html#a6bf0c5be864544d9ce0560087667b7fc" title="Destroys the window safely.">wxWindow::Destroy</a>. Note that calling Close does not guarantee that the window will be destroyed; but it provides a way to simulate a manual close of a window, which may or may not be implemented by destroying the window. The default implementation of wxDialog::OnCloseWindow does not necessarily delete the dialog, since it will simply simulate an wxID_CANCEL event which is handled by the appropriate button event handler and may do anything at all. To guarantee that the window will be destroyed, call <a class="el" href="classwx_window.html#a6bf0c5be864544d9ce0560087667b7fc" title="Destroys the window safely.">wxWindow::Destroy</a> instead</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="overview_windowdeletion.html">Window Deletion Overview</a>, <a class="el" href="classwx_window.html#a6bf0c5be864544d9ce0560087667b7fc" title="Destroys the window safely.">Destroy()</a>, <a class="el" href="classwx_close_event.html" title="This event class contains information about window and session close events.">wxCloseEvent</a> </dd></dl>
</div>
</div>
<a class="anchor" id="acb6787b6c3c314f9e015658a89ad0265"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_point.html">wxPoint</a> wxWindow::ConvertDialogToPixels </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_point.html">wxPoint</a> & </td>
<td class="paramname"><em>pt</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Converts a point or size from dialog units to pixels. </p>
<p>For the x dimension, the dialog units are multiplied by the average character width and then divided by 4. For the y dimension, the dialog units are multiplied by the average character height and then divided by 8.</p>
<dl class="section remark"><dt>Remarks</dt><dd>Dialog units are used for maintaining a dialog's proportions even if the font changes. You can also use these functions programmatically. A convenience macro is defined: <div class="fragment"><div class="line"><span class="preprocessor">#define wxDLG_UNIT(parent, pt) parent->ConvertDialogToPixels(pt)</span></div>
</div><!-- fragment --></dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a449aac6a24f1d14b1a82b58003447dfe" title="Converts a point or size from pixels to dialog units.">ConvertPixelsToDialog()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a3daf76b93f648c68224e6ccd8095066b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_size.html">wxSize</a> wxWindow::ConvertDialogToPixels </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_size.html">wxSize</a> & </td>
<td class="paramname"><em>sz</em></td><td>)</td>
<td> const</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="a449aac6a24f1d14b1a82b58003447dfe"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_point.html">wxPoint</a> wxWindow::ConvertPixelsToDialog </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_point.html">wxPoint</a> & </td>
<td class="paramname"><em>pt</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Converts a point or size from pixels to dialog units. </p>
<p>For the x dimension, the pixels are multiplied by 4 and then divided by the average character width. For the y dimension, the pixels are multiplied by 8 and then divided by the average character height.</p>
<dl class="section remark"><dt>Remarks</dt><dd>Dialog units are used for maintaining a dialog's proportions even if the font changes.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#acb6787b6c3c314f9e015658a89ad0265" title="Converts a point or size from dialog units to pixels.">ConvertDialogToPixels()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="afd955ce9d25ec26a115bfb794b1c7d8b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_size.html">wxSize</a> wxWindow::ConvertPixelsToDialog </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_size.html">wxSize</a> & </td>
<td class="paramname"><em>sz</em></td><td>)</td>
<td> const</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="a95b7ca8faa033f5ab35458887c07bf38"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxWindow::Create </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>parent</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="windowid_8h.html#ae8091432cc2cb2485d45f2302fb51133">wxWindowID</a> </td>
<td class="paramname"><em>id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_point.html">wxPoint</a> & </td>
<td class="paramname"><em>pos</em> = <code><a class="el" href="gdicmn_8h.html#af5a90c753eaf3d3e3e5068a19ec3c1d0">wxDefaultPosition</a></code>, </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> = <code><a class="el" href="gdicmn_8h.html#a33a012cdb075e9f78c93f63bec2dc27b">wxDefaultSize</a></code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">long </td>
<td class="paramname"><em>style</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>name</em> = <code>wxPanelNameStr</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a6bf0c5be864544d9ce0560087667b7fc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxWindow::Destroy </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>Destroys the window safely. </p>
<p>Use this function instead of the delete operator, since different window classes can be destroyed differently. Frames and dialogs are not destroyed immediately when this function is called – they are added to a list of windows to be deleted on idle time, when all the window's events have been processed. This prevents problems with events being sent to non-existent windows.</p>
<dl class="section return"><dt>Returns</dt><dd><span class="literal">true</span> if the window has either been successfully deleted, or it has been added to the list of windows pending real deletion. </dd></dl>
</div>
</div>
<a class="anchor" id="aff47b32c8d42d515ea0bb6a6c2fea917"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxWindow::DestroyChildren </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Destroys all children of a window. </p>
<p>Called automatically by the destructor. </p>
</div>
</div>
<a class="anchor" id="a26d7329a9a753fa0445501f01f66c41e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxWindow::Disable </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Disables the window. </p>
<p>Same as <a class="el" href="classwx_window.html#a4e933aa891f42fbb3b87438057c573af">Enable()</a> Enable(<span class="literal">false</span>).</p>
<dl class="section return"><dt>Returns</dt><dd>Returns <span class="literal">true</span> if the window has been disabled, <span class="literal">false</span> if it had been already disabled before the call to this function. </dd></dl>
</div>
</div>
<a class="anchor" id="a2d10b472a4962d1c852c83d55252c44b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxWindow::DoCentre </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>direction</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Centres the window. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">direction</td><td>Specifies the direction for the centring. May be wxHORIZONTAL, wxVERTICAL or wxBOTH. It may also include the wxCENTRE_ON_SCREEN flag.</td></tr>
</table>
</dd>
</dl>
<dl class="section remark"><dt>Remarks</dt><dd>This function is not meant to be called directly by user code, but via Centre, Center, CentreOnParent, or CenterOnParent. This function can be overridden to fine-tune centring behaviour. </dd></dl>
</div>
</div>
<a class="anchor" id="a4a7af6aa217c9aa41d7ba3def3564520"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual int wxWindow::DoGetBestClientHeight </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>width</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Override this method to implement height-for-width best size calculation. </p>
<p>Return the height needed to fully display the control contents if its width is fixed to the given value. Custom classes implementing wrapping should override this method and return the height corresponding to the number of lines needed to lay out the control contents at this width.</p>
<p>Currently this method is not used by wxWidgets yet, however it is planned that it will be used by the new sizer classes implementing height-for-width layout strategy in the future.</p>
<p>Notice that implementing this method or even implementing both it and <a class="el" href="classwx_window.html#a9325f81776ce7167a42b6dd72aa0bd5c" title="Override this method to implement width-for-height best size calculation.">DoGetBestClientWidth()</a> doesn't replace overriding <a class="el" href="classwx_window.html#afe8447cb5975584ee3d4a03e3d02ee89" title="Override this method to return the best size for a custom control.">DoGetBestClientSize()</a>, i.e. you still need to implement the latter as well in order to provide the best size when neither width nor height are constrained.</p>
<p>By default returns <a class="el" href="defs_8h.html#ae297119c813ec5d3328ce3f43f9ac6c1" title="A special value meaning "use default coordinate".">wxDefaultCoord</a> meaning that the vertical component of <a class="el" href="classwx_window.html#afe8447cb5975584ee3d4a03e3d02ee89" title="Override this method to return the best size for a custom control.">DoGetBestClientSize()</a> return value should be used.</p>
<dl class="section since"><dt>Since</dt><dd>2.9.4 </dd></dl>
</div>
</div>
<a class="anchor" id="afe8447cb5975584ee3d4a03e3d02ee89"></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> wxWindow::DoGetBestClientSize </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Override this method to return the best size for a custom control. </p>
<p>A typical implementation of this method should compute the minimal size needed to fully display the control contents taking into account the current font size.</p>
<p>The default implementation simply returns <a class="el" href="gdicmn_8h.html#a33a012cdb075e9f78c93f63bec2dc27b" title="Global instance of a wxSize object initialized to (-1,-1).">wxDefaultSize</a> and <a class="el" href="classwx_window.html#a7e64b9380374e5681f146e9e319e35e3" title="This functions returns the best acceptable minimal size for the window.">GetBestSize()</a> returns an arbitrary hardcoded size for the window, so you must override it when implementing a custom window class.</p>
<p>Notice that the best size returned by this function is cached internally, so if anything that results in the best size changing (e.g. change to the control contents) happens, you need to call <a class="el" href="classwx_window.html#ae1b56ca87d8590ee5e576012229a380a" title="Resets the cached best size value so it will be recalculated the next time it is needed.">InvalidateBestSize()</a> to notify wxWidgets about it.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="overview_windowsizing.html">Window Sizing Overview</a></dd></dl>
<dl class="section since"><dt>Since</dt><dd>2.9.0 </dd></dl>
</div>
</div>
<a class="anchor" id="a9325f81776ce7167a42b6dd72aa0bd5c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual int wxWindow::DoGetBestClientWidth </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>height</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Override this method to implement width-for-height best size calculation. </p>
<p>This method is exactly the same as <a class="el" href="classwx_window.html#a4a7af6aa217c9aa41d7ba3def3564520" title="Override this method to implement height-for-width best size calculation.">DoGetBestClientHeight()</a> except that it determines the width assuming the height is fixed instead of vice versa.</p>
<dl class="section since"><dt>Since</dt><dd>2.9.4 </dd></dl>
</div>
</div>
<a class="anchor" id="a01e7604ab0f0b2b1a8e322a630a4669e"></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> wxWindow::DoGetBestSize </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implementation of <a class="el" href="classwx_window.html#a7e64b9380374e5681f146e9e319e35e3" title="This functions returns the best acceptable minimal size for the window.">GetBestSize()</a> that can be overridden. </p>
<p>Notice that it is usually more convenient to override <a class="el" href="classwx_window.html#afe8447cb5975584ee3d4a03e3d02ee89" title="Override this method to return the best size for a custom control.">DoGetBestClientSize()</a> rather than this method itself as you need to explicitly account for the window borders size if you do the latter.</p>
<p>The default implementation of this function is designed for use in container windows, such as <a class="el" href="classwx_panel.html" title="A panel is a window on which controls are placed.">wxPanel</a>, and works something like this:</p>
<ol type="1">
<li>If the window has a sizer then it is used to calculate the best size.</li>
<li>Otherwise if the window has layout constraints then those are used to calculate the best size.</li>
<li>Otherwise if the window has children then the best size is set to be large enough to show all the children.</li>
<li>Otherwise if there are no children then the window's minimal size will be used as its best size.</li>
<li>Otherwise if there is no minimal size set, then the current size is used for the best size.</li>
</ol>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="overview_windowsizing.html">Window Sizing Overview</a> </dd></dl>
<p>Reimplemented in <a class="el" href="classwx_rich_text_ctrl.html#add1eb24da3fba91c348f7372a3969638">wxRichTextCtrl</a>.</p>
</div>
</div>
<a class="anchor" id="ae8a84a80645e99f4d24a22e5c386f626"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxWindow::DoUpdateWindowUI </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_update_u_i_event.html">wxUpdateUIEvent</a> & </td>
<td class="paramname"><em>event</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>Does the window-specific updating after processing the update event. </p>
<p>This function is called by <a class="el" href="classwx_window.html#adf0a4987728bd0bf69f922641b3efbfc" title="This function sends one or more wxUpdateUIEvent to the window.">UpdateWindowUI()</a> in order to check return values in the <a class="el" href="classwx_update_u_i_event.html" title="This class is used for pseudo-events which are called by wxWidgets to give an application the chance ...">wxUpdateUIEvent</a> and act appropriately. For example, to allow frame and dialog title updating, wxWidgets implements this function as follows:</p>
<div class="fragment"><div class="line"><span class="comment">// do the window-specific processing after processing the update event</span></div>
<div class="line"><span class="keywordtype">void</span> wxTopLevelWindowBase::DoUpdateWindowUI(<a class="code" href="classwx_update_u_i_event.html" title="This class is used for pseudo-events which are called by wxWidgets to give an application the chance ...">wxUpdateUIEvent</a>& event)</div>
<div class="line">{</div>
<div class="line"> <span class="keywordflow">if</span> ( event.<a class="code" href="classwx_update_u_i_event.html#ac61d7606adecfe42790e199180572bf5" title="Returns true if the application has called Enable().">GetSetEnabled</a>() )</div>
<div class="line"> <a class="code" href="classwx_window.html#a4e933aa891f42fbb3b87438057c573af" title="Enable or disable the window for user input.">Enable</a>(event.<a class="code" href="classwx_update_u_i_event.html#a25d9c2e56638b3a5da39006f62f9467b" title="Returns true if the UI element should be enabled.">GetEnabled</a>());</div>
<div class="line"></div>
<div class="line"> <span class="keywordflow">if</span> ( event.<a class="code" href="classwx_update_u_i_event.html#a8212fb8f73b47cd5f99d8f7106de6661" title="Returns true if the application has called SetText().">GetSetText</a>() )</div>
<div class="line"> {</div>
<div class="line"> <span class="keywordflow">if</span> ( event.<a class="code" href="classwx_update_u_i_event.html#ab0aeaf65ea4fcae740afc061395d6fcd" title="Returns the text that should be set for the UI element.">GetText</a>() != GetTitle() )</div>
<div class="line"> SetTitle(event.<a class="code" href="classwx_update_u_i_event.html#ab0aeaf65ea4fcae740afc061395d6fcd" title="Returns the text that should be set for the UI element.">GetText</a>());</div>
<div class="line"> }</div>
<div class="line">}</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a7e7015bc61bd79b6821d2dccaecf9eda"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxWindow::DragAcceptFiles </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>accept</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>Enables or disables eligibility for drop file events (OnDropFiles). </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">accept</td><td>If <span class="literal">true</span>, the window is eligible for drop file events. If <span class="literal">false</span>, the window will not accept drop file events.</td></tr>
</table>
</dd>
</dl>
<dl class="section remark"><dt>Remarks</dt><dd>Windows only until version 2.8.9, available on all platforms since 2.8.10. Cannot be used together with <a class="el" href="classwx_window.html#ae34b4d45433ca8287df0e47d46411e58" title="Associates a drop target with this window.">SetDropTarget()</a> on non-Windows platforms.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#ae34b4d45433ca8287df0e47d46411e58" title="Associates a drop target with this window.">SetDropTarget()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a4e933aa891f42fbb3b87438057c573af"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxWindow::Enable </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>enable</em> = <code>true</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>Enable or disable the window for user input. </p>
<p>Note that when a parent window is disabled, all of its children are disabled as well and they are reenabled again when the parent is.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">enable</td><td>If <span class="literal">true</span>, enables the window for input. If <span class="literal">false</span>, disables the window.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns <span class="literal">true</span> if the window has been enabled or disabled, <span class="literal">false</span> if nothing was done, i.e. if the window had already been in the specified state.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a59452a5bd42f5ea4b31d7fc4aa59644f" title="Returns true if the window is enabled, i.e. if it accepts user input, false otherwise.">IsEnabled()</a>, <a class="el" href="classwx_window.html#a26d7329a9a753fa0445501f01f66c41e" title="Disables the window.">Disable()</a>, <a class="el" href="classwx_radio_box.html#a0e297404226d3737560ddd15eebcdccc" title="Enables or disables an individual button in the radiobox.">wxRadioBox::Enable</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a1203fbd238d781253b44e0e459532301"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::EndRepositioningChildren </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Fix child window positions after setting all of them at once. </p>
<p>This method must be called if and only if the previous call to <a class="el" href="classwx_window.html#ab4cea6ace96193b5c4282e097a6fbfee" title="Prepare for changing positions of multiple child windows.">BeginRepositioningChildren()</a> returned <span class="literal">true</span>.</p>
<dl class="section since"><dt>Since</dt><dd>2.9.5 </dd></dl>
</div>
</div>
<a class="anchor" id="a777258379a3eef1b0530f12db6b77cab"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classwx_window.html">wxWindow</a>* wxWindow::FindFocus </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Finds the window or control which currently has the keyboard focus. </p>
<dl class="section remark"><dt>Remarks</dt><dd>Note that this is a static function, so it can be called without needing 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> pointer.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a697f9f8d3ff389790f1c74b59bcb1d75" title="This sets the window to receive keyboard input.">SetFocus()</a>, <a class="el" href="classwx_window.html#a4e0abff99d64d2a595ee0ab4b415bbd6" title="Returns true if the window (or in case of composite controls, its main child window) has focus...">HasFocus()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a3468ef382c612b5f8e91c7c18d00a69f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_window.html">wxWindow</a>* wxWindow::FindWindow </td>
<td>(</td>
<td class="paramtype">long </td>
<td class="paramname"><em>id</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Find a child of this window, by <em>id</em>. </p>
<p>May return <em>this</em> if it matches itself.</p>
<p>Notice that only real children, not top level windows using this window as parent, are searched by this function. </p>
</div>
</div>
<a class="anchor" id="ab2dad735acc2121b964ee1d51836cffa"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_window.html">wxWindow</a>* wxWindow::FindWindow </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>name</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Find a child of this window, by name. </p>
<p>May return <em>this</em> if it matches itself.</p>
<p>Notice that only real children, not top level windows using this window as parent, are searched by this function. </p>
</div>
</div>
<a class="anchor" id="a101201b12ccd5fba49fa06ed19b5c6fb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classwx_window.html">wxWindow</a>* wxWindow::FindWindowById </td>
<td>(</td>
<td class="paramtype">long </td>
<td class="paramname"><em>id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>parent</em> = <code>0</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">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Find the first window with the given <em>id</em>. </p>
<p>If <em>parent</em> is <span class="literal">NULL</span>, the search will start from all top-level frames and dialog boxes; if non-<span class="literal">NULL</span>, the search will be limited to the given window hierarchy. The search is recursive in both cases.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a3468ef382c612b5f8e91c7c18d00a69f" title="Find a child of this window, by id.">FindWindow()</a></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>Window with the given <em>id</em> or <span class="literal">NULL</span> if not found. </dd></dl>
</div>
</div>
<a class="anchor" id="ab8eb148fffae109e0fac86e88d569670"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classwx_window.html">wxWindow</a>* wxWindow::FindWindowByLabel </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>label</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>parent</em> = <code>0</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">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Find a window by its label. </p>
<p>Depending on the type of window, the label may be a window title or panel item label. If <em>parent</em> is <span class="literal">NULL</span>, the search will start from all top-level frames and dialog boxes; if non-<span class="literal">NULL</span>, the search will be limited to the given window hierarchy. The search is recursive in both cases.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a3468ef382c612b5f8e91c7c18d00a69f" title="Find a child of this window, by id.">FindWindow()</a></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>Window with the given <em>label</em> or <span class="literal">NULL</span> if not found. </dd></dl>
</div>
</div>
<a class="anchor" id="adbe4eea02f615313c12a2c00557a44c3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classwx_window.html">wxWindow</a>* wxWindow::FindWindowByName </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>parent</em> = <code>0</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">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Find a window by its name (as given in a window constructor or <a class="el" href="classwx_window.html#a95b7ca8faa033f5ab35458887c07bf38">Create()</a> function call). </p>
<p>If <em>parent</em> is <span class="literal">NULL</span>, the search will start from all top-level frames and dialog boxes; if non-<span class="literal">NULL</span>, the search will be limited to the given window hierarchy.</p>
<p>The search is recursive in both cases. If no window with such name is found, <a class="el" href="classwx_window.html#ab8eb148fffae109e0fac86e88d569670" title="Find a window by its label.">FindWindowByLabel()</a> is called.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a3468ef382c612b5f8e91c7c18d00a69f" title="Find a child of this window, by id.">FindWindow()</a></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>Window with the given <em>name</em> or <span class="literal">NULL</span> if not found. </dd></dl>
</div>
</div>
<a class="anchor" id="a2bf38a6cbd1f82fb46f274396f482994"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxWindow::Fit </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>Sizes the window so that it fits around its subwindows. </p>
<p>This function won't do anything if there are no subwindows and will only really work correctly if sizers are used for the subwindows layout.</p>
<p>Also, if the window has exactly one subwindow it is better (faster and the result is more precise as <a class="el" href="classwx_window.html#a2bf38a6cbd1f82fb46f274396f482994" title="Sizes the window so that it fits around its subwindows.">Fit()</a> adds some margin to account for fuzziness of its calculations) to call:</p>
<div class="fragment"><div class="line">window->SetClientSize(child->GetSize());</div>
</div><!-- fragment --><p>instead of calling <a class="el" href="classwx_window.html#a2bf38a6cbd1f82fb46f274396f482994" title="Sizes the window so that it fits around its subwindows.">Fit()</a>.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="overview_windowsizing.html">Window Sizing Overview</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a55aca401aab29d59f7cc53f89ba2e38d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxWindow::FitInside </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>Similar to <a class="el" href="classwx_window.html#a2bf38a6cbd1f82fb46f274396f482994" title="Sizes the window so that it fits around its subwindows.">Fit()</a>, but sizes the interior (virtual) size of a window. </p>
<p>Mainly useful with scrolled windows to reset scrollbars after sizing changes that do not trigger a size event, and/or scrolled windows without an interior sizer. This function similarly won't do anything if there are no subwindows. </p>
</div>
</div>
<a class="anchor" id="a15c678314cfc1d807196bc298b713ed3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::Freeze </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Freezes the window or, in other words, prevents any updates from taking place on screen, the window is not redrawn at all. </p>
<p><a class="el" href="classwx_window.html#a279a532124073261b28131b6afb59a1e" title="Re-enables window updating after a previous call to Freeze().">Thaw()</a> must be called to reenable window redrawing. Calls to these two functions may be nested but to ensure that the window is properly repainted again, you must thaw it exactly as many times as you froze it.</p>
<p>If the window has any children, they are recursively frozen too.</p>
<p>This method is useful for visual appearance optimization (for example, it is a good idea to use it before doing many large text insertions in a row into a <a class="el" href="classwx_text_ctrl.html" title="A text control allows text to be displayed and edited.">wxTextCtrl</a> under wxGTK) but is not implemented on all platforms nor for all controls so it is mostly just a hint to wxWidgets and not a mandatory directive.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window_update_locker.html" title="This tiny class prevents redrawing of a wxWindow during its lifetime by using wxWindow::Freeze() and ...">wxWindowUpdateLocker</a>, <a class="el" href="classwx_window.html#a279a532124073261b28131b6afb59a1e" title="Re-enables window updating after a previous call to Freeze().">Thaw()</a>, <a class="el" href="classwx_window.html#a866c62cc23d8de88e952aad5db4d1a61" title="Returns true if the window is currently frozen by a call to Freeze().">IsFrozen()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="aefc02d7275010ebb8d5b66569e7287c4"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_accelerator_table.html">wxAcceleratorTable</a>* wxWindow::GetAcceleratorTable </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets the accelerator table for this window. </p>
<p>See <a class="el" href="classwx_accelerator_table.html" title="An accelerator table allows the application to specify a table of keyboard shortcuts for menu or butt...">wxAcceleratorTable</a>. </p>
</div>
</div>
<a class="anchor" id="ae0469b554e9c501b356b3ed4b6d8a3af"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_accessible.html">wxAccessible</a>* wxWindow::GetAccessible </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the accessible object for this window, if any. </p>
<p>See also <a class="el" href="classwx_accessible.html" title="The wxAccessible class allows wxWidgets applications, and wxWidgets itself, to return extended inform...">wxAccessible</a>. </p>
</div>
</div>
<a class="anchor" id="ad7a9d7fca325112fae493a00d253b3be"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxWindow::GetAutoLayout </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the sizer of which this window is a member, if any, otherwise <span class="literal">NULL</span>. </p>
</div>
</div>
<a class="anchor" id="a3006d98a4145b7064c1f08e39487d257"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_colour.html">wxColour</a> wxWindow::GetBackgroundColour </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the background colour of the window. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a37219df52734626e23401fd83b25d8a0" title="Sets the background colour of the window.">SetBackgroundColour()</a>, <a class="el" href="classwx_window.html#a69f1e1c7ddd370d72e68c70f13ac8de9" title="Sets the foreground colour of the window.">SetForegroundColour()</a>, <a class="el" href="classwx_window.html#acb8e9bd1c88f330bc9748255a5592964" title="Returns the foreground colour of the window.">GetForegroundColour()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a59047d52b88f2422bbcf01bbecdc4b7b"></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="defs_8h.html#a4bc8ece80d508fd70283b5a3b4c41e5f">wxBackgroundStyle</a> wxWindow::GetBackgroundStyle </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</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>Returns the background style of the window. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a37219df52734626e23401fd83b25d8a0" title="Sets the background colour of the window.">SetBackgroundColour()</a>, <a class="el" href="classwx_window.html#acb8e9bd1c88f330bc9748255a5592964" title="Returns the foreground colour of the window.">GetForegroundColour()</a>, <a class="el" href="classwx_window.html#af14f8fd2ed2d30a9bbb5d4f9fd6594ec" title="Sets the background style of the window.">SetBackgroundStyle()</a>, <a class="el" href="classwx_window.html#ac8cf4398cec50ac36634760f45a0656f" title="Set the transparency of the window.">SetTransparent()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ae314d583790739dd751dedec49216b88"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int wxWindow::GetBestHeight </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>width</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the best height needed by this window if it had the given width. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a4a7af6aa217c9aa41d7ba3def3564520" title="Override this method to implement height-for-width best size calculation.">DoGetBestClientHeight()</a></dd></dl>
<dl class="section since"><dt>Since</dt><dd>2.9.4 </dd></dl>
</div>
</div>
<a class="anchor" id="a7e64b9380374e5681f146e9e319e35e3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_size.html">wxSize</a> wxWindow::GetBestSize </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>This functions returns the best acceptable minimal size for the window. </p>
<p>For example, for a static control, it will be the minimal size such that the control label is not truncated. For windows containing subwindows (typically <a class="el" href="classwx_panel.html" title="A panel is a window on which controls are placed.">wxPanel</a>), the size returned by this function will be the same as the size the window would have had after calling <a class="el" href="classwx_window.html#a2bf38a6cbd1f82fb46f274396f482994" title="Sizes the window so that it fits around its subwindows.">Fit()</a>.</p>
<p>Override virtual <a class="el" href="classwx_window.html#a01e7604ab0f0b2b1a8e322a630a4669e" title="Implementation of GetBestSize() that can be overridden.">DoGetBestSize()</a> or, better, because it's usually more convenient, <a class="el" href="classwx_window.html#afe8447cb5975584ee3d4a03e3d02ee89" title="Override this method to return the best size for a custom control.">DoGetBestClientSize()</a> when writing your own custom window class to change the value returned by this public non-virtual method.</p>
<p>Notice that the best size respects the minimal and maximal size explicitly set for the window, if any. So even if some window believes that it needs 200 pixels horizontally, calling <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...">SetMaxSize()</a> with a width of 100 would ensure that <a class="el" href="classwx_window.html#a7e64b9380374e5681f146e9e319e35e3" title="This functions returns the best acceptable minimal size for the window.">GetBestSize()</a> returns the width of at most 100 pixels.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a100905524d330cfd9620fd726e378066" title="Sets the cached best size value.">CacheBestSize()</a>, <a class="el" href="overview_windowsizing.html">Window Sizing Overview</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a0180343fa395e0c8e6de4022684ca5d6"></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> wxWindow::GetBestVirtualSize </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</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>Return the largest of ClientSize and BestSize (as determined by a sizer, interior children, or other means) </p>
</div>
</div>
<a class="anchor" id="ac6ca826451f19a8814d12c31cda2afab"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int wxWindow::GetBestWidth </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>height</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the best width needed by this window if it had the given height. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a9325f81776ce7167a42b6dd72aa0bd5c" title="Override this method to implement width-for-height best size calculation.">DoGetBestClientWidth()</a></dd></dl>
<dl class="section since"><dt>Since</dt><dd>2.9.4 </dd></dl>
</div>
</div>
<a class="anchor" id="ad95a95e683e57ac6365745b737571582"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="defs_8h.html#af63c94dff4e3f25a3c5e9d2874456edf">wxBorder</a> wxWindow::GetBorder </td>
<td>(</td>
<td class="paramtype">long </td>
<td class="paramname"><em>flags</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the window border style from the given flags: this is different from simply doing flags & wxBORDER_MASK because it uses GetDefaultBorder() to translate wxBORDER_DEFAULT to something reasonable. </p>
</div>
</div>
<a class="anchor" id="aa53c8d1b5af17a8fbbe8845210e2032b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="defs_8h.html#af63c94dff4e3f25a3c5e9d2874456edf">wxBorder</a> wxWindow::GetBorder </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Get border for the flags of this window. </p>
</div>
</div>
<a class="anchor" id="a483d3f73925bd38c3964dad058672f0a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classwx_window.html">wxWindow</a>* wxWindow::GetCapture </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the currently captured window. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a9b44f61543b77317f9820e06856c5514" title="Returns true if this window has the current mouse capture.">HasCapture()</a>, <a class="el" href="classwx_window.html#a5c72c6260a73ef77bb0b1f7ec85fcfef" title="Directs all mouse input to this window.">CaptureMouse()</a>, <a class="el" href="classwx_window.html#adcc538819c11ecb3bd3e4e5d13c5ba7a" title="Releases mouse input captured with CaptureMouse().">ReleaseMouse()</a>, <a class="el" href="classwx_mouse_capture_lost_event.html" title="A mouse capture lost event is sent to a window that had obtained mouse capture, which was subsequentl...">wxMouseCaptureLostEvent</a>, <a class="el" href="classwx_mouse_capture_changed_event.html" title="An mouse capture changed event is sent to a window that loses its mouse capture.">wxMouseCaptureChangedEvent</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a83ed7c9d9252b912eebc753d6132245b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_caret.html">wxCaret</a>* wxWindow::GetCaret </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the caret() associated with the window. </p>
</div>
</div>
<a class="anchor" id="a304b4446de399b240a3fa4aa83a2e468"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual int wxWindow::GetCharHeight </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</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>Returns the character height for this window. </p>
</div>
</div>
<a class="anchor" id="aef2745df13435e913027107cab2a6286"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual int wxWindow::GetCharWidth </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</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>Returns the average character width for this window. </p>
</div>
</div>
<a class="anchor" id="ad500085ad0511879b5e018706c91a494"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">wxWindowList& wxWindow::GetChildren </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a reference to the list of the window's children. </p>
<p><code>wxWindowList</code> is a type-safe wxList-like class whose elements are of type <code>wxWindow*</code>. </p>
</div>
</div>
<a class="anchor" id="a666cfe7cc8eda6fcecfd39c67c50f609"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const wxWindowList& wxWindow::GetChildren </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</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="a170d85e4aa0cbacbfcdd0728120e1417"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="structwx_visual_attributes.html">wxVisualAttributes</a> wxWindow::GetClassDefaultAttributes </td>
<td>(</td>
<td class="paramtype"><a class="el" href="window_8h.html#a879bccd2c987fedf06030a8abcbba8ac">wxWindowVariant</a> </td>
<td class="paramname"><em>variant</em> = <code><a class="el" href="window_8h.html#a879bccd2c987fedf06030a8abcbba8aca0e936e160cfb2b98d8a7bc38bfaee234">wxWINDOW_VARIANT_NORMAL</a></code></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the default font and colours which are used by the control. </p>
<p>This is useful if you want to use the same font or colour in your own control as in a standard control – which is a much better idea than hard coding specific colours or fonts which might look completely out of place on the users system, especially if it uses themes.</p>
<p>The <em>variant</em> parameter is only relevant under Mac currently and is ignore under other platforms. Under Mac, it will change the size of the returned font. See <a class="el" href="classwx_window.html#acd955418c336e73b3e32cadf1ca46e29" title="Chooses a different variant of the window display to use.">SetWindowVariant()</a> for more about this.</p>
<p>This static method is "overridden" in many derived classes and so calling, for example, <a class="el" href="classwx_window.html#a170d85e4aa0cbacbfcdd0728120e1417" title="Returns the default font and colours which are used by the control.">wxButton::GetClassDefaultAttributes()</a> will typically return the values appropriate for a button which will be normally different from those returned by, say, <a class="el" href="classwx_window.html#a170d85e4aa0cbacbfcdd0728120e1417" title="Returns the default font and colours which are used by the control.">wxListCtrl::GetClassDefaultAttributes()</a>.</p>
<p>The <code><a class="el" href="structwx_visual_attributes.html" title="Struct containing all the visual attributes of a control.">wxVisualAttributes</a></code> structure has at least the fields <code>font</code>, <code>colFg</code> and <code>colBg</code>. All of them may be invalid if it was not possible to determine the default control appearance or, especially for the background colour, if the field doesn't make sense as is the case for <code>colBg</code> for the controls with themed background.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a6b1bf9e099704e7a493b8c4666b1f7f7" title="This function is (or should be, in case of custom controls) called during window creation to intellig...">InheritAttributes()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a8fd1c0fd88d63dfbf6fefb688b7fd19e"></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_point.html">wxPoint</a> wxWindow::GetClientAreaOrigin </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</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>Get the origin of the client area of the window relative to the window top left corner (the client area may be shifted because of the borders, scrollbars, other decorations...) </p>
<p>Reimplemented in <a class="el" href="classwx_frame.html#ab4c447b8c1b139680d3ce4858dcd5db4">wxFrame</a>.</p>
</div>
</div>
<a class="anchor" id="a3928765a8dd3c5c3d6a689179c8005e0"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_rect.html">wxRect</a> wxWindow::GetClientRect </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the client rectangle in window (i.e. client) coordinates. </p>
</div>
</div>
<a class="anchor" id="ae56fc53268b815b58570f66bfc33838f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::GetClientSize </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> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the size of the window 'client area' in pixels. </p>
<p>The client area is the area which may be drawn on by the programmer, excluding title bar, border, scrollbars, etc. Note that if this window is a top-level one and it is currently minimized, the return size is empty (both width and height are 0).</p>
<p><b>wxPerl Note:</b> In wxPerl this method takes no parameters and returns a 2-element list (width, height).</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a124c12cff1e7b6e96a5e1fd3e48dca34" title="Returns the size of the entire window in pixels, including title bar, border, scrollbars, etc.">GetSize()</a>, <a class="el" href="classwx_window.html#a614d32c464296b7d6caabcafc18deb97" title="This gets the virtual size of the window in pixels.">GetVirtualSize()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="afb9fd4a3b3310b2e11049a5113f749fa"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_size.html">wxSize</a> wxWindow::GetClientSize </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</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="ac5664c7cd26848b5eebfaded2ecde7be"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_layout_constraints.html">wxLayoutConstraints</a>* wxWindow::GetConstraints </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a pointer to the window's layout constraints, or <span class="literal">NULL</span> if there are none. </p>
</div>
</div>
<a class="anchor" id="ade8de9a91bb5bf49c3a52e5262a5ffea"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_sizer.html">wxSizer</a>* wxWindow::GetContainingSizer </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the sizer of which this window is a member, if any, otherwise <span class="literal">NULL</span>. </p>
</div>
</div>
<a class="anchor" id="a6f230d4db56d1d2ab364fe1491f2e9ba"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual double wxWindow::GetContentScaleFactor </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</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>Returns the magnification of the backing store of this window, eg 2.0 for a window on a retina screen. </p>
<dl class="section since"><dt>Since</dt><dd>2.9.5 </dd></dl>
</div>
</div>
<a class="anchor" id="ad7ce1e9af33e6be0b608813eff2d349c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classwx_cursor.html">wxCursor</a>& wxWindow::GetCursor </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Return the cursor associated with this window. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#ad83f9c51c6f31e0e05f598b47a19ed98" title="Sets the window's cursor.">SetCursor()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a24e7b8f717e91f4590d148140e853dc5"></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="structwx_visual_attributes.html">wxVisualAttributes</a> wxWindow::GetDefaultAttributes </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</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>Currently this is the same as calling <a class="el" href="classwx_window.html#a170d85e4aa0cbacbfcdd0728120e1417" title="Returns the default font and colours which are used by the control.">wxWindow::GetClassDefaultAttributes</a>(<a class="el" href="classwx_window.html#aafcccd0d5d31651484df02453c53361c" title="Returns the value previously passed to SetWindowVariant().">wxWindow::GetWindowVariant()</a>). </p>
<p>One advantage of using this function compared to the static version is that the call is automatically dispatched to the correct class (as usual with virtual functions) and you don't have to specify the class name explicitly.</p>
<p>The other one is that in the future this function could return different results, for example it might return a different font for an "Ok" button than for a generic button if the users GUI is configured to show such buttons in bold font. Of course, the down side is that it is impossible to call this function without actually having an object to apply it to whereas the static version can be used without having to create an object first. </p>
</div>
</div>
<a class="anchor" id="a4511e71affd926a47c5c320563ca2df5"></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_drop_target.html">wxDropTarget</a>* wxWindow::GetDropTarget </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</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>Returns the associated drop target, which may be <span class="literal">NULL</span>. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#ae34b4d45433ca8287df0e47d46411e58" title="Associates a drop target with this window.">SetDropTarget()</a>, <a class="el" href="overview_dnd.html">Drag and Drop Overview</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a1a54fcda8d52986482e030bd54739e9f"></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> wxWindow::GetEffectiveMinSize </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</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>Merges the window's best size into the min size and returns the result. </p>
<p>This is the value used by sizers to determine the appropriate amount of space to allocate for the widget.</p>
<p>This is the method called by a <a class="el" href="classwx_sizer.html" title="wxSizer is the abstract base class used for laying out subwindows in a window.">wxSizer</a> when it queries the size of a window or control.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a7e64b9380374e5681f146e9e319e35e3" title="This functions returns the best acceptable minimal size for the window.">GetBestSize()</a>, <a class="el" href="classwx_window.html#a1b309ca50ba87e34f968c83b79af1397" title="A smart SetSize that will fill in default size components with the window's best size values...">SetInitialSize()</a>, <a class="el" href="overview_windowsizing.html">Window Sizing Overview</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a72c2454cf309f30109da3cbfe237c760"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_evt_handler.html">wxEvtHandler</a>* wxWindow::GetEventHandler </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the event handler for this window. </p>
<p>By default, the window is its own event handler.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#af6c84b7679183b377ba27a52a2f708b4" title="Sets the event handler for this window.">SetEventHandler()</a>, <a class="el" href="classwx_window.html#a398c11ab9af7956067a964f560d1978c" title="Pushes this event handler onto the event stack for the window.">PushEventHandler()</a>, <a class="el" href="classwx_window.html#ac45c1f4cf96c70779764c14cf528790b" title="Removes and returns the top-most event handler on the event handler stack.">PopEventHandler()</a>, <a class="el" href="classwx_evt_handler.html#a65968dd27f3aac7718f2dd6b2ddd5a08" title="Processes an event, searching event tables and calling zero or more suitable event handler function(s...">wxEvtHandler::ProcessEvent</a>, <a class="el" href="classwx_evt_handler.html" title="A class that can handle events from the windowing system.">wxEvtHandler</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a8da0e59017af368c062f11c9abe2c667"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">long wxWindow::GetExtraStyle </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the extra style bits for the window. </p>
</div>
</div>
<a class="anchor" id="a0dcc6f6f7bda203a868ff10c413289fa"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_font.html">wxFont</a> wxWindow::GetFont </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the font for this window. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a9ab11e7da57a1d08918aa75fc33f6ad3" title="Sets the font for this window.">SetFont()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="acb8e9bd1c88f330bc9748255a5592964"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_colour.html">wxColour</a> wxWindow::GetForegroundColour </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the foreground colour of the window. </p>
<dl class="section remark"><dt>Remarks</dt><dd>The meaning of foreground colour varies according to the window class; it may be the text colour or other colour, or it may not be used at all.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a69f1e1c7ddd370d72e68c70f13ac8de9" title="Sets the foreground colour of the window.">SetForegroundColour()</a>, <a class="el" href="classwx_window.html#a37219df52734626e23401fd83b25d8a0" title="Sets the background colour of the window.">SetBackgroundColour()</a>, <a class="el" href="classwx_window.html#a3006d98a4145b7064c1f08e39487d257" title="Returns the background colour of the window.">GetBackgroundColour()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a55d3155d2d3139a84e8fb19a8900aa76"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_window.html">wxWindow</a>* wxWindow::GetGrandParent </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the grandparent of a window, or <span class="literal">NULL</span> if there isn't one. </p>
</div>
</div>
<a class="anchor" id="a185e6cd7065367b552748cb722651b27"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual WXWidget wxWindow::GetHandle </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</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>Returns the platform-specific handle of the physical window. </p>
<p>Cast it to an appropriate handle, such as <b>HWND</b> for Windows, <b>Widget</b> for Motif or <b>GtkWidget</b> for GTK.</p>
<p><b>wxPerl Note:</b> This method will return an integer in wxPerl. </p>
</div>
</div>
<a class="anchor" id="a77f8a4bbee228ed333af2e6a06509cff"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a> wxWindow::GetHelpText </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets the help text to be used as context-sensitive help for this window. </p>
<p>Note that the text is actually stored by the current <a class="el" href="classwx_help_provider.html" title="wxHelpProvider is an abstract class used by a program implementing context-sensitive help to show the...">wxHelpProvider</a> implementation, and not in the window object itself.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a4c1a2cbc7363237b3a7c70af4e702c72" title="Sets the help text to be used as context-sensitive help for this window.">SetHelpText()</a>, <a class="el" href="classwx_window.html#afa448f4e01bedc4a5e3d4324929e5d5d" title="Gets the help text to be used as context-sensitive help for this window.">GetHelpTextAtPoint()</a>, <a class="el" href="classwx_help_provider.html" title="wxHelpProvider is an abstract class used by a program implementing context-sensitive help to show the...">wxHelpProvider</a> </dd></dl>
</div>
</div>
<a class="anchor" id="afa448f4e01bedc4a5e3d4324929e5d5d"></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_string.html">wxString</a> wxWindow::GetHelpTextAtPoint </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_point.html">wxPoint</a> & </td>
<td class="paramname"><em>point</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classwx_help_event.html#a29fe3ca1a548472f0abd0ae94b5def0c">wxHelpEvent::Origin</a> </td>
<td class="paramname"><em>origin</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</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>Gets the help text to be used as context-sensitive help for this window. </p>
<p>This method should be overridden if the help message depends on the position inside the window, otherwise <a class="el" href="classwx_window.html#a77f8a4bbee228ed333af2e6a06509cff" title="Gets the help text to be used as context-sensitive help for this window.">GetHelpText()</a> can be used.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">point</td><td>Coordinates of the mouse at the moment of help event emission. </td></tr>
<tr><td class="paramname">origin</td><td>Help event origin, see also <a class="el" href="classwx_help_event.html#a55ce4340d1254116a80cb6a8352d33ae" title="Returns the origin of the help event which is one of the wxHelpEvent::Origin values.">wxHelpEvent::GetOrigin</a>. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a4633b6ad527c921598f55af5274156f0"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="windowid_8h.html#ae8091432cc2cb2485d45f2302fb51133">wxWindowID</a> wxWindow::GetId </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the identifier of the window. </p>
<dl class="section remark"><dt>Remarks</dt><dd>Each window has an integer identifier. If the application has not provided one (or the default wxID_ANY) a unique identifier with a negative value will be generated.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a7f27d0faed14effa013381bdc40e1bcd" title="Sets the identifier of the window.">SetId()</a>, <a class="el" href="overview_windowids.html">Window IDs</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a87fc676546f2ab837342b2e164dd52f0"></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_string.html">wxString</a> wxWindow::GetLabel </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</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>Generic way of getting a label from any window, for identification purposes. </p>
<dl class="section remark"><dt>Remarks</dt><dd>The interpretation of this function differs from class to class. For frames and dialogs, the value returned is the title. For buttons or static text controls, it is the button text. This function can be useful for meta-programs (such as testing tools or special-needs access programs) which need to identify windows by name. </dd></dl>
<p>Reimplemented in <a class="el" href="classwx_button.html#ab2e600e498ab8b2119a9cdc6ae93612d">wxButton</a>, <a class="el" href="classwx_control.html#a0c15321992cfb77595db57cd4e4aec37">wxControl</a>, and <a class="el" href="classwx_command_link_button.html#a62f9b9ae4a163d4e202498edcccedea3">wxCommandLinkButton</a>.</p>
</div>
</div>
<a class="anchor" id="a0a624f5fad4a603d58ffe94b058d4dda"></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="intl_8h.html#a7e30efec05ef9b40b1750ac046400c81">wxLayoutDirection</a> wxWindow::GetLayoutDirection </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</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>Returns the layout direction for this window, Note that <code>wxLayout_Default</code> is returned if layout direction is not supported. </p>
</div>
</div>
<a class="anchor" id="aef9b71458720452374137cd20be24b97"></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> wxWindow::GetMaxClientSize </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</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>Returns the maximum size of window's client area. </p>
<p>This is an indication to the sizer layout mechanism that this is the maximum possible size as well as the upper bound on window's size settable using <a class="el" href="classwx_window.html#aa59f715217fffa5bcf14cd97f92e7840" title="This sets the size of the window client area in pixels.">SetClientSize()</a>.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a0a1672e81caf81a95eb5b48383d22065" title="Returns the maximum size of the window.">GetMaxSize()</a>, <a class="el" href="overview_windowsizing.html">Window Sizing Overview</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a5cc2082eb5ddb27f97be191bd093709e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int wxWindow::GetMaxHeight </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the vertical component of window maximal size. </p>
<p>The returned value is wxDefaultCoord if the maximal width was not set.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a0a1672e81caf81a95eb5b48383d22065" title="Returns the maximum size of the window.">GetMaxSize()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a0a1672e81caf81a95eb5b48383d22065"></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> wxWindow::GetMaxSize </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</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>Returns the maximum size of the window. </p>
<p>This is an indication to the sizer layout mechanism that this is the maximum possible size as well as the upper bound on window's size settable using <a class="el" href="classwx_window.html#a180312d5ad4a4a5ad805b8d52d67a74e" title="Sets the size of the window in pixels.">SetSize()</a>.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#aef9b71458720452374137cd20be24b97" title="Returns the maximum size of window's client area.">GetMaxClientSize()</a>, <a class="el" href="overview_windowsizing.html">Window Sizing Overview</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a2e953a64c41131b87bdd7c513ced3687"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int wxWindow::GetMaxWidth </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the horizontal component of window maximal size. </p>
<p>The returned value is wxDefaultCoord if the maximal width was not set.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a0a1672e81caf81a95eb5b48383d22065" title="Returns the maximum size of the window.">GetMaxSize()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a8e88d1d38c2bf98a72d86b42cf3e35c0"></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> wxWindow::GetMinClientSize </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</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>Returns the minimum size of window's client area, an indication to the sizer layout mechanism that this is the minimum required size of its client area. </p>
<p>It normally just returns the value set by <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...">SetMinClientSize()</a>, but it can be overridden to do the calculation on demand.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a853c9a8443f996a368569a8fae551f5a" title="Returns the minimum size of the window, an indication to the sizer layout mechanism that this is the ...">GetMinSize()</a>, <a class="el" href="overview_windowsizing.html">Window Sizing Overview</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ae4dd9a046ff774ea3ef114caeb452681"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int wxWindow::GetMinHeight </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the vertical component of window minimal size. </p>
<p>The returned value is wxDefaultCoord if the minimal height was not set.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a853c9a8443f996a368569a8fae551f5a" title="Returns the minimum size of the window, an indication to the sizer layout mechanism that this is the ...">GetMinSize()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a853c9a8443f996a368569a8fae551f5a"></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> wxWindow::GetMinSize </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</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>Returns the minimum size of the window, an indication to the sizer layout mechanism that this is the minimum required size. </p>
<p>This method normally just returns the value set by <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...">SetMinSize()</a>, but it can be overridden to do the calculation on demand.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a8e88d1d38c2bf98a72d86b42cf3e35c0" title="Returns the minimum size of window's client area, an indication to the sizer layout mechanism that th...">GetMinClientSize()</a>, <a class="el" href="overview_windowsizing.html">Window Sizing Overview</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a9f79aa07a1b82a9a738f6c1d9c17496f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int wxWindow::GetMinWidth </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the horizontal component of window minimal size. </p>
<p>The returned value is wxDefaultCoord if the minimal width was not set.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a853c9a8443f996a368569a8fae551f5a" title="Returns the minimum size of the window, an indication to the sizer layout mechanism that this is the ...">GetMinSize()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="aab1b302c4bdabd134ce8d401dbaaf990"></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_string.html">wxString</a> wxWindow::GetName </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</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>Returns the window's name. </p>
<dl class="section remark"><dt>Remarks</dt><dd>This name is not guaranteed to be unique; it is up to the programmer to supply an appropriate name in the window constructor or via <a class="el" href="classwx_window.html#af80875cda5e1af98dcd7c8e712e3c800" title="Sets the window's name.">SetName()</a>.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#af80875cda5e1af98dcd7c8e712e3c800" title="Sets the window's name.">SetName()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a41608736affe2ff115d80d8f69dc832e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_window.html">wxWindow</a>* wxWindow::GetNextSibling </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the next window after this one among the parent's children or <span class="literal">NULL</span> if this window is the last child. </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_window.html#aa4cb912eb28be31279fa1b95747c6d02" title="Returns the previous window before this one among the parent's children or NULL if this window is th...">GetPrevSibling()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a63871f881941b99b4b94328d1c4cd163"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_window.html">wxWindow</a>* wxWindow::GetParent </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the parent of the window, or <span class="literal">NULL</span> if there is no parent. </p>
</div>
</div>
<a class="anchor" id="a9b7de6ea85ca926b668ba0682a61a93e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int wxWindow::GetPopupMenuSelectionFromUser </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_menu.html">wxMenu</a> & </td>
<td class="paramname"><em>menu</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_point.html">wxPoint</a> & </td>
<td class="paramname"><em>pos</em> = <code><a class="el" href="gdicmn_8h.html#af5a90c753eaf3d3e3e5068a19ec3c1d0">wxDefaultPosition</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>This function shows a popup menu at the given position in this window and returns the selected id. </p>
<p>It can be more convenient than the general purpose <a class="el" href="classwx_window.html#a8f715d238cf74a845488b0e2645e98df" title="Pops up the given menu at the specified coordinates, relative to this window, and returns control whe...">PopupMenu()</a> function for simple menus proposing a choice in a list of strings to the user.</p>
<p>Notice that to avoid unexpected conflicts between the (usually consecutive range of) ids used by the menu passed to this function and the existing EVT_UPDATE_UI() handlers, this function temporarily disables UI updates for the window, so you need to manually disable (or toggle or ...) any items which should be disabled in the menu before showing it.</p>
<p>The parameter <em>menu</em> is the menu to show. The parameter <em>pos</em> (or the parameters <em>x</em> and <em>y</em>) is the position at which to show the menu in client coordinates. It is recommended to not explicitly specify coordinates when calling this method in response to mouse click, because some of the ports (namely, wxGTK) can do a better job of positioning the menu in that case.</p>
<dl class="section return"><dt>Returns</dt><dd>The selected menu item id or <code>wxID_NONE</code> if none selected or an error occurred.</dd></dl>
<dl class="section since"><dt>Since</dt><dd>2.9.0 </dd></dl>
</div>
</div>
<a class="anchor" id="a00f5cb3cac003205317a565a33d4bb27"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int wxWindow::GetPopupMenuSelectionFromUser </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_menu.html">wxMenu</a> & </td>
<td class="paramname"><em>menu</em>, </td>
</tr>
<tr>
<td class="paramkey"></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></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="a9f36392b289a1e567e95bee073d6533e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::GetPosition </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></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>This gets the position of the window in pixels, relative to the parent window for the child windows or relative to the display origin for the top level windows. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td>Receives the x position of the window if non-<span class="literal">NULL</span>. </td></tr>
<tr><td class="paramname">y</td><td>Receives the y position of the window if non-<span class="literal">NULL</span>.</td></tr>
</table>
</dd>
</dl>
<p><b>wxPerl Note:</b> In wxPerl this method is implemented as GetPositionXY() returning a 2-element list (x, y).</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#abd39ef50fbc1ef3771f695e7322e8c1d" title="Returns the window position in screen coordinates, whether the window is a child window or a top leve...">GetScreenPosition()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ad9a883e20827fa717e92fc2f8bd99d6b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_point.html">wxPoint</a> wxWindow::GetPosition </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>This gets the position of the window in pixels, relative to the parent window for the child windows or relative to the display origin for the top level windows. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#abd39ef50fbc1ef3771f695e7322e8c1d" title="Returns the window position in screen coordinates, whether the window is a child window or a top leve...">GetScreenPosition()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="aa4cb912eb28be31279fa1b95747c6d02"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_window.html">wxWindow</a>* wxWindow::GetPrevSibling </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the previous window before this one among the parent's children or <code></code> <span class="literal">NULL</span> if this window is the first child. </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_window.html#a41608736affe2ff115d80d8f69dc832e" title="Returns the next window after this one among the parent's children or NULL if this window is the last...">GetNextSibling()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ac8809904bb379c32c33c79fbe38745eb"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_rect.html">wxRect</a> wxWindow::GetRect </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the position and size of the window as a <a class="el" href="classwx_rect.html" title="A class for manipulating rectangles.">wxRect</a> object. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a5c0e45fac07ac4cf29eefa108337a110" title="Returns the position and size of the window on the screen as a wxRect object.">GetScreenRect()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="abd39ef50fbc1ef3771f695e7322e8c1d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::GetScreenPosition </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></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the window position in screen coordinates, whether the window is a child window or a top level one. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td>Receives the x position of the window on the screen if non-<span class="literal">NULL</span>. </td></tr>
<tr><td class="paramname">y</td><td>Receives the y position of the window on the screen if non-<span class="literal">NULL</span>.</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a9f36392b289a1e567e95bee073d6533e" title="This gets the position of the window in pixels, relative to the parent window for the child windows o...">GetPosition()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a32074a2c677ebadb1ed6e92ab172656c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_point.html">wxPoint</a> wxWindow::GetScreenPosition </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the window position in screen coordinates, whether the window is a child window or a top level one. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a9f36392b289a1e567e95bee073d6533e" title="This gets the position of the window in pixels, relative to the parent window for the child windows o...">GetPosition()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a5c0e45fac07ac4cf29eefa108337a110"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_rect.html">wxRect</a> wxWindow::GetScreenRect </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the position and size of the window on the screen as a <a class="el" href="classwx_rect.html" title="A class for manipulating rectangles.">wxRect</a> object. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#ac8809904bb379c32c33c79fbe38745eb" title="Returns the position and size of the window as a wxRect object.">GetRect()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a3e23d10c17943fd873d0acb472db0caa"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual int wxWindow::GetScrollPos </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>orientation</em></td><td>)</td>
<td> const</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>Returns the built-in scrollbar position. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#aa842d59529f873683e55cd8392ec46e9" title="Sets the scrollbar properties of a built-in scrollbar.">SetScrollbar()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a067d2a38efbf2f535f717f1027003281"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual int wxWindow::GetScrollRange </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>orientation</em></td><td>)</td>
<td> const</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>Returns the built-in scrollbar range. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#aa842d59529f873683e55cd8392ec46e9" title="Sets the scrollbar properties of a built-in scrollbar.">SetScrollbar()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a10d24c60525a1c612cd775fc44dd1953"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual int wxWindow::GetScrollThumb </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>orientation</em></td><td>)</td>
<td> const</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>Returns the built-in scrollbar thumb size. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#aa842d59529f873683e55cd8392ec46e9" title="Sets the scrollbar properties of a built-in scrollbar.">SetScrollbar()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a124c12cff1e7b6e96a5e1fd3e48dca34"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::GetSize </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> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the size of the entire window in pixels, including title bar, border, scrollbars, etc. </p>
<p>Note that if this window is a top-level one and it is currently minimized, the returned size is the restored window size, not the size of the window icon.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">width</td><td>Receives the window width. </td></tr>
<tr><td class="paramname">height</td><td>Receives the window height.</td></tr>
</table>
</dd>
</dl>
<p><b>wxPerl Note:</b> In wxPerl this method is implemented as GetSizeWH() returning a 2-element list (width, height).</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#ae56fc53268b815b58570f66bfc33838f" title="Returns the size of the window 'client area' in pixels.">GetClientSize()</a>, <a class="el" href="classwx_window.html#a614d32c464296b7d6caabcafc18deb97" title="This gets the virtual size of the window in pixels.">GetVirtualSize()</a>, <a class="el" href="overview_windowsizing.html">Window Sizing Overview</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a66e144ed8ab9a20e080ae6c69fc7015c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_size.html">wxSize</a> wxWindow::GetSize </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>See the GetSize(int*,int*) overload for more info. </p>
</div>
</div>
<a class="anchor" id="ad8284cce1a2afe57724b52a89d7fac2f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_sizer.html">wxSizer</a>* wxWindow::GetSizer </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the sizer associated with the window by a previous call to <a class="el" href="classwx_window.html#abc95691b45e29a52c24aa9d33d46dec1" title="Sets the window to have the given layout sizer.">SetSizer()</a>, or <span class="literal">NULL</span>. </p>
</div>
</div>
<a class="anchor" id="ac9cd7b4472d5419e518f69311914466f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::GetTextExtent </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>string</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int * </td>
<td class="paramname"><em>w</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int * </td>
<td class="paramname"><em>h</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int * </td>
<td class="paramname"><em>descent</em> = <code>NULL</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int * </td>
<td class="paramname"><em>externalLeading</em> = <code>NULL</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_font.html">wxFont</a> * </td>
<td class="paramname"><em>font</em> = <code>NULL</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets the dimensions of the string as it would be drawn on the window with the currently selected font. </p>
<p>The text extent is returned in the <em>w</em> and <em>h</em> pointers.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">string</td><td>String whose extent is to be measured. </td></tr>
<tr><td class="paramname">w</td><td>Return value for width. </td></tr>
<tr><td class="paramname">h</td><td>Return value for height. </td></tr>
<tr><td class="paramname">descent</td><td>Return value for descent (optional). </td></tr>
<tr><td class="paramname">externalLeading</td><td>Return value for external leading (optional). </td></tr>
<tr><td class="paramname">font</td><td>Font to use instead of the current window font (optional).</td></tr>
</table>
</dd>
</dl>
<p><b>wxPerl Note:</b> In wxPerl this method takes only the <em>string</em> and optionally <em>font</em> parameters, and returns a 4-element list (x, y, descent, externalLeading). </p>
</div>
</div>
<a class="anchor" id="a79e5f88a2408871663d4ab0405cd35f6"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_size.html">wxSize</a> wxWindow::GetTextExtent </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>string</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets the dimensions of the string as it would be drawn on the window with the currently selected font. </p>
</div>
</div>
<a class="anchor" id="a0b31a21532407cf809d73aa09f34235c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxWindow::GetThemeEnabled </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</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>Clears the window by filling it with the current background colour. </p>
<p>Does not cause an erase background event to be generated.</p>
<p>Notice that this uses <a class="el" href="classwx_client_d_c.html" title="A wxClientDC must be constructed if an application wishes to paint on the client area of a window fro...">wxClientDC</a> to draw on the window and the results of doing it while also drawing on <a class="el" href="classwx_paint_d_c.html" title="A wxPaintDC must be constructed if an application wishes to paint on the client area of a window from...">wxPaintDC</a> for this window are undefined. Hence this method shouldn't be used from EVT_PAINT handlers, just use <a class="el" href="classwx_d_c.html#acf301dfd75b0f31d969ecb9daec21e85" title="Clears the device context using the current background brush.">wxDC::Clear()</a> on the <a class="el" href="classwx_paint_d_c.html" title="A wxPaintDC must be constructed if an application wishes to paint on the client area of a window from...">wxPaintDC</a> you already use there instead. </p>
</div>
</div>
<a class="anchor" id="aae94155ccf8a6e4e72ad08527c89ba89"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_tool_tip.html">wxToolTip</a>* wxWindow::GetToolTip </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the associated tooltip or <span class="literal">NULL</span> if none. </p>
</div>
</div>
<a class="anchor" id="ad1a9c53c8e7e5010874f15b8ff4a6568"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a> wxWindow::GetToolTipText </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the text of the associated tooltip or empty string if none. </p>
</div>
</div>
<a class="anchor" id="a7e32d9a9ffd058c931db20416bc55baa"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_rect.html">wxRect</a> wxWindow::GetUpdateClientRect </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the update rectangle bounding box in client coords. </p>
</div>
</div>
<a class="anchor" id="aa982adbcebfa7bc73fbae7465132115b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classwx_region.html">wxRegion</a>& wxWindow::GetUpdateRegion </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the region specifying which parts of the window have been damaged. </p>
<p>Should only be called within an <a class="el" href="classwx_paint_event.html" title="A paint event is sent when a window's contents needs to be repainted.">wxPaintEvent</a> handler.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_region.html" title="A wxRegion represents a simple or complex region on a device context or window.">wxRegion</a>, <a class="el" href="classwx_region_iterator.html" title="This class is used to iterate through the rectangles in a region, typically when examining the damage...">wxRegionIterator</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a6a332586346cb9ece4a8fe058a7b88c4"></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_validator.html">wxValidator</a>* wxWindow::GetValidator </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>Validator functions. </p>
<p>Returns a pointer to the current validator for the window, or <span class="literal">NULL</span> if there is none. </p>
</div>
</div>
<a class="anchor" id="a614d32c464296b7d6caabcafc18deb97"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_size.html">wxSize</a> wxWindow::GetVirtualSize </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>This gets the virtual size of the window in pixels. </p>
<p>By default it returns the client size of the window, but after a call to <a class="el" href="classwx_window.html#a37f293b7904bc6668b86cccb0aea5669" title="Sets the virtual size of the window in pixels.">SetVirtualSize()</a> it will return the size set with that method.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="overview_windowsizing.html">Window Sizing Overview</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a2628c6f1f4aecb790f0c86622ebf4d56"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::GetVirtualSize </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> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Like the other <a class="el" href="classwx_window.html#a614d32c464296b7d6caabcafc18deb97" title="This gets the virtual size of the window in pixels.">GetVirtualSize()</a> overload but uses pointers instead. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">width</td><td>Receives the window virtual width. </td></tr>
<tr><td class="paramname">height</td><td>Receives the window virtual height. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="afd861e553190e22a76d3d40ee5e8d628"></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> wxWindow::GetWindowBorderSize </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</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>Returns the size of the left/right and top/bottom borders of this window in x and y components of the result respectively. </p>
</div>
</div>
<a class="anchor" id="a994147d8294bd7d5a32c825d5692af28"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">long wxWindow::GetWindowStyle </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>See <a class="el" href="classwx_window.html#a0a0e81677bf2f0de5982a634e11d9a69" title="Gets the window style that was passed to the constructor or Create() method.">GetWindowStyleFlag()</a> for more info. </p>
</div>
</div>
<a class="anchor" id="a0a0e81677bf2f0de5982a634e11d9a69"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual long wxWindow::GetWindowStyleFlag </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</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>Gets the window style that was passed to the constructor or <a class="el" href="classwx_window.html#a95b7ca8faa033f5ab35458887c07bf38">Create()</a> method. </p>
<p><a class="el" href="classwx_window.html#a994147d8294bd7d5a32c825d5692af28" title="See GetWindowStyleFlag() for more info.">GetWindowStyle()</a> is another name for the same function. </p>
<p>Reimplemented in <a class="el" href="classwx_aui_tool_bar.html#a346043e96cea75b725b1c790b1116ad6">wxAuiToolBar</a>.</p>
</div>
</div>
<a class="anchor" id="aafcccd0d5d31651484df02453c53361c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="window_8h.html#a879bccd2c987fedf06030a8abcbba8ac">wxWindowVariant</a> wxWindow::GetWindowVariant </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the value previously passed to <a class="el" href="classwx_window.html#acd955418c336e73b3e32cadf1ca46e29" title="Chooses a different variant of the window display to use.">SetWindowVariant()</a>. </p>
</div>
</div>
<a class="anchor" id="a89d1b079de97aac170e999692095872c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxWindow::HandleAsNavigationKey </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_key_event.html">wxKeyEvent</a> & </td>
<td class="paramname"><em>event</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>This function will generate the appropriate call to <a class="el" href="classwx_window.html#a86904f6785df4af6036b33383490a805" title="Performs a keyboard navigation action starting from this window.">Navigate()</a> if the key event is one normally used for keyboard navigation and return <span class="literal">true</span> in this case. </p>
<dl class="section return"><dt>Returns</dt><dd>Returns <span class="literal">true</span> if the key pressed was for navigation and was handled, <span class="literal">false</span> otherwise.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a86904f6785df4af6036b33383490a805" title="Performs a keyboard navigation action starting from this window.">Navigate()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a665731bbfa46a72c215b04df60216ef1"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxWindow::HandleWindowEvent </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_event.html">wxEvent</a> & </td>
<td class="paramname"><em>event</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Shorthand for: </p>
<div class="fragment"><div class="line"><a class="code" href="classwx_window.html#a72c2454cf309f30109da3cbfe237c760" title="Returns the event handler for this window.">GetEventHandler</a>()-><a class="code" href="classwx_evt_handler.html#a8205cb1a5a00d8b550b3ead22266b16b" title="Processes an event by calling ProcessEvent() and handles any exceptions that occur in the process...">SafelyProcessEvent</a>(event);</div>
</div><!-- fragment --><dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a0a76891d726ad5f9a729e27e4eab2b57" title="Convenient wrapper for ProcessEvent().">ProcessWindowEvent()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a9b44f61543b77317f9820e06856c5514"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxWindow::HasCapture </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</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>Returns <span class="literal">true</span> if this window has the current mouse capture. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a5c72c6260a73ef77bb0b1f7ec85fcfef" title="Directs all mouse input to this window.">CaptureMouse()</a>, <a class="el" href="classwx_window.html#adcc538819c11ecb3bd3e4e5d13c5ba7a" title="Releases mouse input captured with CaptureMouse().">ReleaseMouse()</a>, <a class="el" href="classwx_mouse_capture_lost_event.html" title="A mouse capture lost event is sent to a window that had obtained mouse capture, which was subsequentl...">wxMouseCaptureLostEvent</a>, <a class="el" href="classwx_mouse_capture_changed_event.html" title="An mouse capture changed event is sent to a window that loses its mouse capture.">wxMouseCaptureChangedEvent</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ae30b415c1ef526563161efea5b78d640"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxWindow::HasExtraStyle </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>exFlag</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns <span class="literal">true</span> if the window has the given <em>exFlag</em> bit set in its extra styles. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#ae9655f7c35ce7ac89cac2f6c0054b103" title="Sets the extra style bits for the window.">SetExtraStyle()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a62ba2fb9be6422bf06bb7db5871d551f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxWindow::HasFlag </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>flag</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns <span class="literal">true</span> if the window has the given <em>flag</em> bit set. </p>
</div>
</div>
<a class="anchor" id="a4e0abff99d64d2a595ee0ab4b415bbd6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxWindow::HasFocus </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</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>Returns <span class="literal">true</span> if the window (or in case of composite controls, its main child window) has focus. </p>
<dl class="section since"><dt>Since</dt><dd>2.9.0</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a777258379a3eef1b0530f12db6b77cab" title="Finds the window or control which currently has the keyboard focus.">FindFocus()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="abe1522483478b1f777ad8ef34fa7c44a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxWindow::HasMultiplePages </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</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 method should be overridden to return <span class="literal">true</span> if this window has multiple pages. </p>
<p>All standard class with multiple pages such as <a class="el" href="classwx_notebook.html" title="This class represents a notebook control, which manages multiple windows with associated tabs...">wxNotebook</a>, <a class="el" href="classwx_listbook.html" title="wxListbook is a class similar to wxNotebook but which uses a wxListCtrl to show the labels instead of...">wxListbook</a> and <a class="el" href="classwx_treebook.html" title="This class is an extension of the wxNotebook class that allows a tree structured set of pages to be s...">wxTreebook</a> already override it to return <span class="literal">true</span> and user-defined classes with similar behaviour should also do so, to allow the library to handle such windows appropriately. </p>
</div>
</div>
<a class="anchor" id="a950847ecf2d488d83c14a74a3906f668"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxWindow::HasScrollbar </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>orient</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns <span class="literal">true</span> if this window currently has a scroll bar for this orientation. </p>
<p>This method may return <span class="literal">false</span> even when <a class="el" href="classwx_window.html#a179f9a770f8c835f279923d2cbe5d766" title="Returns true if this window can have a scroll bar in this orientation.">CanScroll()</a> for the same orientation returns <span class="literal">true</span>, but if <a class="el" href="classwx_window.html#a179f9a770f8c835f279923d2cbe5d766" title="Returns true if this window can have a scroll bar in this orientation.">CanScroll()</a> returns <span class="literal">false</span>, i.e. scrolling in this direction is not enabled at all, <a class="el" href="classwx_window.html#a950847ecf2d488d83c14a74a3906f668" title="Returns true if this window currently has a scroll bar for this orientation.">HasScrollbar()</a> always returns <span class="literal">false</span> as well.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">orient</td><td>Orientation to check, either wxHORIZONTAL or wxVERTICAL. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ab9cbcb6d6f4a272c2f0342e69a13b59a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxWindow::HasTransparentBackground </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>Returns <span class="literal">true</span> if this window background is transparent (as, for example, for <a class="el" href="classwx_static_text.html" title="A static text control displays one or more lines of read-only text.">wxStaticText</a>) and should show the parent window background. </p>
<p>This method is mostly used internally by the library itself and you normally shouldn't have to call it. You may, however, have to override it in your wxWindow-derived class to ensure that background is painted correctly. </p>
</div>
</div>
<a class="anchor" id="a7ed103df04014cb3c59c6a3fb4d95328"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxWindow::Hide </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Equivalent to calling <a class="el" href="classwx_window.html#a7fbc92ce240a8d4f6956b6e0276ef07f" title="Shows or hides the window.">wxWindow::Show</a>(<span class="literal">false</span>). </p>
</div>
</div>
<a class="anchor" id="a5326fbb26557a224507a1c06e5640e89"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxWindow::HideWithEffect </td>
<td>(</td>
<td class="paramtype"><a class="el" href="window_8h.html#a49efebddb5cf706e0eb819b434bdf918">wxShowEffect</a> </td>
<td class="paramname"><em>effect</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned int </td>
<td class="paramname"><em>timeout</em> = <code>0</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>This function hides a window, like <a class="el" href="classwx_window.html#a7ed103df04014cb3c59c6a3fb4d95328" title="Equivalent to calling wxWindow::Show(false).">Hide()</a>, but using a special visual effect if possible. </p>
<p>The parameters of this function are the same as for <a class="el" href="classwx_window.html#a596b1715edfc7609f352b2e000ecbaec" title="This function shows a window, like Show(), but using a special visual effect if possible.">ShowWithEffect()</a>, please see their description there.</p>
<dl class="section since"><dt>Since</dt><dd>2.9.0 </dd></dl>
</div>
</div>
<a class="anchor" id="a6a026b2a16a9f050deddd44e5586762c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="defs_8h.html#a9b85a92dd590efbbe1248e0a9fc90024">wxHitTest</a> wxWindow::HitTest </td>
<td>(</td>
<td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> </td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> </td>
<td class="paramname"><em>y</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the window border style from the given flags: this is different from simply doing flags & wxBORDER_MASK because it uses GetDefaultBorder() to translate wxBORDER_DEFAULT to something reasonable. </p>
</div>
</div>
<a class="anchor" id="a44f4d85f42fac6090a42cafd40f24ff5"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="defs_8h.html#a9b85a92dd590efbbe1248e0a9fc90024">wxHitTest</a> wxWindow::HitTest </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_point.html">wxPoint</a> & </td>
<td class="paramname"><em>pt</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the window border style from the given flags: this is different from simply doing flags & wxBORDER_MASK because it uses GetDefaultBorder() to translate wxBORDER_DEFAULT to something reasonable. </p>
</div>
</div>
<a class="anchor" id="a9fd5b6520c1b30eb8e82bb5d56bc24c0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxWindow::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><a class="el" href="classwx_sizer.html" title="wxSizer is the abstract base class used for laying out subwindows in a window.">wxSizer</a> and friends use this to give a chance to a component to recalc its min size once one of the final size components is known. </p>
<p>Override this function when that is useful (such as for <a class="el" href="classwx_static_text.html" title="A static text control displays one or more lines of read-only text.">wxStaticText</a> which can stretch over several lines). Parameter availableOtherDir tells the item how much more space there is available in the opposite direction (-1 if unknown). </p>
</div>
</div>
<a class="anchor" id="a6b1bf9e099704e7a493b8c4666b1f7f7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxWindow::InheritAttributes </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>This function is (or should be, in case of custom controls) called during window creation to intelligently set up the window visual attributes, that is the font and the foreground and background colours. </p>
<p>By "intelligently" the following is meant: by default, all windows use their own <a class="el" href="classwx_window.html#a170d85e4aa0cbacbfcdd0728120e1417">GetClassDefaultAttributes()</a> default attributes. However if some of the parents attributes are explicitly (that is, using <a class="el" href="classwx_window.html#a9ab11e7da57a1d08918aa75fc33f6ad3" title="Sets the font for this window.">SetFont()</a> and not <a class="el" href="classwx_window.html#a89a4f62f23c1e7c845b8d07cecae4c43" title="Sets the font of the window but prevents it from being inherited by the children of this window...">wxWindow::SetOwnFont</a>) changed and if the corresponding attribute hadn't been explicitly set for this window itself, then this window takes the same value as used by the parent. In addition, if the window overrides <a class="el" href="classwx_window.html#a0c43a27fa04f9c17cc28fde71fdba490" title="Return true from here to allow the colours of this window to be changed by InheritAttributes().">ShouldInheritColours()</a> to return <span class="literal">false</span>, the colours will not be changed no matter what and only the font might.</p>
<p>This rather complicated logic is necessary in order to accommodate the different usage scenarios. The most common one is when all default attributes are used and in this case, nothing should be inherited as in modern GUIs different controls use different fonts (and colours) than their siblings so they can't inherit the same value from the parent. However it was also deemed desirable to allow to simply change the attributes of all children at once by just changing the font or colour of their common parent, hence in this case we do inherit the parents attributes. </p>
</div>
</div>
<a class="anchor" id="aaf4873525b3bf2fc20ccb76bd0738e41"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxWindow::InheritsBackgroundColour </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 this window inherits the background colour from its parent. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a9a3f9d8477aab1d9176cd66ee56e75d9" title="Sets the background colour of the window but prevents it from being inherited by the children of this...">SetOwnBackgroundColour()</a>, <a class="el" href="classwx_window.html#a6b1bf9e099704e7a493b8c4666b1f7f7" title="This function is (or should be, in case of custom controls) called during window creation to intellig...">InheritAttributes()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="aa90a260c0a835a133043460b7d0024a8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxWindow::InitDialog </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>Sends an <code>wxEVT_INIT_DIALOG</code> event, whose handler usually transfers data to the dialog via validators. </p>
<p>Reimplemented in <a class="el" href="classwx_panel.html#ab632da62e9cc8969bb25c628a2b8bdee">wxPanel</a>.</p>
</div>
</div>
<a class="anchor" id="ae1b56ca87d8590ee5e576012229a380a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::InvalidateBestSize </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Resets the cached best size value so it will be recalculated the next time it is needed. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a100905524d330cfd9620fd726e378066" title="Sets the cached best size value.">CacheBestSize()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="af918e6fe8565c2d5235973cc3de84a43"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxWindow::IsBeingDeleted </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if this window is in process of being destroyed. </p>
<p>Top level windows are not deleted immediately but are rather scheduled for later destruction to give them time to process any pending messages; see <a class="el" href="classwx_window.html#a6bf0c5be864544d9ce0560087667b7fc" title="Destroys the window safely.">Destroy()</a> description.</p>
<p>This function returns <span class="literal">true</span> if this window, or one of its parent windows, is scheduled for destruction and can be useful to avoid manipulating it as it's usually useless to do something with a window which is on the point of disappearing anyhow. </p>
</div>
</div>
<a class="anchor" id="a469f0881da248d37691440c9d4cc7200"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxWindow::IsDescendant </td>
<td>(</td>
<td class="paramtype">wxWindowBase * </td>
<td class="paramname"><em>win</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Check if the specified window is a descendant of this one. </p>
<p>Returns <span class="literal">true</span> if the window is a descendant (i.e. a child or grand-child or grand-grand-child or ...) of this one.</p>
<p>Notice that a window can never be a descendant of another one if they are in different top level windows, i.e. a child of 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> is not considered to be a descendant of dialogs parent <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>.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">win</td><td>Any window, possible <span class="literal">NULL</span> (<span class="literal">false</span> is always returned then).</td></tr>
</table>
</dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>2.9.4 </dd></dl>
</div>
</div>
<a class="anchor" id="a9d1be1bbb625ebf87ad4ad47e49a0194"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxWindow::IsDoubleBuffered </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</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>Returns <span class="literal">true</span> if the window contents is double-buffered by the system, i.e. if any drawing done on the window is really done on a temporary backing surface and transferred to the screen all at once later. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_buffered_d_c.html" title="This class provides a simple way to avoid flicker: when drawing on it, everything is in fact first dr...">wxBufferedDC</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a59452a5bd42f5ea4b31d7fc4aa59644f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxWindow::IsEnabled </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns <span class="literal">true</span> if the window is enabled, i.e. if it accepts user input, <span class="literal">false</span> otherwise. </p>
<p>Notice that this method can return <span class="literal">false</span> even if this window itself hadn't been explicitly disabled when one of its parent windows is disabled. To get the intrinsic status of this window, use <a class="el" href="classwx_window.html#a657ef8b6055eb06df894ac5e6ddfecf8" title="Returns true if this window is intrinsically enabled, false otherwise, i.e. if Enable() Enable(false)...">IsThisEnabled()</a></p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a4e933aa891f42fbb3b87438057c573af" title="Enable or disable the window for user input.">Enable()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="af27ef77c913e32050543f3b0ca435a0d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxWindow::IsExposed </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></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns <span class="literal">true</span> if the given point or rectangle area has been exposed since the last repaint. </p>
<p>Call this in an paint event handler to optimize redrawing by only redrawing those areas, which have been exposed. </p>
</div>
</div>
<a class="anchor" id="a31af79f647cbec4950ce31620db51753"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxWindow::IsExposed </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_point.html">wxPoint</a> & </td>
<td class="paramname"><em>pt</em></td><td>)</td>
<td> const</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="a4a23e724619ec070f7d5c45ba21529d5"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxWindow::IsExposed </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>w</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>h</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</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="a4da9a2d13534535aaf7b45200ee8728e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxWindow::IsExposed </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_rect.html">wxRect</a> & </td>
<td class="paramname"><em>rect</em></td><td>)</td>
<td> const</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="a1415b1354d5670237090de09da28b662"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxWindow::IsFocusable </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Can this window itself have focus? </p>
</div>
</div>
<a class="anchor" id="a866c62cc23d8de88e952aad5db4d1a61"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxWindow::IsFrozen </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns <span class="literal">true</span> if the window is currently frozen by a call to <a class="el" href="classwx_window.html#a15c678314cfc1d807196bc298b713ed3" title="Freezes the window or, in other words, prevents any updates from taking place on screen, the window is not redrawn at all.">Freeze()</a>. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a15c678314cfc1d807196bc298b713ed3" title="Freezes the window or, in other words, prevents any updates from taking place on screen, the window is not redrawn at all.">Freeze()</a>, <a class="el" href="classwx_window.html#a279a532124073261b28131b6afb59a1e" title="Re-enables window updating after a previous call to Freeze().">Thaw()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ae9b31dec54256b68574a4bba8cca94ab"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxWindow::IsRetained </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</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>Returns <span class="literal">true</span> if the window is retained, <span class="literal">false</span> otherwise. </p>
<dl class="section remark"><dt>Remarks</dt><dd>Retained windows are only available on X platforms. </dd></dl>
</div>
</div>
<a class="anchor" id="aeeef7eaf8c8f1ec1a54e7a68d63923d0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxWindow::IsScrollbarAlwaysShown </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>orient</em></td><td>)</td>
<td> const</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>Return whether a scrollbar is always shown. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">orient</td><td>Orientation to check, either wxHORIZONTAL or wxVERTICAL.</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#aae29552806a328c6a55ef8f07647f5ba" title="Call this function to force one or both scrollbars to be always shown, even if the window is big enou...">AlwaysShowScrollbars()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a95af3a39aa422580dae156ed281a7e88"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxWindow::IsShown </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</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>Returns <span class="literal">true</span> if the window is shown, <span class="literal">false</span> if it has been hidden. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a72d70fd14e3565bf782fbcd3271d8930" title="Returns true if the window is physically visible on the screen, i.e. it is shown and all its parents ...">IsShownOnScreen()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a72d70fd14e3565bf782fbcd3271d8930"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxWindow::IsShownOnScreen </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</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>Returns <span class="literal">true</span> if the window is physically visible on the screen, i.e. it is shown and all its parents up to the toplevel window are shown as well. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a95af3a39aa422580dae156ed281a7e88" title="Returns true if the window is shown, false if it has been hidden.">IsShown()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a657ef8b6055eb06df894ac5e6ddfecf8"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxWindow::IsThisEnabled </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns <span class="literal">true</span> if this window is intrinsically enabled, <span class="literal">false</span> otherwise, i.e. if <a class="el" href="classwx_window.html#a4e933aa891f42fbb3b87438057c573af">Enable()</a> Enable(<span class="literal">false</span>) had been called. </p>
<p>This method is mostly used for wxWidgets itself, user code should normally use <a class="el" href="classwx_window.html#a59452a5bd42f5ea4b31d7fc4aa59644f" title="Returns true if the window is enabled, i.e. if it accepts user input, false otherwise.">IsEnabled()</a> instead. </p>
</div>
</div>
<a class="anchor" id="a0002826ad05f2a5661b4c8995713f37f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxWindow::IsTopLevel </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</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>Returns <span class="literal">true</span> if the given window is a top-level one. </p>
<p>Currently all frames and dialogs are considered to be top-level windows (even if they have a parent window). </p>
</div>
</div>
<a class="anchor" id="a7940d510c5bdc062a2b109a1022dd8c2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxWindow::IsTransparentBackgroundSupported </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_string.html">wxString</a> * </td>
<td class="paramname"><em>reason</em> = <code>NULL</code></td><td>)</td>
<td> const</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>Checks whether using transparent background might work. </p>
<p>If this function returns <span class="literal">false</span>, calling <a class="el" href="classwx_window.html#af14f8fd2ed2d30a9bbb5d4f9fd6594ec" title="Sets the background style of the window.">SetBackgroundStyle()</a> with <a class="el" href="defs_8h.html#a4bc8ece80d508fd70283b5a3b4c41e5fa229f1fe9198f8a0eadf0d8ab45a16460" title="Indicates that the window background is not erased, letting the parent window show through...">wxBG_STYLE_TRANSPARENT</a> is not going to work. If it returns <span class="literal">true</span>, setting transparent style should normally succeed.</p>
<p>Notice that this function would typically be called on the parent of a window you want to set transparent background style for as the window for which this method is called must be fully created.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">reason</td><td>If not <span class="literal">NULL</span>, a reason message is provided if transparency is not supported.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><span class="literal">true</span> if background transparency is supported.</dd></dl>
<dl class="section since"><dt>Since</dt><dd>2.9.4 </dd></dl>
</div>
</div>
<a class="anchor" id="a1b143c3e72bd0af533b76db4830a6113"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxWindow::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>Invokes the constraint-based layout algorithm or the sizer-based algorithm for this window. </p>
<p>This function does not get called automatically when the window is resized because lots of windows deriving 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> does not need this functionality. If you want to have <a class="el" href="classwx_window.html#a1b143c3e72bd0af533b76db4830a6113" title="Invokes the constraint-based layout algorithm or the sizer-based algorithm for this window...">Layout()</a> called automatically, you should derive from <a class="el" href="classwx_panel.html" title="A panel is a window on which controls are placed.">wxPanel</a> (see <a class="el" href="classwx_panel.html#a6ded9b75baf21e2c9f5496f746b68bf0" title="See wxWindow::SetAutoLayout(): when auto layout is on, this function gets called automatically when t...">wxPanel::Layout</a>).</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="overview_windowsizing.html">Window Sizing Overview</a> </dd></dl>
<p>Reimplemented in <a class="el" href="classwx_top_level_window.html#adfe7e3f4a32f3ed178968f64431bbfe0">wxTopLevelWindow</a>, and <a class="el" href="classwx_panel.html#a6ded9b75baf21e2c9f5496f746b68bf0">wxPanel</a>.</p>
</div>
</div>
<a class="anchor" id="ade808784f0e64d9985e2f279b5ca8c02"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxWindow::LineDown </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Same as <a class="el" href="classwx_window.html#aa5c5b683bd11a0d9771bd2fcdf643c64" title="Scrolls the window by the given number of lines down (if lines is positive) or up.">ScrollLines</a> (1). </p>
</div>
</div>
<a class="anchor" id="afc0816a174ceee6d36d1995c6824a273"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxWindow::LineUp </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Same as <a class="el" href="classwx_window.html#aa5c5b683bd11a0d9771bd2fcdf643c64" title="Scrolls the window by the given number of lines down (if lines is positive) or up.">ScrollLines</a> (-1). </p>
</div>
</div>
<a class="anchor" id="a124944524f36b71385dad8fddaad8ded"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxWindow::Lower </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>Lowers the window to the bottom of the window hierarchy (Z-order). </p>
<dl class="section remark"><dt>Remarks</dt><dd>This function only works for wxTopLevelWindow-derived classes.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a54808c933f22a891c5db646f6209fa4d" title="Raises the window to the top of the window hierarchy (Z-order).">Raise()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ab1cb98c8d25b9e6ff7b706b1446c3df7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::Move </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>flags</em> = <code><a class="el" href="defs_8h.html#a2f39257d6e2924d14ba28afa42abcde6">wxSIZE_USE_EXISTING</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Moves the window to the given position. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td>Required x position. </td></tr>
<tr><td class="paramname">y</td><td>Required y position. </td></tr>
<tr><td class="paramname">flags</td><td>See <a class="el" href="classwx_window.html#a180312d5ad4a4a5ad805b8d52d67a74e" title="Sets the size of the window in pixels.">SetSize()</a> for more info about this parameter.</td></tr>
</table>
</dd>
</dl>
<dl class="section remark"><dt>Remarks</dt><dd>Implementations of SetSize can also implicitly implement the <a class="el" href="classwx_window.html#ab1cb98c8d25b9e6ff7b706b1446c3df7" title="Moves the window to the given position.">Move()</a> function, which is defined in the base <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> class as the call: <div class="fragment"><div class="line"><a class="code" href="classwx_window.html#a180312d5ad4a4a5ad805b8d52d67a74e" title="Sets the size of the window in pixels.">SetSize</a>(x, y, <a class="code" href="defs_8h.html#ae297119c813ec5d3328ce3f43f9ac6c1" title="A special value meaning "use default coordinate".">wxDefaultCoord</a>, <a class="code" href="defs_8h.html#ae297119c813ec5d3328ce3f43f9ac6c1" title="A special value meaning "use default coordinate".">wxDefaultCoord</a>, <a class="code" href="defs_8h.html#a2f39257d6e2924d14ba28afa42abcde6">wxSIZE_USE_EXISTING</a>);</div>
</div><!-- fragment --></dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a180312d5ad4a4a5ad805b8d52d67a74e" title="Sets the size of the window in pixels.">SetSize()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a22a22c1e23ca05776707e7999d8047fe"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::Move </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_point.html">wxPoint</a> & </td>
<td class="paramname"><em>pt</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>flags</em> = <code><a class="el" href="defs_8h.html#a2f39257d6e2924d14ba28afa42abcde6">wxSIZE_USE_EXISTING</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Moves the window to the given position. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">pt</td><td><a class="el" href="classwx_point.html" title="A wxPoint is a useful data structure for graphics operations.">wxPoint</a> object representing the position. </td></tr>
<tr><td class="paramname">flags</td><td>See <a class="el" href="classwx_window.html#a180312d5ad4a4a5ad805b8d52d67a74e" title="Sets the size of the window in pixels.">SetSize()</a> for more info about this parameter.</td></tr>
</table>
</dd>
</dl>
<dl class="section remark"><dt>Remarks</dt><dd>Implementations of <a class="el" href="classwx_window.html#a180312d5ad4a4a5ad805b8d52d67a74e" title="Sets the size of the window in pixels.">SetSize()</a> can also implicitly implement the <a class="el" href="classwx_window.html#ab1cb98c8d25b9e6ff7b706b1446c3df7" title="Moves the window to the given position.">Move()</a> function, which is defined in the base <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> class as the call: <div class="fragment"><div class="line"><a class="code" href="classwx_window.html#a180312d5ad4a4a5ad805b8d52d67a74e" title="Sets the size of the window in pixels.">SetSize</a>(x, y, <a class="code" href="defs_8h.html#ae297119c813ec5d3328ce3f43f9ac6c1" title="A special value meaning "use default coordinate".">wxDefaultCoord</a>, <a class="code" href="defs_8h.html#ae297119c813ec5d3328ce3f43f9ac6c1" title="A special value meaning "use default coordinate".">wxDefaultCoord</a>, <a class="code" href="defs_8h.html#a2f39257d6e2924d14ba28afa42abcde6">wxSIZE_USE_EXISTING</a>);</div>
</div><!-- fragment --></dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a180312d5ad4a4a5ad805b8d52d67a74e" title="Sets the size of the window in pixels.">SetSize()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a79e66079125e8420de269811bdb6f2b6"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::MoveAfterInTabOrder </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>win</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Moves this window in the tab navigation order after the specified <em>win</em>. </p>
<p>This means that when the user presses <code>TAB</code> key on that other window, the focus switches to this window.</p>
<p>Default tab order is the same as creation order, this function and <a class="el" href="classwx_window.html#af2b92f61cd9f9e2e0efe4cce307e25b1" title="Same as MoveAfterInTabOrder() except that it inserts this window just before win instead of putting i...">MoveBeforeInTabOrder()</a> allow to change it after creating all the windows.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">win</td><td>A sibling of this window which should precede it in tab order, must not be <span class="literal">NULL</span> </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="af2b92f61cd9f9e2e0efe4cce307e25b1"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::MoveBeforeInTabOrder </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>win</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Same as <a class="el" href="classwx_window.html#a79e66079125e8420de269811bdb6f2b6" title="Moves this window in the tab navigation order after the specified win.">MoveAfterInTabOrder()</a> except that it inserts this window just before <em>win</em> instead of putting it right after it. </p>
</div>
</div>
<a class="anchor" id="a86904f6785df4af6036b33383490a805"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxWindow::Navigate </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>flags</em> = <code><a class="el" href="classwx_navigation_key_event.html#afba5af727118cf1e63998282c307ba21a225d9ac21e815524d56648d47a1cbda4">wxNavigationKeyEvent::IsForward</a></code></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Performs a keyboard navigation action starting from this window. </p>
<p>This method is equivalent to calling <a class="el" href="classwx_window.html#aa58039c8fc65e19160becf510ee1d1d5" title="Performs a keyboard navigation action inside this window.">NavigateIn()</a> method on the parent window.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">flags</td><td>A combination of <a class="el" href="classwx_navigation_key_event.html#afba5af727118cf1e63998282c307ba21a225d9ac21e815524d56648d47a1cbda4">wxNavigationKeyEvent::IsForward</a> and <a class="el" href="classwx_navigation_key_event.html#afba5af727118cf1e63998282c307ba21af2d26172f78b9fcdcc978ee7d4e1b004">wxNavigationKeyEvent::WinChange</a>.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns <span class="literal">true</span> if the focus was moved to another window or <span class="literal">false</span> if nothing changed.</dd></dl>
<dl class="section remark"><dt>Remarks</dt><dd>You may wish to call this from a text control custom keypress handler to do the default navigation behaviour for the tab key, since the standard default behaviour for a multiline text control with the wxTE_PROCESS_TAB style is to insert a tab and not navigate to the next control. See also <a class="el" href="classwx_navigation_key_event.html" title="This event class contains information about navigation events, generated by navigation keys such as t...">wxNavigationKeyEvent</a> and HandleAsNavigationKey. </dd></dl>
</div>
</div>
<a class="anchor" id="aa58039c8fc65e19160becf510ee1d1d5"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxWindow::NavigateIn </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>flags</em> = <code><a class="el" href="classwx_navigation_key_event.html#afba5af727118cf1e63998282c307ba21a225d9ac21e815524d56648d47a1cbda4">wxNavigationKeyEvent::IsForward</a></code></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Performs a keyboard navigation action inside this window. </p>
<p>See <a class="el" href="classwx_window.html#a86904f6785df4af6036b33383490a805" title="Performs a keyboard navigation action starting from this window.">Navigate()</a> for more information. </p>
</div>
</div>
<a class="anchor" id="a8175da594e6045635a1d1cfe775cdddb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="windowid_8h.html#ae8091432cc2cb2485d45f2302fb51133">wxWindowID</a> wxWindow::NewControlId </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>count</em> = <code>1</code></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Create a new ID or range of IDs that are not currently in use. </p>
<p>The IDs will be reserved until assigned to 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> ID or unreserved with <a class="el" href="classwx_window.html#ad9bc342d1e38d221e37f0f6396950c8c" title="Unreserve an ID or range of IDs that was reserved by NewControlId().">UnreserveControlId()</a>.</p>
<p>See <a class="el" href="overview_windowids.html">Window IDs</a> for more information.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">count</td><td>The number of sequential IDs to reserve.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns the ID or the first ID of the range (i.e. the most negative), or wxID_NONE if the specified number of identifiers couldn't be allocated.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#ad9bc342d1e38d221e37f0f6396950c8c" title="Unreserve an ID or range of IDs that was reserved by NewControlId().">UnreserveControlId()</a>, <a class="el" href="classwx_id_manager.html" title="wxIdManager is responsible for allocating and releasing window IDs.">wxIdManager</a>, <a class="el" href="overview_windowids.html">Window IDs</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a6b5654c0c6c6245d592c279521f7099c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxWindow::OnInternalIdle </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>This virtual function is normally only used internally, but sometimes an application may need it to implement functionality that should not be disabled by an application defining an OnIdle handler in a derived class. </p>
<p>This function may be used to do delayed painting, for example, and most implementations call <a class="el" href="classwx_window.html#adf0a4987728bd0bf69f922641b3efbfc" title="This function sends one or more wxUpdateUIEvent to the window.">UpdateWindowUI()</a> in order to send update events to the window in idle time. </p>
</div>
</div>
<a class="anchor" id="a61e78cb48ece3e9e989e37b475ac1e35"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxWindow::PageDown </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Same as <a class="el" href="classwx_window.html#adc0ed5e1c4925223cb901ced14b8343d" title="Scrolls the window by the given number of pages down (if pages is positive) or up.">ScrollPages</a> (1). </p>
</div>
</div>
<a class="anchor" id="aa7c2bbc480d8863d9f139c01d7abc1b1"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxWindow::PageUp </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Same as <a class="el" href="classwx_window.html#adc0ed5e1c4925223cb901ced14b8343d" title="Scrolls the window by the given number of pages down (if pages is positive) or up.">ScrollPages</a> (-1). </p>
</div>
</div>
<a class="anchor" id="ac45c1f4cf96c70779764c14cf528790b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_evt_handler.html">wxEvtHandler</a>* wxWindow::PopEventHandler </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>deleteHandler</em> = <code>false</code></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Removes and returns the top-most event handler on the event handler stack. </p>
<p>E.g. in the case of: </p>
<div class="image">
<img src="overview_events_winstack.png" alt="overview_events_winstack.png"/>
</div>
<p> when calling <code>W-><a class="el" href="classwx_window.html#ac45c1f4cf96c70779764c14cf528790b" title="Removes and returns the top-most event handler on the event handler stack.">PopEventHandler()</a></code>, the event handler <code>A</code> will be removed and <code>B</code> will be the first handler of the stack.</p>
<p>Note that it's an error to call this function when no event handlers were pushed on this window (i.e. when the window itself is its only event handler).</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">deleteHandler</td><td>If this is <span class="literal">true</span>, the handler will be deleted after it is removed (and the returned value will be <span class="literal">NULL</span>).</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="overview_events.html#overview_events_processing">How Events are Processed</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a8f715d238cf74a845488b0e2645e98df"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxWindow::PopupMenu </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_menu.html">wxMenu</a> * </td>
<td class="paramname"><em>menu</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_point.html">wxPoint</a> & </td>
<td class="paramname"><em>pos</em> = <code><a class="el" href="gdicmn_8h.html#af5a90c753eaf3d3e3e5068a19ec3c1d0">wxDefaultPosition</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Pops up the given menu at the specified coordinates, relative to this window, and returns control when the user has dismissed the menu. </p>
<p>If a menu item is selected, the corresponding menu event is generated and will be processed as usual. If coordinates are not specified, the current mouse cursor position is used.</p>
<p><em>menu</em> is the menu to pop up.</p>
<p>The position where the menu will appear can be specified either as a <a class="el" href="classwx_point.html" title="A wxPoint is a useful data structure for graphics operations.">wxPoint</a> <em>pos</em> or by two integers (<em>x</em> and <em>y</em>).</p>
<dl class="section remark"><dt>Remarks</dt><dd>Just before the menu is popped up, <a class="el" href="classwx_menu.html#aedd1c1536176ffec144f7e8bea85bd89" title="Sends events to source (or owning window if NULL) to update the menu UI.">wxMenu::UpdateUI</a> is called to ensure that the menu items are in the correct state. The menu does not get deleted by the window. It is recommended to not explicitly specify coordinates when calling PopupMenu in response to mouse click, because some of the ports (namely, wxGTK) can do a better job of positioning the menu in that case.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_menu.html" title="A menu is a popup (or pull down) list of items, one of which may be selected before the menu goes awa...">wxMenu</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a834bcdfd41f5e5370ebd9ea401c92900"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxWindow::PopupMenu </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_menu.html">wxMenu</a> * </td>
<td class="paramname"><em>menu</em>, </td>
</tr>
<tr>
<td class="paramkey"></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></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="ab1943463e6661f97e072b43337c6cc09"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::PostSizeEvent </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Posts a size event to the window. </p>
<p>This is the same as <a class="el" href="classwx_window.html#a237f739b21937d3e8f1bff5fa82ba4c2" title="This function sends a dummy size event to the window allowing it to re-layout its children positions...">SendSizeEvent()</a> with <code>wxSEND_EVENT_POST</code> argument. </p>
</div>
</div>
<a class="anchor" id="aa080d8dcda58bcc6ea2abd8bea592e3e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::PostSizeEventToParent </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Posts a size event to the parent of this window. </p>
<p>This is the same as <a class="el" href="classwx_window.html#af7987987978fd8a93df88b29b19a6388" title="Safe wrapper for GetParent()->SendSizeEvent().">SendSizeEventToParent()</a> with <code>wxSEND_EVENT_POST</code> argument. </p>
</div>
</div>
<a class="anchor" id="a5ebdbd87c28644149a07f1742996df96"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxWindow::ProcessEvent </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_event.html">wxEvent</a> & </td>
<td class="paramname"><em>event</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This function is public in <a class="el" href="classwx_evt_handler.html" title="A class that can handle events from the windowing system.">wxEvtHandler</a> but protected in <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 for wxWindows you should always call <a class="el" href="classwx_window.html#a5ebdbd87c28644149a07f1742996df96" title="This function is public in wxEvtHandler but protected in wxWindow because for wxWindows you should al...">ProcessEvent()</a> on the pointer returned by <a class="el" href="classwx_window.html#a72c2454cf309f30109da3cbfe237c760" title="Returns the event handler for this window.">GetEventHandler()</a> and not on the <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> object itself. </p>
<p>For convenience, a <a class="el" href="classwx_window.html#a0a76891d726ad5f9a729e27e4eab2b57" title="Convenient wrapper for ProcessEvent().">ProcessWindowEvent()</a> method is provided as a synonym for </p>
<div class="fragment"><div class="line"><a class="code" href="classwx_window.html#a72c2454cf309f30109da3cbfe237c760" title="Returns the event handler for this window.">GetEventHandler</a>()-><a class="code" href="classwx_evt_handler.html#a65968dd27f3aac7718f2dd6b2ddd5a08" title="Processes an event, searching event tables and calling zero or more suitable event handler function(s...">ProcessEvent</a>() </div>
</div><!-- fragment --><p>Note that it's still possible to call these functions directly on the <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> object (e.g. casting it to <a class="el" href="classwx_evt_handler.html" title="A class that can handle events from the windowing system.">wxEvtHandler</a>) but doing that will create subtle bugs when windows with event handlers pushed on them are involved.</p>
<p>This holds also for all other <a class="el" href="classwx_evt_handler.html" title="A class that can handle events from the windowing system.">wxEvtHandler</a> functions. </p>
<p>Reimplemented from <a class="el" href="classwx_evt_handler.html#a65968dd27f3aac7718f2dd6b2ddd5a08">wxEvtHandler</a>.</p>
</div>
</div>
<a class="anchor" id="a7cbee38944dab02d753a4dba74230443"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void wxWindow::ProcessPendingEvents </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>See <a class="el" href="classwx_window.html#a5ebdbd87c28644149a07f1742996df96" title="This function is public in wxEvtHandler but protected in wxWindow because for wxWindows you should al...">ProcessEvent()</a> for more info about why you shouldn't use this function and the reason for making this function protected in <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>. </p>
</div>
</div>
<a class="anchor" id="a9350b3a9c2e380707eaea92cedad12a5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool wxWindow::ProcessThreadEvent </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_event.html">wxEvent</a> & </td>
<td class="paramname"><em>event</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>See <a class="el" href="classwx_window.html#a5ebdbd87c28644149a07f1742996df96" title="This function is public in wxEvtHandler but protected in wxWindow because for wxWindows you should al...">ProcessEvent()</a> for more info about why you shouldn't use this function and the reason for making this function protected in <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>. </p>
</div>
</div>
<a class="anchor" id="a0a76891d726ad5f9a729e27e4eab2b57"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxWindow::ProcessWindowEvent </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_event.html">wxEvent</a> & </td>
<td class="paramname"><em>event</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Convenient wrapper for <a class="el" href="classwx_window.html#a5ebdbd87c28644149a07f1742996df96" title="This function is public in wxEvtHandler but protected in wxWindow because for wxWindows you should al...">ProcessEvent()</a>. </p>
<p>This is the same as writing </p>
<div class="fragment"><div class="line"><a class="code" href="classwx_window.html#a72c2454cf309f30109da3cbfe237c760" title="Returns the event handler for this window.">GetEventHandler</a>()-><a class="code" href="classwx_evt_handler.html#a65968dd27f3aac7718f2dd6b2ddd5a08" title="Processes an event, searching event tables and calling zero or more suitable event handler function(s...">ProcessEvent</a>(event);</div>
</div><!-- fragment --><p> but more convenient. Notice that <a class="el" href="classwx_window.html#a5ebdbd87c28644149a07f1742996df96" title="This function is public in wxEvtHandler but protected in wxWindow because for wxWindows you should al...">ProcessEvent()</a> itself can't be called for <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> objects as it ignores the event handlers associated with the window; use this function instead. </p>
</div>
</div>
<a class="anchor" id="a0a11aa4a50491d051f947e2618e52178"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxWindow::ProcessWindowEventLocally </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_event.html">wxEvent</a> & </td>
<td class="paramname"><em>event</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Wrapper for <a class="el" href="classwx_evt_handler.html#ac0f5d2cb29a04c1f7f82eb6b351f79fb" title="Try to process the event in this handler and all those chained to it.">wxEvtHandler::ProcessEventLocally()</a>. </p>
<p>This method is similar to <a class="el" href="classwx_window.html#a0a76891d726ad5f9a729e27e4eab2b57" title="Convenient wrapper for ProcessEvent().">ProcessWindowEvent()</a> but can be used to search for the event handler only in this window and any event handlers pushed on top of it. Unlike <a class="el" href="classwx_window.html#a0a76891d726ad5f9a729e27e4eab2b57" title="Convenient wrapper for ProcessEvent().">ProcessWindowEvent()</a> it won't propagate the event upwards. But it will use the validator and event handlers associated with this window, if any.</p>
<dl class="section since"><dt>Since</dt><dd>2.9.1 </dd></dl>
</div>
</div>
<a class="anchor" id="a398c11ab9af7956067a964f560d1978c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::PushEventHandler </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_evt_handler.html">wxEvtHandler</a> * </td>
<td class="paramname"><em>handler</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Pushes this event handler onto the event stack for the window. </p>
<p>An event handler is an object that is capable of processing the events sent to a window. By default, the window is its own event handler, but an application may wish to substitute another, for example to allow central implementation of event-handling for a variety of different window classes.</p>
<p><a class="el" href="classwx_window.html#a398c11ab9af7956067a964f560d1978c" title="Pushes this event handler onto the event stack for the window.">wxWindow::PushEventHandler</a> allows an application to set up a <em>stack</em> of event handlers, where an event not handled by one event handler is handed to the next one in the chain.</p>
<p>E.g. if you have two event handlers <code>A</code> and <code>B</code> and 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> instance <code>W</code> and you call: </p>
<div class="fragment"><div class="line">W->PushEventHandler(A);</div>
<div class="line">W->PushEventHandler(B);</div>
</div><!-- fragment --><p> you will end up with the following situation: </p>
<div class="image">
<img src="overview_events_winstack.png" alt="overview_events_winstack.png"/>
</div>
<p>Note that you can use <a class="el" href="classwx_window.html#ac45c1f4cf96c70779764c14cf528790b" title="Removes and returns the top-most event handler on the event handler stack.">wxWindow::PopEventHandler</a> to remove the event handler.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">handler</td><td>Specifies the handler to be pushed. It must not be part of a <a class="el" href="classwx_evt_handler.html" title="A class that can handle events from the windowing system.">wxEvtHandler</a> chain; an assert will fail if it's not unlinked (see <a class="el" href="classwx_evt_handler.html#a360fdeefcf53b62fb49fb828406bb8a6" title="Returns true if the next and the previous handler pointers of this event handler instance are NULL...">wxEvtHandler::IsUnlinked</a>).</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="overview_events.html#overview_events_processing">How Events are Processed</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a69e450f21b0d7013269ec1a4771f043b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxWindow::QueueEvent </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_event.html">wxEvent</a> * </td>
<td class="paramname"><em>event</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>See <a class="el" href="classwx_window.html#a5ebdbd87c28644149a07f1742996df96" title="This function is public in wxEvtHandler but protected in wxWindow because for wxWindows you should al...">ProcessEvent()</a> for more info about why you shouldn't use this function and the reason for making this function protected in <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>. </p>
<p>Reimplemented from <a class="el" href="classwx_evt_handler.html#acffd03bf407a856166ea71ef0318b59a">wxEvtHandler</a>.</p>
</div>
</div>
<a class="anchor" id="a54808c933f22a891c5db646f6209fa4d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxWindow::Raise </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>Raises the window to the top of the window hierarchy (Z-order). </p>
<p>Notice that this function only requests the window manager to raise this window to the top of Z-order. Depending on its configuration, the window manager may raise the window, not do it at all or indicate that a window requested to be raised in some other way, e.g. by flashing its icon if it is minimized.</p>
<dl class="section remark"><dt>Remarks</dt><dd>This function only works for wxTopLevelWindow-derived classes.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a124944524f36b71385dad8fddaad8ded" title="Lowers the window to the bottom of the window hierarchy (Z-order).">Lower()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a29dc7251746154c821b17841b9877830"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxWindow::Refresh </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>eraseBackground</em> = <code>true</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_rect.html">wxRect</a> * </td>
<td class="paramname"><em>rect</em> = <code>NULL</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>Causes this window, and all of its children recursively (except under wxGTK1 where this is not implemented), to be repainted. </p>
<p>Note that repainting doesn't happen immediately but only during the next event loop iteration, if you need to update the window immediately you should use <a class="el" href="classwx_window.html#abaf28f1a075fd1b10f761a8febe597ec" title="Calling this method immediately repaints the invalidated area of the window and all of its children r...">Update()</a> instead.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">eraseBackground</td><td>If <span class="literal">true</span>, the background will be erased. </td></tr>
<tr><td class="paramname">rect</td><td>If non-<span class="literal">NULL</span>, only the given rectangle will be treated as damaged.</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#ab0ae6b9898cd261c39ebeb2891aa3d67" title="Redraws the contents of the given rectangle: only the area inside it will be repainted.">RefreshRect()</a> </dd></dl>
<p>Reimplemented in <a class="el" href="classwx_menu_bar.html#a45199e821baabb53291a6b459767ccd3">wxMenuBar</a>.</p>
</div>
</div>
<a class="anchor" id="ab0ae6b9898cd261c39ebeb2891aa3d67"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::RefreshRect </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_rect.html">wxRect</a> & </td>
<td class="paramname"><em>rect</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>eraseBackground</em> = <code>true</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Redraws the contents of the given rectangle: only the area inside it will be repainted. </p>
<p>This is the same as <a class="el" href="classwx_window.html#a29dc7251746154c821b17841b9877830" title="Causes this window, and all of its children recursively (except under wxGTK1 where this is not implem...">Refresh()</a> but has a nicer syntax as it can be called with a temporary <a class="el" href="classwx_rect.html" title="A class for manipulating rectangles.">wxRect</a> object as argument like this <code>RefreshRect</code>(wxRect(x, y, w, h)). </p>
</div>
</div>
<a class="anchor" id="a53ca57872dac5851ea6ba55a494b899b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxWindow::RegisterHotKey </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>hotkeyId</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>modifiers</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>virtualKeyCode</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>Registers a system wide hotkey. </p>
<p>Every time the user presses the hotkey registered here, this window will receive a hotkey event.</p>
<p>It will receive the event even if the application is in the background and does not have the input focus because the user is working with some other application.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">hotkeyId</td><td>Numeric identifier of the hotkey. For applications this must be between 0 and 0xBFFF. If this function is called from a shared DLL, it must be a system wide unique identifier between 0xC000 and 0xFFFF. This is a MSW specific detail. </td></tr>
<tr><td class="paramname">modifiers</td><td>A bitwise combination of wxMOD_SHIFT, wxMOD_CONTROL, wxMOD_ALT or wxMOD_WIN specifying the modifier keys that have to be pressed along with the key. </td></tr>
<tr><td class="paramname">virtualKeyCode</td><td>The virtual key code of the hotkey.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><span class="literal">true</span> if the hotkey was registered successfully. <span class="literal">false</span> if some other application already registered a hotkey with this modifier/virtualKeyCode combination.</dd></dl>
<dl class="section remark"><dt>Remarks</dt><dd>Use EVT_HOTKEY(hotkeyId, fnc) in the event table to capture the event. This function is currently only implemented under Windows. It is used in the Windows CE port for detecting hardware button presses.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a695f60d65f8f6c12e3c3645ad9c0c35b" title="Unregisters a system wide hotkey.">UnregisterHotKey()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="adcc538819c11ecb3bd3e4e5d13c5ba7a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::ReleaseMouse </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Releases mouse input captured with <a class="el" href="classwx_window.html#a5c72c6260a73ef77bb0b1f7ec85fcfef" title="Directs all mouse input to this window.">CaptureMouse()</a>. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a5c72c6260a73ef77bb0b1f7ec85fcfef" title="Directs all mouse input to this window.">CaptureMouse()</a>, <a class="el" href="classwx_window.html#a9b44f61543b77317f9820e06856c5514" title="Returns true if this window has the current mouse capture.">HasCapture()</a>, <a class="el" href="classwx_window.html#adcc538819c11ecb3bd3e4e5d13c5ba7a" title="Releases mouse input captured with CaptureMouse().">ReleaseMouse()</a>, <a class="el" href="classwx_mouse_capture_lost_event.html" title="A mouse capture lost event is sent to a window that had obtained mouse capture, which was subsequentl...">wxMouseCaptureLostEvent</a>, <a class="el" href="classwx_mouse_capture_changed_event.html" title="An mouse capture changed event is sent to a window that loses its mouse capture.">wxMouseCaptureChangedEvent</a> </dd></dl>
</div>
</div>
<a class="anchor" id="acee332ed4368d26e8bc3db5767c1240a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxWindow::RemoveChild </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>child</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. </p>
<p>This is called automatically by window deletion functions so should not be required by the application programmer. Notice that this function is mostly internal to wxWidgets and shouldn't be called by the user code.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">child</td><td>Child window to remove. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="aacbfe424fa527966b954229a1db96ab5"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxWindow::RemoveEventHandler </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_evt_handler.html">wxEvtHandler</a> * </td>
<td class="paramname"><em>handler</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Find the given <em>handler</em> in the windows event handler stack and removes (but does not delete) it from the stack. </p>
<p>See <a class="el" href="classwx_evt_handler.html#a22e5db2ec1d19c8252c056fd116975d7" title="Unlinks this event handler from the chain it's part of (if any); then links the "previous" event ha...">wxEvtHandler::Unlink()</a> for more info.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">handler</td><td>The event handler to remove, must be non-<span class="literal">NULL</span> and must be present in this windows event handlers stack.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns <span class="literal">true</span> if it was found and <span class="literal">false</span> otherwise (this also results in an assert failure so this function should only be called when the handler is supposed to be there).</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a398c11ab9af7956067a964f560d1978c" title="Pushes this event handler onto the event stack for the window.">PushEventHandler()</a>, <a class="el" href="classwx_window.html#ac45c1f4cf96c70779764c14cf528790b" title="Removes and returns the top-most event handler on the event handler stack.">PopEventHandler()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a7977b749284e65aecfed2ce146799cb9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxWindow::Reparent </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>newParent</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>Reparents the window, i.e. the window will be removed from its current parent window (e.g. </p>
<p>a non-standard toolbar in 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>) and then re-inserted into another.</p>
<p>Notice that currently you need to explicitly call <a class="el" href="classwx_book_ctrl_base.html#a3297ad25597b3e993aa2b7a310c5159c" title="Deletes the specified page, without deleting the associated window.">wxNotebook::RemovePage()</a> before reparenting a notebook page.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">newParent</td><td>New parent. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a0f9814efc50316b4c57b7ec2bf78b716"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool wxWindow::SafelyProcessEvent </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_event.html">wxEvent</a> & </td>
<td class="paramname"><em>event</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>See <a class="el" href="classwx_window.html#a5ebdbd87c28644149a07f1742996df96" title="This function is public in wxEvtHandler but protected in wxWindow because for wxWindows you should al...">ProcessEvent()</a> for more info about why you shouldn't use this function and the reason for making this function protected in <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>. </p>
</div>
</div>
<a class="anchor" id="a65531bbc52f9508b0e31a9c08c97bd31"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::ScreenToClient </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></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Converts from screen to client window coordinates. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td>Stores the screen x coordinate and receives the client x coordinate. </td></tr>
<tr><td class="paramname">y</td><td>Stores the screen x coordinate and receives the client x coordinate. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a59d02b70a9107433836a977c4c0cd7a9"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_point.html">wxPoint</a> wxWindow::ScreenToClient </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_point.html">wxPoint</a> & </td>
<td class="paramname"><em>pt</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Converts from screen to client window coordinates. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">pt</td><td>The screen position. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="aa5c5b683bd11a0d9771bd2fcdf643c64"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxWindow::ScrollLines </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>lines</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>Scrolls the window by the given number of lines down (if <em>lines</em> is positive) or up. </p>
<dl class="section return"><dt>Returns</dt><dd>Returns <span class="literal">true</span> if the window was scrolled, <span class="literal">false</span> if it was already on top/bottom and nothing was done.</dd></dl>
<dl class="section remark"><dt>Remarks</dt><dd>This function is currently only implemented under MSW and <a class="el" href="classwx_text_ctrl.html" title="A text control allows text to be displayed and edited.">wxTextCtrl</a> under wxGTK (it also works for <a class="el" href="classwx_scrolled.html" title="The wxScrolled class manages scrolling for its client area, transforming the coordinates according to...">wxScrolled</a> classes under all platforms).</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#adc0ed5e1c4925223cb901ced14b8343d" title="Scrolls the window by the given number of pages down (if pages is positive) or up.">ScrollPages()</a> </dd></dl>
<p>Reimplemented in <a class="el" href="classwx_ribbon_gallery.html#a1fda9962ce07f5924cd4cc80cdc70d33">wxRibbonGallery</a>, and <a class="el" href="classwx_ribbon_page.html#a6c716e621f9452cbcaedce810974a751">wxRibbonPage</a>.</p>
</div>
</div>
<a class="anchor" id="adc0ed5e1c4925223cb901ced14b8343d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxWindow::ScrollPages </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>pages</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>Scrolls the window by the given number of pages down (if <em>pages</em> is positive) or up. </p>
<dl class="section return"><dt>Returns</dt><dd>Returns <span class="literal">true</span> if the window was scrolled, <span class="literal">false</span> if it was already on top/bottom and nothing was done.</dd></dl>
<dl class="section remark"><dt>Remarks</dt><dd>This function is currently only implemented under MSW and wxGTK.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#aa5c5b683bd11a0d9771bd2fcdf643c64" title="Scrolls the window by the given number of lines down (if lines is positive) or up.">ScrollLines()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ab7be4956ff22da37fff2b8aaa581045c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxWindow::ScrollWindow </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>dx</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>dy</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_rect.html">wxRect</a> * </td>
<td class="paramname"><em>rect</em> = <code>NULL</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>Physically scrolls the pixels in the window and move child windows accordingly. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">dx</td><td>Amount to scroll horizontally. </td></tr>
<tr><td class="paramname">dy</td><td>Amount to scroll vertically. </td></tr>
<tr><td class="paramname">rect</td><td>Rectangle to scroll, if it is <span class="literal">NULL</span>, the whole window is scrolled (this is always the case under wxGTK which doesn't support this parameter)</td></tr>
</table>
</dd>
</dl>
<dl class="section remark"><dt>Remarks</dt><dd>Note that you can often use <a class="el" href="classwx_scrolled.html" title="The wxScrolled class manages scrolling for its client area, transforming the coordinates according to...">wxScrolled</a> instead of using this function directly. </dd></dl>
</div>
</div>
<a class="anchor" id="a7e21eb6a0819281b29134a6432d064fe"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void wxWindow::SendDestroyEvent </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Generate <a class="el" href="classwx_window_destroy_event.html" title="This event is sent as early as possible during the window destruction process.">wxWindowDestroyEvent</a> for this window. </p>
<p>This is called by the window itself when it is being destroyed and usually there is no need to call it but see <a class="el" href="classwx_window_destroy_event.html" title="This event is sent as early as possible during the window destruction process.">wxWindowDestroyEvent</a> for explanations of when you might want to do it. </p>
</div>
</div>
<a class="anchor" id="a1afc1653413957537073c074dcc3eade"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxWindow::SendIdleEvents </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_idle_event.html">wxIdleEvent</a> & </td>
<td class="paramname"><em>event</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>Send idle event to window and all subwindows. </p>
<p>Returns true if more idle time is requested. </p>
</div>
</div>
<a class="anchor" id="a237f739b21937d3e8f1bff5fa82ba4c2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxWindow::SendSizeEvent </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>flags</em> = <code>0</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>This function sends a dummy <a class="el" href="classwx_size_event.html">size event</a> to the window allowing it to re-layout its children positions. </p>
<p>It is sometimes useful to call this function after adding or deleting a children after the frame creation or if a child size changes. Note that if the frame is using either sizers or constraints for the children layout, it is enough to call <a class="el" href="classwx_window.html#a1b143c3e72bd0af533b76db4830a6113" title="Invokes the constraint-based layout algorithm or the sizer-based algorithm for this window...">wxWindow::Layout()</a> directly and this function should not be used in this case.</p>
<p>If <em>flags</em> includes <code>wxSEND_EVENT_POST</code> value, this function posts the event, i.e. schedules it for later processing, instead of dispatching it directly. You can also use <a class="el" href="classwx_window.html#ab1943463e6661f97e072b43337c6cc09" title="Posts a size event to the window.">PostSizeEvent()</a> as a more readable equivalent of calling this function with this flag.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">flags</td><td>May include <code>wxSEND_EVENT_POST</code>. Default value is 0. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="af7987987978fd8a93df88b29b19a6388"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::SendSizeEventToParent </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>flags</em> = <code>0</code></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Safe wrapper for <a class="el" href="classwx_window.html#a63871f881941b99b4b94328d1c4cd163" title="Returns the parent of the window, or NULL if there is no parent.">GetParent()</a>-><a class="el" href="classwx_window.html#a237f739b21937d3e8f1bff5fa82ba4c2" title="This function sends a dummy size event to the window allowing it to re-layout its children positions...">SendSizeEvent()</a>. </p>
<p>This function simply checks that the window has a valid parent which is not in process of being deleted and calls <a class="el" href="classwx_window.html#a237f739b21937d3e8f1bff5fa82ba4c2" title="This function sends a dummy size event to the window allowing it to re-layout its children positions...">SendSizeEvent()</a> on it. It is used internally by windows such as toolbars changes to whose state should result in parent re-layout (e.g. when a toolbar is added to the top of the window, all the other windows must be shifted down).</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#aa080d8dcda58bcc6ea2abd8bea592e3e" title="Posts a size event to the parent of this window.">PostSizeEventToParent()</a></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">flags</td><td>See description of this parameter in <a class="el" href="classwx_window.html#a237f739b21937d3e8f1bff5fa82ba4c2" title="This function sends a dummy size event to the window allowing it to re-layout its children positions...">SendSizeEvent()</a> documentation. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a0af5e9aa4dee6a4e92c0700f92605642"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxWindow::SetAcceleratorTable </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_accelerator_table.html">wxAcceleratorTable</a> & </td>
<td class="paramname"><em>accel</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>Sets the accelerator table for this window. </p>
<p>See <a class="el" href="classwx_accelerator_table.html" title="An accelerator table allows the application to specify a table of keyboard shortcuts for menu or butt...">wxAcceleratorTable</a>. </p>
</div>
</div>
<a class="anchor" id="a413220ead41f05a2ec2cfe10b3d573df"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::SetAccessible </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_accessible.html">wxAccessible</a> * </td>
<td class="paramname"><em>accessible</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the accessible for this window. </p>
<p>Any existing accessible for this window will be deleted first, if not identical to <em>accessible</em>. See also <a class="el" href="classwx_accessible.html" title="The wxAccessible class allows wxWidgets applications, and wxWidgets itself, to return extended inform...">wxAccessible</a>. </p>
</div>
</div>
<a class="anchor" id="ad369fe1db5c20f9d9edff7b5eb1f7226"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::SetAutoLayout </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>autoLayout</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Determines whether the <a class="el" href="classwx_window.html#a1b143c3e72bd0af533b76db4830a6113" title="Invokes the constraint-based layout algorithm or the sizer-based algorithm for this window...">Layout()</a> function will be called automatically when the window is resized. </p>
<p>This method is called implicitly by <a class="el" href="classwx_window.html#abc95691b45e29a52c24aa9d33d46dec1" title="Sets the window to have the given layout sizer.">SetSizer()</a> but if you use <a class="el" href="classwx_window.html#afa75d111bbd9a68f837101a5fbed60a7" title="Sets the window to have the given layout constraints.">SetConstraints()</a> you should call it manually or otherwise the window layout won't be correctly updated when its size changes.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">autoLayout</td><td>Set this to <span class="literal">true</span> if you wish the <a class="el" href="classwx_window.html#a1b143c3e72bd0af533b76db4830a6113" title="Invokes the constraint-based layout algorithm or the sizer-based algorithm for this window...">Layout()</a> function to be called automatically when the window is resized.</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#abc95691b45e29a52c24aa9d33d46dec1" title="Sets the window to have the given layout sizer.">SetSizer()</a>, <a class="el" href="classwx_window.html#afa75d111bbd9a68f837101a5fbed60a7" title="Sets the window to have the given layout constraints.">SetConstraints()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a37219df52734626e23401fd83b25d8a0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxWindow::SetBackgroundColour </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_colour.html">wxColour</a> & </td>
<td class="paramname"><em>colour</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>Sets the background colour of the window. </p>
<p>Notice that as with <a class="el" href="classwx_window.html#a69f1e1c7ddd370d72e68c70f13ac8de9" title="Sets the foreground colour of the window.">SetForegroundColour()</a>, setting the background colour of a native control may not affect the entire control and could be not supported at all depending on the control and platform.</p>
<p>Please see <a class="el" href="classwx_window.html#a6b1bf9e099704e7a493b8c4666b1f7f7" title="This function is (or should be, in case of custom controls) called during window creation to intellig...">InheritAttributes()</a> for explanation of the difference between this method and <a class="el" href="classwx_window.html#a9a3f9d8477aab1d9176cd66ee56e75d9" title="Sets the background colour of the window but prevents it from being inherited by the children of this...">SetOwnBackgroundColour()</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">colour</td><td>The colour to be used as the background colour; pass wxNullColour to reset to the default colour. Note that you may want to use <a class="el" href="classwx_system_settings.html#ab252414b60f16a233bc17df2a19bd804" title="Returns a system colour.">wxSystemSettings::GetColour()</a> to retrieve a suitable colour to use rather than setting an hard-coded one.</td></tr>
</table>
</dd>
</dl>
<dl class="section remark"><dt>Remarks</dt><dd>The background colour is usually painted by the default <a class="el" href="classwx_erase_event.html" title="An erase event is sent when a window's background needs to be repainted.">wxEraseEvent</a> event handler function under Windows and automatically under GTK. Note that setting the background colour does not cause an immediate refresh, so you may wish to call <a class="el" href="classwx_window.html#a61e833684ee5c89775e91e88be1a9a52" title="Clears the window by filling it with the current background colour.">wxWindow::ClearBackground</a> or <a class="el" href="classwx_window.html#a29dc7251746154c821b17841b9877830" title="Causes this window, and all of its children recursively (except under wxGTK1 where this is not implem...">wxWindow::Refresh</a> after calling this function. Using this function will disable attempts to use themes for this window, if the system supports them. Use with care since usually the themes represent the appearance chosen by the user to be used for all applications on the system.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd><span class="literal">true</span> if the colour was really changed, <span class="literal">false</span> if it was already set to this colour and nothing was done.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a3006d98a4145b7064c1f08e39487d257" title="Returns the background colour of the window.">GetBackgroundColour()</a>, <a class="el" href="classwx_window.html#a69f1e1c7ddd370d72e68c70f13ac8de9" title="Sets the foreground colour of the window.">SetForegroundColour()</a>, <a class="el" href="classwx_window.html#acb8e9bd1c88f330bc9748255a5592964" title="Returns the foreground colour of the window.">GetForegroundColour()</a>, <a class="el" href="classwx_window.html#a61e833684ee5c89775e91e88be1a9a52" title="Clears the window by filling it with the current background colour.">ClearBackground()</a>, <a class="el" href="classwx_window.html#a29dc7251746154c821b17841b9877830" title="Causes this window, and all of its children recursively (except under wxGTK1 where this is not implem...">Refresh()</a>, <a class="el" href="classwx_erase_event.html" title="An erase event is sent when a window's background needs to be repainted.">wxEraseEvent</a>, <a class="el" href="classwx_system_settings.html" title="wxSystemSettings allows the application to ask for details about the system.">wxSystemSettings</a> </dd></dl>
<p>Reimplemented in <a class="el" href="classwx_list_ctrl.html#a935412e9017c3fe511514cfc360a3117">wxListCtrl</a>.</p>
</div>
</div>
<a class="anchor" id="af14f8fd2ed2d30a9bbb5d4f9fd6594ec"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxWindow::SetBackgroundStyle </td>
<td>(</td>
<td class="paramtype"><a class="el" href="defs_8h.html#a4bc8ece80d508fd70283b5a3b4c41e5f">wxBackgroundStyle</a> </td>
<td class="paramname"><em>style</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>Sets the background style of the window. </p>
<p>The default background style is <code>wxBG_STYLE_ERASE</code> which indicates that the window background may be erased in <code>EVT_ERASE_BACKGROUND</code> handler. This is a safe, compatibility default; however you may want to change it to <code>wxBG_STYLE_SYSTEM</code> if you don't define any erase background event handlers at all, to avoid unnecessary generation of erase background events and always let system erase the background. And you should change the background style to <code>wxBG_STYLE_PAINT</code> if you define an <code>EVT_PAINT</code> handler which completely overwrites the window background as in this case erasing it previously, either in <code>EVT_ERASE_BACKGROUND</code> handler or in the system default handler, would result in flicker as the background pixels will be repainted twice every time the window is redrawn. Do ensure that the background is entirely erased by your <code>EVT_PAINT</code> handler in this case however as otherwise garbage may be left on screen.</p>
<p>Notice that in previous versions of wxWidgets a common way to work around the above mentioned flickering problem was to define an empty <code>EVT_ERASE_BACKGROUND</code> handler. Setting background style to <code>wxBG_STYLE_PAINT</code> is a simpler and more efficient solution to the same problem.</p>
<p>Under wxGTK and wxOSX, you can use <a class="el" href="defs_8h.html#a4bc8ece80d508fd70283b5a3b4c41e5fa229f1fe9198f8a0eadf0d8ab45a16460" title="Indicates that the window background is not erased, letting the parent window show through...">wxBG_STYLE_TRANSPARENT</a> to obtain full transparency of the window background. Note that wxGTK supports this only since GTK 2.12 with a compositing manager enabled, call <a class="el" href="classwx_window.html#a7940d510c5bdc062a2b109a1022dd8c2" title="Checks whether using transparent background might work.">IsTransparentBackgroundSupported()</a> to check whether this is the case.</p>
<p>Also, on order for <code>SetBackgroundStyle(wxBG_STYLE_TRANSPARENT)</code> to work, it must be called before <a class="el" href="classwx_window.html#a95b7ca8faa033f5ab35458887c07bf38">Create()</a>. If you're using your own wxWindow-derived class you should write your code in the following way: </p>
<div class="fragment"><div class="line"><span class="keyword">class </span>MyWidget : <span class="keyword">public</span> <a class="code" href="classwx_window.html" title="wxWindow is the base class for all windows and represents any visible object on screen.">wxWindow</a></div>
<div class="line">{</div>
<div class="line"><span class="keyword">public</span>:</div>
<div class="line"> MyWidget(<a class="code" href="classwx_window.html" title="wxWindow is the base class for all windows and represents any visible object on screen.">wxWindow</a>* parent, ...)</div>
<div class="line"> : <a class="code" href="classwx_window.html" title="wxWindow is the base class for all windows and represents any visible object on screen.">wxWindow</a>() <span class="comment">// Use default ctor here!</span></div>
<div class="line"> {</div>
<div class="line"> <span class="comment">// Do this first:</span></div>
<div class="line"> <a class="code" href="classwx_window.html#af14f8fd2ed2d30a9bbb5d4f9fd6594ec" title="Sets the background style of the window.">SetBackgroundStyle</a>(<a class="code" href="defs_8h.html#a4bc8ece80d508fd70283b5a3b4c41e5fa229f1fe9198f8a0eadf0d8ab45a16460" title="Indicates that the window background is not erased, letting the parent window show through...">wxBG_STYLE_TRANSPARENT</a>);</div>
<div class="line"></div>
<div class="line"> <span class="comment">// And really create the window afterwards:</span></div>
<div class="line"> <a class="code" href="classwx_window.html#a95b7ca8faa033f5ab35458887c07bf38">Create</a>(parent, ...);</div>
<div class="line"> }</div>
<div class="line">};</div>
</div><!-- fragment --><dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a37219df52734626e23401fd83b25d8a0" title="Sets the background colour of the window.">SetBackgroundColour()</a>, <a class="el" href="classwx_window.html#acb8e9bd1c88f330bc9748255a5592964" title="Returns the foreground colour of the window.">GetForegroundColour()</a>, <a class="el" href="classwx_window.html#ac8cf4398cec50ac36634760f45a0656f" title="Set the transparency of the window.">SetTransparent()</a>, <a class="el" href="classwx_window.html#a7940d510c5bdc062a2b109a1022dd8c2" title="Checks whether using transparent background might work.">IsTransparentBackgroundSupported()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a2b8b2e99231a0ec1a05f5066f1b7f3d8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxWindow::SetCanFocus </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>canFocus</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 method is only implemented by ports which have support for native TAB traversal (such as GTK+ 2.0). </p>
<p>It is called by wxWidgets' container control code to give the native system a hint when doing TAB traversal. A call to this does not disable or change the effect of programmatically calling <a class="el" href="classwx_window.html#a697f9f8d3ff389790f1c74b59bcb1d75" title="This sets the window to receive keyboard input.">SetFocus()</a>.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_focus_event.html" title="A focus event is sent when a window's focus changes.">wxFocusEvent</a>, <a class="el" href="classwx_panel.html#a3764294f9ec0393033efc02860daba5b" title="Overrides wxWindow::SetFocus().">wxPanel::SetFocus</a>, <a class="el" href="classwx_panel.html#ae1f608902d585383401423a8e4eefe13" title="In contrast to SetFocus() (see above) this will set the focus to the panel even if there are child wi...">wxPanel::SetFocusIgnoringChildren</a> </dd></dl>
</div>
</div>
<a class="anchor" id="acfef5e1cada92c73e2937b84ff57ff57"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::SetCaret </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_caret.html">wxCaret</a> * </td>
<td class="paramname"><em>caret</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the caret() associated with the window. </p>
</div>
</div>
<a class="anchor" id="aa59f715217fffa5bcf14cd97f92e7840"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::SetClientSize </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 sets the size of the window client area in pixels. </p>
<p>Using this function to size a window tends to be more device-independent than <a class="el" href="classwx_window.html#a180312d5ad4a4a5ad805b8d52d67a74e" title="Sets the size of the window in pixels.">SetSize()</a>, since the application need not worry about what dimensions the border or title bar have when trying to fit the window around panel items, for example.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="overview_windowsizing.html">Window Sizing Overview</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ab2aadc857ee7f55f47ab9a8669e3beb7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::SetClientSize </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>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="a582d4d1f60a3f777627773b2da0bb2ef"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::SetClientSize </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_rect.html">wxRect</a> & </td>
<td class="paramname"><em>rect</em></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="afa75d111bbd9a68f837101a5fbed60a7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::SetConstraints </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_layout_constraints.html">wxLayoutConstraints</a> * </td>
<td class="paramname"><em>constraints</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the window to have the given layout constraints. </p>
<p>The window will then own the object, and will take care of its deletion. If an existing layout constraints object is already owned by the window, it will be deleted.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">constraints</td><td>The constraints to set. Pass <span class="literal">NULL</span> to disassociate and delete the window's constraints.</td></tr>
</table>
</dd>
</dl>
<dl class="section remark"><dt>Remarks</dt><dd>You must call <a class="el" href="classwx_window.html#ad369fe1db5c20f9d9edff7b5eb1f7226" title="Determines whether the Layout() function will be called automatically when the window is resized...">SetAutoLayout()</a> to tell a window to use the constraints automatically in OnSize; otherwise, you must override OnSize and call <a class="el" href="classwx_window.html#a1b143c3e72bd0af533b76db4830a6113" title="Invokes the constraint-based layout algorithm or the sizer-based algorithm for this window...">Layout()</a> explicitly. When setting both a <a class="el" href="classwx_layout_constraints.html">wxLayoutConstraints</a> and a <a class="el" href="classwx_sizer.html" title="wxSizer is the abstract base class used for laying out subwindows in a window.">wxSizer</a>, only the sizer will have effect. </dd></dl>
</div>
</div>
<a class="anchor" id="a0ccf78fe06722b500adfb7f36b8ce443"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::SetContainingSizer </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>
</div><div class="memdoc">
<p>This normally does not need to be called by user code. </p>
<p>It is called when a window is added to a sizer, and is used so the window can remove itself from the sizer when it is destroyed. </p>
</div>
</div>
<a class="anchor" id="ad83f9c51c6f31e0e05f598b47a19ed98"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxWindow::SetCursor </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_cursor.html">wxCursor</a> & </td>
<td class="paramname"><em>cursor</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>Sets the window's cursor. </p>
<p>Notice that the window cursor also sets it for the children of the window implicitly.</p>
<p>The <em>cursor</em> may be <code>wxNullCursor</code> in which case the window cursor will be reset back to default.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">cursor</td><td>Specifies the cursor that the window should normally display.</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="group__group__funcmacro__gdi.html#ga04d90db090918ad96448b5603d89617b" title="Globally sets the cursor; only has an effect on Windows, Mac and GTK+.">wxSetCursor</a>, <a class="el" href="classwx_cursor.html" title="A cursor is a small bitmap usually used for denoting where the mouse pointer is, with a picture that ...">wxCursor</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a5477a89c17fdcc3ec6c90274796eb1c3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::SetDoubleBuffered </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>on</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Turn on or off double buffering of the window if the system supports it. </p>
</div>
</div>
<a class="anchor" id="ae34b4d45433ca8287df0e47d46411e58"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxWindow::SetDropTarget </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_drop_target.html">wxDropTarget</a> * </td>
<td class="paramname"><em>target</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>Associates a drop target with this window. </p>
<p>If the window already has a drop target, it is deleted.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a4511e71affd926a47c5c320563ca2df5" title="Returns the associated drop target, which may be NULL.">GetDropTarget()</a>, <a class="el" href="overview_dnd.html">Drag and Drop Overview</a> </dd></dl>
</div>
</div>
<a class="anchor" id="af6c84b7679183b377ba27a52a2f708b4"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::SetEventHandler </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_evt_handler.html">wxEvtHandler</a> * </td>
<td class="paramname"><em>handler</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the event handler for this window. </p>
<p>Note that if you use this function you may want to use as the "next" handler of <em>handler</em> the window itself; in this way when <em>handler</em> doesn't process an event, the window itself will have a chance to do it.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">handler</td><td>Specifies the handler to be set. Cannot be <span class="literal">NULL</span>.</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="overview_events.html#overview_events_processing">How Events are Processed</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ae9655f7c35ce7ac89cac2f6c0054b103"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxWindow::SetExtraStyle </td>
<td>(</td>
<td class="paramtype">long </td>
<td class="paramname"><em>exStyle</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>Sets the extra style bits for the window. </p>
<p>The currently defined extra style bits are reported in the class description. </p>
</div>
</div>
<a class="anchor" id="a697f9f8d3ff389790f1c74b59bcb1d75"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxWindow::SetFocus </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>This sets the window to receive keyboard input. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a4e0abff99d64d2a595ee0ab4b415bbd6" title="Returns true if the window (or in case of composite controls, its main child window) has focus...">HasFocus()</a>, <a class="el" href="classwx_focus_event.html" title="A focus event is sent when a window's focus changes.">wxFocusEvent</a>, <a class="el" href="classwx_panel.html#a3764294f9ec0393033efc02860daba5b" title="Overrides wxWindow::SetFocus().">wxPanel::SetFocus</a>, <a class="el" href="classwx_panel.html#ae1f608902d585383401423a8e4eefe13" title="In contrast to SetFocus() (see above) this will set the focus to the panel even if there are child wi...">wxPanel::SetFocusIgnoringChildren</a> </dd></dl>
<p>Reimplemented in <a class="el" href="classwx_panel.html#a3764294f9ec0393033efc02860daba5b">wxPanel</a>.</p>
</div>
</div>
<a class="anchor" id="a6fa03f82d7917dff482754d0d2e2b1c8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxWindow::SetFocusFromKbd </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>This function is called by wxWidgets keyboard navigation code when the user gives the focus to this window from keyboard (e.g. </p>
<p>using <code>TAB</code> key).</p>
<p>By default this method simply calls <a class="el" href="classwx_window.html#a697f9f8d3ff389790f1c74b59bcb1d75" title="This sets the window to receive keyboard input.">SetFocus()</a> but can be overridden to do something in addition to this in the derived classes. </p>
</div>
</div>
<a class="anchor" id="a9ab11e7da57a1d08918aa75fc33f6ad3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxWindow::SetFont </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_font.html">wxFont</a> & </td>
<td class="paramname"><em>font</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>Sets the font for this window. </p>
<p>This function should not be called for the parent window if you don't want its font to be inherited by its children, use <a class="el" href="classwx_window.html#a89a4f62f23c1e7c845b8d07cecae4c43" title="Sets the font of the window but prevents it from being inherited by the children of this window...">SetOwnFont()</a> instead in this case and see <a class="el" href="classwx_window.html#a6b1bf9e099704e7a493b8c4666b1f7f7" title="This function is (or should be, in case of custom controls) called during window creation to intellig...">InheritAttributes()</a> for more explanations.</p>
<p>Please notice that the given font is not automatically used for <a class="el" href="classwx_paint_d_c.html" title="A wxPaintDC must be constructed if an application wishes to paint on the client area of a window from...">wxPaintDC</a> objects associated with this window, you need to call <a class="el" href="classwx_d_c.html#afab18239d707cd403235b36a987171a8" title="Sets the current font for the DC.">wxDC::SetFont</a> too. However this font is used by any standard controls for drawing their text as well as by <a class="el" href="classwx_window.html#ac9cd7b4472d5419e518f69311914466f" title="Gets the dimensions of the string as it would be drawn on the window with the currently selected font...">GetTextExtent()</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">font</td><td>Font to associate with this window, pass wxNullFont to reset to the default font.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><span class="literal">true</span> if the font was really changed, <span class="literal">false</span> if it was already set to this font and nothing was done.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a0dcc6f6f7bda203a868ff10c413289fa" title="Returns the font for this window.">GetFont()</a>, <a class="el" href="classwx_window.html#a6b1bf9e099704e7a493b8c4666b1f7f7" title="This function is (or should be, in case of custom controls) called during window creation to intellig...">InheritAttributes()</a> </dd></dl>
<p>Reimplemented in <a class="el" href="classwx_rich_text_ctrl.html#ad1e86c9e0daa943945f2fe82954092c6">wxRichTextCtrl</a>, <a class="el" href="classwx_aui_tool_bar.html#a8842fa968ac5c45344010bbca457594d">wxAuiToolBar</a>, <a class="el" href="classwx_aui_notebook.html#ad97a013c2ad887cde7ebffc67b7a167f">wxAuiNotebook</a>, and <a class="el" href="classwx_info_bar.html#aa6daa44e1c08910abf14ad075b1d9f86">wxInfoBar</a>.</p>
</div>
</div>
<a class="anchor" id="a69f1e1c7ddd370d72e68c70f13ac8de9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxWindow::SetForegroundColour </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_colour.html">wxColour</a> & </td>
<td class="paramname"><em>colour</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>Sets the foreground colour of the window. </p>
<p>The meaning of foreground colour varies according to the window class; it may be the text colour or other colour, or it may not be used at all. Additionally, not all native controls support changing their foreground colour so this method may change their colour only partially or even not at all.</p>
<p>Please see <a class="el" href="classwx_window.html#a6b1bf9e099704e7a493b8c4666b1f7f7" title="This function is (or should be, in case of custom controls) called during window creation to intellig...">InheritAttributes()</a> for explanation of the difference between this method and <a class="el" href="classwx_window.html#a53f4a878e4e2d440bd00543f8014aaaa" title="Sets the foreground colour of the window but prevents it from being inherited by the children of this...">SetOwnForegroundColour()</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">colour</td><td>The colour to be used as the foreground colour; pass wxNullColour to reset to the default colour.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><span class="literal">true</span> if the colour was really changed, <span class="literal">false</span> if it was already set to this colour and nothing was done.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#acb8e9bd1c88f330bc9748255a5592964" title="Returns the foreground colour of the window.">GetForegroundColour()</a>, <a class="el" href="classwx_window.html#a37219df52734626e23401fd83b25d8a0" title="Sets the background colour of the window.">SetBackgroundColour()</a>, <a class="el" href="classwx_window.html#a3006d98a4145b7064c1f08e39487d257" title="Returns the background colour of the window.">GetBackgroundColour()</a>, <a class="el" href="classwx_window.html#a0c43a27fa04f9c17cc28fde71fdba490" title="Return true from here to allow the colours of this window to be changed by InheritAttributes().">ShouldInheritColours()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a4c1a2cbc7363237b3a7c70af4e702c72"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::SetHelpText </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>helpText</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the help text to be used as context-sensitive help for this window. </p>
<p>Note that the text is actually stored by the current <a class="el" href="classwx_help_provider.html" title="wxHelpProvider is an abstract class used by a program implementing context-sensitive help to show the...">wxHelpProvider</a> implementation, and not in the window object itself.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a77f8a4bbee228ed333af2e6a06509cff" title="Gets the help text to be used as context-sensitive help for this window.">GetHelpText()</a>, <a class="el" href="classwx_help_provider.html#ae4b53b23804a04ce2c4eb93c17e4e8c6" title="Associates the text with the given window.">wxHelpProvider::AddHelp()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a7f27d0faed14effa013381bdc40e1bcd"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::SetId </td>
<td>(</td>
<td class="paramtype"><a class="el" href="windowid_8h.html#ae8091432cc2cb2485d45f2302fb51133">wxWindowID</a> </td>
<td class="paramname"><em>winid</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the identifier of the window. </p>
<dl class="section remark"><dt>Remarks</dt><dd>Each window has an integer identifier. If the application has not provided one, an identifier will be generated. Normally, the identifier should be provided on creation and should not be modified subsequently.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a4633b6ad527c921598f55af5274156f0" title="Returns the identifier of the window.">GetId()</a>, <a class="el" href="overview_windowids.html">Window IDs</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ae6dfe0b0d4a8c666b21ce8df8d96727b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxWindow::SetInitialBestSize </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>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the initial window size if none is given (i.e. at least one of the components of the size passed to ctor/Create() is wxDefaultCoord). </p>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000067">Deprecated:</a></b></dt><dd>Use <a class="el" href="classwx_window.html#a1b309ca50ba87e34f968c83b79af1397" title="A smart SetSize that will fill in default size components with the window's best size values...">SetInitialSize()</a> instead. </dd></dl>
</div>
</div>
<a class="anchor" id="a1b309ca50ba87e34f968c83b79af1397"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::SetInitialSize </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_size.html">wxSize</a> & </td>
<td class="paramname"><em>size</em> = <code><a class="el" href="gdicmn_8h.html#a33a012cdb075e9f78c93f63bec2dc27b">wxDefaultSize</a></code></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>A <em>smart</em> SetSize that will fill in default size components with the window's <em>best</em> size values. </p>
<p>Also sets the window's minsize to the value passed in for use with sizers. This means that if a full or partial size is passed to this function then the sizers will use that size instead of the results of <a class="el" href="classwx_window.html#a7e64b9380374e5681f146e9e319e35e3" title="This functions returns the best acceptable minimal size for the window.">GetBestSize()</a> to determine the minimum needs of the window for layout.</p>
<p>Most controls will use this to set their initial size, and their min size to the passed in value (if any.)</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a180312d5ad4a4a5ad805b8d52d67a74e" title="Sets the size of the window in pixels.">SetSize()</a>, <a class="el" href="classwx_window.html#a7e64b9380374e5681f146e9e319e35e3" title="This functions returns the best acceptable minimal size for the window.">GetBestSize()</a>, <a class="el" href="classwx_window.html#a1a54fcda8d52986482e030bd54739e9f" title="Merges the window's best size into the min size and returns the result.">GetEffectiveMinSize()</a>, <a class="el" href="overview_windowsizing.html">Window Sizing Overview</a> </dd></dl>
</div>
</div>
<a class="anchor" id="aa00ffea9f53587f29ae343adde033b8e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxWindow::SetLabel </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>label</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>Sets the window's label. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">label</td><td>The window label.</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a87fc676546f2ab837342b2e164dd52f0" title="Generic way of getting a label from any window, for identification purposes.">GetLabel()</a> </dd></dl>
<p>Reimplemented in <a class="el" href="classwx_button.html#ae16ea5741a8a6ef4c1d2708fef315a9a">wxButton</a>, <a class="el" href="classwx_control.html#a2c2ae20554e7db5e765f163022ce09c0">wxControl</a>, and <a class="el" href="classwx_command_link_button.html#abc8a21805f1a8c07734a3b781e8dd18b">wxCommandLinkButton</a>.</p>
</div>
</div>
<a class="anchor" id="a7d494549f7fcfed44af95f8ee364c1f9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxWindow::SetLayoutDirection </td>
<td>(</td>
<td class="paramtype"><a class="el" href="intl_8h.html#a7e30efec05ef9b40b1750ac046400c81">wxLayoutDirection</a> </td>
<td class="paramname"><em>dir</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>Sets the layout direction for this window. </p>
</div>
</div>
<a class="anchor" id="a664e5b2ddd817d9c58788269fe1d8479"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxWindow::SetMaxClientSize </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>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the maximum client size of the window, to indicate to the sizer layout mechanism that this is the maximum possible size of its client area. </p>
<p>Note that this method is just a shortcut for: </p>
<div class="fragment"><div class="line"><a class="code" 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...">SetMaxSize</a>(<a class="code" href="classwx_window.html#a693fffbbb7ad5f36a5f442703396dafa" title="Converts client area size size to corresponding window size.">ClientToWindowSize</a>(size));</div>
</div><!-- fragment --><dl class="section see"><dt>See Also</dt><dd><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...">SetMaxSize()</a>, <a class="el" href="overview_windowsizing.html">Window Sizing Overview</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a38b496214d728a3212afadee5ed51606"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxWindow::SetMaxSize </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>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the maximum size of the window, to indicate to the sizer layout mechanism that this is the maximum possible size. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a664e5b2ddd817d9c58788269fe1d8479" title="Sets the maximum client size of the window, to indicate to the sizer layout mechanism that this is th...">SetMaxClientSize()</a>, <a class="el" href="overview_windowsizing.html">Window Sizing Overview</a> </dd></dl>
<p>Reimplemented in <a class="el" href="classwx_top_level_window.html#afd6d2cccfe0ba0ff91e36f4d16cf3c7b">wxTopLevelWindow</a>.</p>
</div>
</div>
<a class="anchor" id="a6e35ba44b97e374dfffa460d41d94b31"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxWindow::SetMinClientSize </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>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the minimum client size of the window, to indicate to the sizer layout mechanism that this is the minimum required size of window's client area. </p>
<p>You may need to call this if you change the window size after construction and before adding to its parent sizer.</p>
<p>Note, that just as with <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...">SetMinSize()</a>, calling this method doesn't prevent the program from explicitly making the window smaller than the specified size.</p>
<p>Note that this method is just a shortcut for: </p>
<div class="fragment"><div class="line"><a class="code" 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...">SetMinSize</a>(<a class="code" href="classwx_window.html#a693fffbbb7ad5f36a5f442703396dafa" title="Converts client area size size to corresponding window size.">ClientToWindowSize</a>(size));</div>
</div><!-- fragment --><dl class="section see"><dt>See Also</dt><dd><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...">SetMinSize()</a>, <a class="el" href="overview_windowsizing.html">Window Sizing Overview</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a3fc066f4d8083319f004ac43811d545d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxWindow::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>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the minimum size of the window, to indicate to the sizer layout mechanism that this is the minimum required size. </p>
<p>You may need to call this if you change the window size after construction and before adding to its parent sizer.</p>
<p>Notice that calling this method doesn't prevent the program from making the window explicitly smaller than the specified size by calling <a class="el" href="classwx_window.html#a180312d5ad4a4a5ad805b8d52d67a74e" title="Sets the size of the window in pixels.">SetSize()</a>, it just ensures that it won't become smaller than this size during the automatic layout.</p>
<dl class="section see"><dt>See Also</dt><dd><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...">SetMinClientSize()</a>, <a class="el" href="overview_windowsizing.html">Window Sizing Overview</a> </dd></dl>
<p>Reimplemented in <a class="el" href="classwx_top_level_window.html#ac491313979c027b67526786b06167e6d">wxTopLevelWindow</a>.</p>
</div>
</div>
<a class="anchor" id="af80875cda5e1af98dcd7c8e712e3c800"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxWindow::SetName </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>name</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>Sets the window's name. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">name</td><td>A name to set for the window.</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#aab1b302c4bdabd134ce8d401dbaaf990" title="Returns the window's name.">GetName()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="aeab905f61df7004c1b76a3351dca9e96"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxWindow::SetNextHandler </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_evt_handler.html">wxEvtHandler</a> * </td>
<td class="paramname"><em>handler</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>wxWindows cannot be used to form event handler chains; this function thus will assert when called. </p>
<p>Note that instead you can use <a class="el" href="classwx_window.html#a398c11ab9af7956067a964f560d1978c" title="Pushes this event handler onto the event stack for the window.">PushEventHandler()</a> or <a class="el" href="classwx_window.html#af6c84b7679183b377ba27a52a2f708b4" title="Sets the event handler for this window.">SetEventHandler()</a> to implement a stack of event handlers to override <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>'s own event handling mechanism. </p>
<p>Reimplemented from <a class="el" href="classwx_evt_handler.html#a68e2ef2d2b7d68c4c9c18ca92933031b">wxEvtHandler</a>.</p>
</div>
</div>
<a class="anchor" id="a9a3f9d8477aab1d9176cd66ee56e75d9"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::SetOwnBackgroundColour </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_colour.html">wxColour</a> & </td>
<td class="paramname"><em>colour</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the background colour of the window but prevents it from being inherited by the children of this window. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a37219df52734626e23401fd83b25d8a0" title="Sets the background colour of the window.">SetBackgroundColour()</a>, <a class="el" href="classwx_window.html#a6b1bf9e099704e7a493b8c4666b1f7f7" title="This function is (or should be, in case of custom controls) called during window creation to intellig...">InheritAttributes()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a89a4f62f23c1e7c845b8d07cecae4c43"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::SetOwnFont </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_font.html">wxFont</a> & </td>
<td class="paramname"><em>font</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the font of the window but prevents it from being inherited by the children of this window. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a9ab11e7da57a1d08918aa75fc33f6ad3" title="Sets the font for this window.">SetFont()</a>, <a class="el" href="classwx_window.html#a6b1bf9e099704e7a493b8c4666b1f7f7" title="This function is (or should be, in case of custom controls) called during window creation to intellig...">InheritAttributes()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a53f4a878e4e2d440bd00543f8014aaaa"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::SetOwnForegroundColour </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_colour.html">wxColour</a> & </td>
<td class="paramname"><em>colour</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the foreground colour of the window but prevents it from being inherited by the children of this window. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a69f1e1c7ddd370d72e68c70f13ac8de9" title="Sets the foreground colour of the window.">SetForegroundColour()</a>, <a class="el" href="classwx_window.html#a6b1bf9e099704e7a493b8c4666b1f7f7" title="This function is (or should be, in case of custom controls) called during window creation to intellig...">InheritAttributes()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="aee57358435d6bd33f598c81354b47425"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::SetPalette </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_palette.html">wxPalette</a> & </td>
<td class="paramname"><em>pal</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000066">Deprecated:</a></b></dt><dd>use <a class="el" href="classwx_d_c.html#afc58b0f4653159e713377d38c84a120f" title="If this is a window DC or memory DC, assigns the given palette to the window or bitmap associated wit...">wxDC::SetPalette</a> instead. </dd></dl>
</div>
</div>
<a class="anchor" id="a81f23590239934fa10fded0566a65d8c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::SetPosition </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_point.html">wxPoint</a> & </td>
<td class="paramname"><em>pt</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>A synonym for <a class="el" href="classwx_window.html#a4a1819eeee3f2143cdde4f329ffde787" title="Centres the window.">Centre()</a>. </p>
</div>
</div>
<a class="anchor" id="a07f5f7ed3f78e0ef7b3dee3f4da81001"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxWindow::SetPreviousHandler </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_evt_handler.html">wxEvtHandler</a> * </td>
<td class="paramname"><em>handler</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>wxWindows cannot be used to form event handler chains; this function thus will assert when called. </p>
<p>Note that instead you can use <a class="el" href="classwx_window.html#a398c11ab9af7956067a964f560d1978c" title="Pushes this event handler onto the event stack for the window.">PushEventHandler()</a> or <a class="el" href="classwx_window.html#af6c84b7679183b377ba27a52a2f708b4" title="Sets the event handler for this window.">SetEventHandler()</a> to implement a stack of event handlers to override <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>'s own event handling mechanism. </p>
<p>Reimplemented from <a class="el" href="classwx_evt_handler.html#aff0d1836464be82e2ad723ad3a58eccc">wxEvtHandler</a>.</p>
</div>
</div>
<a class="anchor" id="aa842d59529f873683e55cd8392ec46e9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxWindow::SetScrollbar </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>orientation</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>position</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>thumbSize</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>range</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>refresh</em> = <code>true</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>Sets the scrollbar properties of a built-in scrollbar. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">orientation</td><td>Determines the scrollbar whose page size is to be set. May be wxHORIZONTAL or wxVERTICAL. </td></tr>
<tr><td class="paramname">position</td><td>The position of the scrollbar in scroll units. </td></tr>
<tr><td class="paramname">thumbSize</td><td>The size of the thumb, or visible portion of the scrollbar, in scroll units. </td></tr>
<tr><td class="paramname">range</td><td>The maximum position of the scrollbar. Value of -1 can be used to ask for the scrollbar to be shown but in the disabled state: this can be used to avoid removing the scrollbar even when it is not needed (currently this is only implemented in wxMSW port). </td></tr>
<tr><td class="paramname">refresh</td><td><span class="literal">true</span> to redraw the scrollbar, <span class="literal">false</span> otherwise.</td></tr>
</table>
</dd>
</dl>
<dl class="section remark"><dt>Remarks</dt><dd>Let's say you wish to display 50 lines of text, using the same font. The window is sized so that you can only see 16 lines at a time. You would use: <div class="fragment"><div class="line"><a class="code" href="classwx_window.html#aa842d59529f873683e55cd8392ec46e9" title="Sets the scrollbar properties of a built-in scrollbar.">SetScrollbar</a>(<a class="code" href="defs_8h.html#a1e6994f40bd9cb140e292afb165af971a2134d1cb8cf605532880c118190695b5">wxVERTICAL</a>, 0, 16, 50);</div>
</div><!-- fragment --> Note that with the window at this size, the thumb position can never go above 50 minus 16, or 34. You can determine how many lines are currently visible by dividing the current view size by the character height in pixels. When defining your own scrollbar behaviour, you will always need to recalculate the scrollbar settings when the window size changes. You could therefore put your scrollbar calculations and SetScrollbar call into a function named AdjustScrollbars, which can be called initially and also from your <a class="el" href="classwx_size_event.html" title="A size event holds information about size change events of wxWindow.">wxSizeEvent</a> handler function.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="overview_scrolling.html">Scrolled Windows</a>, <a class="el" href="classwx_scroll_bar.html" title="A wxScrollBar is a control that represents a horizontal or vertical scrollbar.">wxScrollBar</a>, <a class="el" href="classwx_scrolled.html" title="The wxScrolled class manages scrolling for its client area, transforming the coordinates according to...">wxScrolled</a>, <a class="el" href="classwx_scroll_win_event.html" title="A scroll event holds information about events sent from scrolling windows.">wxScrollWinEvent</a> </dd></dl>
<p>Reimplemented in <a class="el" href="classwx_scroll_bar.html#ae69c239fd6af4ebcabf46efa9fc5092e">wxScrollBar</a>.</p>
</div>
</div>
<a class="anchor" id="afbf4dc9064cf70cfe6884554b97a27bf"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxWindow::SetScrollPos </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>orientation</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>pos</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>refresh</em> = <code>true</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>Sets the position of one of the built-in scrollbars. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">orientation</td><td>Determines the scrollbar whose position is to be set. May be wxHORIZONTAL or wxVERTICAL. </td></tr>
<tr><td class="paramname">pos</td><td>Position in scroll units. </td></tr>
<tr><td class="paramname">refresh</td><td><span class="literal">true</span> to redraw the scrollbar, <span class="literal">false</span> otherwise.</td></tr>
</table>
</dd>
</dl>
<dl class="section remark"><dt>Remarks</dt><dd>This function does not directly affect the contents of the window: it is up to the application to take note of scrollbar attributes and redraw contents accordingly.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#aa842d59529f873683e55cd8392ec46e9" title="Sets the scrollbar properties of a built-in scrollbar.">SetScrollbar()</a>, <a class="el" href="classwx_window.html#a3e23d10c17943fd873d0acb472db0caa" title="Returns the built-in scrollbar position.">GetScrollPos()</a>, <a class="el" href="classwx_window.html#a10d24c60525a1c612cd775fc44dd1953" title="Returns the built-in scrollbar thumb size.">GetScrollThumb()</a>, <a class="el" href="classwx_scroll_bar.html" title="A wxScrollBar is a control that represents a horizontal or vertical scrollbar.">wxScrollBar</a>, <a class="el" href="classwx_scrolled.html" title="The wxScrolled class manages scrolling for its client area, transforming the coordinates according to...">wxScrolled</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a180312d5ad4a4a5ad805b8d52d67a74e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::SetSize </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 class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>sizeFlags</em> = <code><a class="el" href="defs_8h.html#a9604019ec0a451fddab3c8e2ddbe2bee">wxSIZE_AUTO</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the size of the window in pixels. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td>Required x position in pixels, or wxDefaultCoord to indicate that the existing value should be used. </td></tr>
<tr><td class="paramname">y</td><td>Required y position in pixels, or wxDefaultCoord to indicate that the existing value should be used. </td></tr>
<tr><td class="paramname">width</td><td>Required width in pixels, or wxDefaultCoord to indicate that the existing value should be used. </td></tr>
<tr><td class="paramname">height</td><td>Required height position in pixels, or wxDefaultCoord to indicate that the existing value should be used. </td></tr>
<tr><td class="paramname">sizeFlags</td><td>Indicates the interpretation of other parameters. It is a bit list of the following:<ul>
<li><code>wxSIZE_AUTO_WIDTH:</code> a wxDefaultCoord width value is taken to indicate a wxWidgets-supplied default width.</li>
<li><code>wxSIZE_AUTO_HEIGHT:</code> a wxDefaultCoord height value is taken to indicate a wxWidgets-supplied default height.</li>
<li><code>wxSIZE_AUTO:</code> wxDefaultCoord size values are taken to indicate a wxWidgets-supplied default size.</li>
<li><code>wxSIZE_USE_EXISTING:</code> existing dimensions should be used if wxDefaultCoord values are supplied.</li>
<li><code>wxSIZE_ALLOW_MINUS_ONE:</code> allow negative dimensions (i.e. value of wxDefaultCoord) to be interpreted as real dimensions, not default values.</li>
<li><code>wxSIZE_FORCE:</code> normally, if the position and the size of the window are already the same as the parameters of this function, nothing is done. but with this flag a window resize may be forced even in this case (supported in wx 2.6.2 and later and only implemented for MSW and ignored elsewhere currently).</li>
</ul>
</td></tr>
</table>
</dd>
</dl>
<dl class="section remark"><dt>Remarks</dt><dd>This overload sets the position and optionally size, of the window. Parameters may be wxDefaultCoord to indicate either that a default should be supplied by wxWidgets, or that the current value of the dimension should be used.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#ab1cb98c8d25b9e6ff7b706b1446c3df7" title="Moves the window to the given position.">Move()</a>, <a class="el" href="overview_windowsizing.html">Window Sizing Overview</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a8e383bc6d5ca008965922a36c676aea0"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::SetSize </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_rect.html">wxRect</a> & </td>
<td class="paramname"><em>rect</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the size of the window in pixels. </p>
<p>The size is specified using a <a class="el" href="classwx_rect.html" title="A class for manipulating rectangles.">wxRect</a>, <a class="el" href="classwx_size.html" title="A wxSize is a useful data structure for graphics operations.">wxSize</a> or by a couple of <code>int</code> objects.</p>
<dl class="section remark"><dt>Remarks</dt><dd>This form must be used with non-default width and height values.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#ab1cb98c8d25b9e6ff7b706b1446c3df7" title="Moves the window to the given position.">Move()</a>, <a class="el" href="overview_windowsizing.html">Window Sizing Overview</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a030a928cd854de3def97c5720f14695b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::SetSize </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>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="a2ea9b25296d591aea4470c8fd99ff7cb"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::SetSize </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="a307329dc3b10f5584aeb2cbce9293ffd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxWindow::SetSizeHints </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_size.html">wxSize</a> & </td>
<td class="paramname"><em>minSize</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>maxSize</em> = <code><a class="el" href="gdicmn_8h.html#a33a012cdb075e9f78c93f63bec2dc27b">wxDefaultSize</a></code>, </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>incSize</em> = <code><a class="el" href="gdicmn_8h.html#a33a012cdb075e9f78c93f63bec2dc27b">wxDefaultSize</a></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>Use of this function for windows which are not toplevel windows (such as <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> or <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>) is discouraged. </p>
<p>Please use <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...">SetMinSize()</a> and <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...">SetMaxSize()</a> instead.</p>
<dl class="section see"><dt>See Also</dt><dd><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>, <a class="el" href="overview_windowsizing.html">Window Sizing Overview</a> </dd></dl>
<p>Reimplemented in <a class="el" href="classwx_top_level_window.html#a4ddaae1bebf05a2bc474a192a5b30e42">wxTopLevelWindow</a>.</p>
</div>
</div>
<a class="anchor" id="ae813c640e1e2bc6014423247050846cf"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxWindow::SetSizeHints </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>minW</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>minH</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>maxW</em> = <code>-1</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>maxH</em> = <code>-1</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>incW</em> = <code>-1</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>incH</em> = <code>-1</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>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>
<p>Reimplemented in <a class="el" href="classwx_top_level_window.html#ac01a45e5d82e4e3be22a4841c1217e11">wxTopLevelWindow</a>.</p>
</div>
</div>
<a class="anchor" id="abc95691b45e29a52c24aa9d33d46dec1"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::SetSizer </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>deleteOld</em> = <code>true</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the window to have the given layout sizer. </p>
<p>The window will then own the object, and will take care of its deletion. If an existing layout constraints object is already owned by the window, it will be deleted if the <em>deleteOld</em> parameter is <span class="literal">true</span>.</p>
<p>Note that this function will also call <a class="el" href="classwx_window.html#ad369fe1db5c20f9d9edff7b5eb1f7226" title="Determines whether the Layout() function will be called automatically when the window is resized...">SetAutoLayout()</a> implicitly with <span class="literal">true</span> parameter if the <em>sizer</em> is non-<span class="literal">NULL</span> and <span class="literal">false</span> otherwise so that the sizer will be effectively used to layout the window children whenever it is resized.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">sizer</td><td>The sizer to set. Pass <span class="literal">NULL</span> to disassociate and conditionally delete the window's sizer. See below. </td></tr>
<tr><td class="paramname">deleteOld</td><td>If <span class="literal">true</span> (the default), this will delete any pre-existing sizer. Pass <span class="literal">false</span> if you wish to handle deleting the old sizer yourself but remember to do it yourself in this case to avoid memory leaks.</td></tr>
</table>
</dd>
</dl>
<dl class="section remark"><dt>Remarks</dt><dd>SetSizer enables and disables Layout automatically. </dd></dl>
</div>
</div>
<a class="anchor" id="a29938af9828fd35da666536cdfb6b73c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::SetSizerAndFit </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>deleteOld</em> = <code>true</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>This method calls <a class="el" href="classwx_window.html#abc95691b45e29a52c24aa9d33d46dec1" title="Sets the window to have the given layout sizer.">SetSizer()</a> and then <a class="el" href="classwx_sizer.html#abc460cd0e2bb3bde72142fdb434bc546" title="This method first calls Fit() and then wxTopLevelWindow::SetSizeHints() on the window passed to it...">wxSizer::SetSizeHints</a> which sets the initial window size to the size needed to accommodate all sizer elements and sets the size hints which, if this window is a top level one, prevent the user from resizing it to be less than this minimal size. </p>
</div>
</div>
<a class="anchor" id="a41dd19ed8809fd8ec662e2aa2a9579c3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxWindow::SetThemeEnabled </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>enable</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 function tells a window if it should use the system's "theme" code to draw the windows' background instead of its own background drawing code. </p>
<p>This does not always have any effect since the underlying platform obviously needs to support the notion of themes in user defined windows. One such platform is GTK+ where windows can have (very colourful) backgrounds defined by a user's selected theme.</p>
<p>Dialogs, notebook pages and the status bar have this flag set to <span class="literal">true</span> by default so that the default look and feel is simulated best. </p>
</div>
</div>
<a class="anchor" id="a81a9fb74e3c6c7f4416e882f5e589b8c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::SetToolTip </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>tipString</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Attach a tooltip to the window. </p>
<p><a class="el" href="classwx_tool_tip.html" title="This class holds information about a tooltip associated with a window (see wxWindow::SetToolTip()).">wxToolTip</a> pointer can be <span class="literal">NULL</span> in the overload taking the pointer, meaning to unset any existing tooltips; however <a class="el" href="classwx_window.html#ae75712451673658b0a533480bf5eeaa4" title="Unset any existing tooltip.">UnsetToolTip()</a> provides a more readable alternative to this operation.</p>
<p>Notice that these methods are always available, even if wxWidgets was compiled with <code>wxUSE_TOOLTIPS</code> set to 0, but don't do anything in this case.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#aae94155ccf8a6e4e72ad08527c89ba89" title="Get the associated tooltip or NULL if none.">GetToolTip()</a>, <a class="el" href="classwx_tool_tip.html" title="This class holds information about a tooltip associated with a window (see wxWindow::SetToolTip()).">wxToolTip</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a494e0b7cfca9299caa40e847767e7357"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::SetToolTip </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_tool_tip.html">wxToolTip</a> * </td>
<td class="paramname"><em>tip</em></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="ac8cf4398cec50ac36634760f45a0656f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxWindow::SetTransparent </td>
<td>(</td>
<td class="paramtype"><a class="el" href="defs_8h.html#a02052a0390b909998c03fe2371d8e83e">wxByte</a> </td>
<td class="paramname"><em>alpha</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>Set the transparency of the window. </p>
<p>If the system supports transparent windows, returns <span class="literal">true</span>, otherwise returns <span class="literal">false</span> and the window remains fully opaque. See also <a class="el" href="classwx_window.html#a64f7f6fb75bf4b7281e1d33542d523c7" title="Returns true if the system supports transparent windows and calling SetTransparent() may succeed...">CanSetTransparent()</a>.</p>
<p>The parameter <em>alpha</em> is in the range 0..255 where 0 corresponds to a fully transparent window and 255 to the fully opaque one. The constants <code>wxIMAGE_ALPHA_TRANSPARENT</code> and <code>wxIMAGE_ALPHA_OPAQUE</code> can be used. </p>
<p>Reimplemented in <a class="el" href="classwx_top_level_window.html#a8e37aff45a001a83ff49745298a6978e">wxTopLevelWindow</a>.</p>
</div>
</div>
<a class="anchor" id="a00066c70049a7be3ce6b648d206e6432"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxWindow::SetValidator </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_validator.html">wxValidator</a> & </td>
<td class="paramname"><em>validator</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>Deletes the current validator (if any) and sets the window validator, having called <a class="el" href="classwx_validator.html#a25a4e0250afe9451059fd7a967c4883f" title="All validator classes must implement the Clone() function, which returns an identical copy of itself...">wxValidator::Clone</a> to create a new validator of this type. </p>
</div>
</div>
<a class="anchor" id="a37f293b7904bc6668b86cccb0aea5669"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::SetVirtualSize </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>Sets the virtual size of the window in pixels. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="overview_windowsizing.html">Window Sizing Overview</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a8e95201edebe43b9623bd3bdc555af4d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::SetVirtualSize </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>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="a306af30adec68689f74ed537b4f9d5fd"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::SetWindowStyle </td>
<td>(</td>
<td class="paramtype">long </td>
<td class="paramname"><em>style</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>See <a class="el" href="classwx_window.html#aee2cf342f80523432e7f2299d299451b" title="Sets the style of the window.">SetWindowStyleFlag()</a> for more info. </p>
</div>
</div>
<a class="anchor" id="aee2cf342f80523432e7f2299d299451b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxWindow::SetWindowStyleFlag </td>
<td>(</td>
<td class="paramtype">long </td>
<td class="paramname"><em>style</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>Sets the style of the window. </p>
<p>Please note that some styles cannot be changed after the window creation and that <a class="el" href="classwx_window.html#a29dc7251746154c821b17841b9877830" title="Causes this window, and all of its children recursively (except under wxGTK1 where this is not implem...">Refresh()</a> might need to be called after changing the others for the change to take place immediately.</p>
<p>See <a class="el" href="overview_windowstyles.html">Window styles</a> for more information about flags.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a0a0e81677bf2f0de5982a634e11d9a69" title="Gets the window style that was passed to the constructor or Create() method.">GetWindowStyleFlag()</a> </dd></dl>
<p>Reimplemented in <a class="el" href="classwx_list_ctrl.html#ae719fa247088c1f5e3b6bd7de2cfcc39">wxListCtrl</a>, and <a class="el" href="classwx_aui_tool_bar.html#aa37acd160c70ea5ab90782709c6ae4fa">wxAuiToolBar</a>.</p>
</div>
</div>
<a class="anchor" id="acd955418c336e73b3e32cadf1ca46e29"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::SetWindowVariant </td>
<td>(</td>
<td class="paramtype"><a class="el" href="window_8h.html#a879bccd2c987fedf06030a8abcbba8ac">wxWindowVariant</a> </td>
<td class="paramname"><em>variant</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Chooses a different variant of the window display to use. </p>
<p>Window variants currently just differ in size, as can be seen from <a class="el" href="window_8h.html#a879bccd2c987fedf06030a8abcbba8ac" title="Different window variants, on platforms like eg mac uses different rendering sizes.">wxWindowVariant</a> documentation. Under all platforms but OS X, this function does nothing more than change the font used by the window. However under OS X it is implemented natively and selects the appropriate variant of the native widget, which has better appearance than just scaled down or up version of the normal variant, so it should be preferred to directly tweaking the font size.</p>
<p>By default the controls naturally use the normal variant. </p>
</div>
</div>
<a class="anchor" id="a0c43a27fa04f9c17cc28fde71fdba490"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxWindow::ShouldInheritColours </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</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>Return <span class="literal">true</span> from here to allow the colours of this window to be changed by <a class="el" href="classwx_window.html#a6b1bf9e099704e7a493b8c4666b1f7f7" title="This function is (or should be, in case of custom controls) called during window creation to intellig...">InheritAttributes()</a>. </p>
<p>Returning <span class="literal">false</span> forbids inheriting them from the parent window.</p>
<p>The base class version returns <span class="literal">false</span>, but this method is overridden in <a class="el" href="classwx_control.html" title="This is the base class for a control or "widget".">wxControl</a> where it returns <span class="literal">true</span>. </p>
<p>Reimplemented in <a class="el" href="classwx_rich_text_ctrl.html#aa8a8029c63c62d11d273df912b3b302e">wxRichTextCtrl</a>.</p>
</div>
</div>
<a class="anchor" id="a7fbc92ce240a8d4f6956b6e0276ef07f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxWindow::Show </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>show</em> = <code>true</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>Shows or hides the window. </p>
<p>You may need to call <a class="el" href="classwx_window.html#a54808c933f22a891c5db646f6209fa4d" title="Raises the window to the top of the window hierarchy (Z-order).">Raise()</a> for a top level window if you want to bring it to top, although this is not needed if <a class="el" href="classwx_window.html#a7fbc92ce240a8d4f6956b6e0276ef07f" title="Shows or hides the window.">Show()</a> is called immediately after the frame creation.</p>
<p>Notice that the default state of newly created top level windows is hidden (to allow you to create their contents without flicker) unlike for all the other, not derived from <a class="el" href="classwx_top_level_window.html" title="wxTopLevelWindow is a common base class for wxDialog and wxFrame.">wxTopLevelWindow</a>, windows that are by default created in the shown state.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">show</td><td>If <span class="literal">true</span> displays the window. Otherwise, hides it.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><span class="literal">true</span> if the window has been shown or hidden or <span class="literal">false</span> if nothing was done because it already was in the requested state.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a95af3a39aa422580dae156ed281a7e88" title="Returns true if the window is shown, false if it has been hidden.">IsShown()</a>, <a class="el" href="classwx_window.html#a7ed103df04014cb3c59c6a3fb4d95328" title="Equivalent to calling wxWindow::Show(false).">Hide()</a>, <a class="el" href="classwx_radio_box.html#a1ad6078e61378f77034b3a93d6d7b0d6" title="Shows or hides individual buttons.">wxRadioBox::Show</a>, <a class="el" href="classwx_show_event.html" title="An event being sent when the window is shown or hidden.">wxShowEvent</a>. </dd></dl>
<p>Reimplemented in <a class="el" href="classwx_dialog.html#ae8e5fa98d473b812b8d1c2f163b65c67">wxDialog</a>.</p>
</div>
</div>
<a class="anchor" id="a596b1715edfc7609f352b2e000ecbaec"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxWindow::ShowWithEffect </td>
<td>(</td>
<td class="paramtype"><a class="el" href="window_8h.html#a49efebddb5cf706e0eb819b434bdf918">wxShowEffect</a> </td>
<td class="paramname"><em>effect</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned int </td>
<td class="paramname"><em>timeout</em> = <code>0</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>This function shows a window, like <a class="el" href="classwx_window.html#a7fbc92ce240a8d4f6956b6e0276ef07f" title="Shows or hides the window.">Show()</a>, but using a special visual effect if possible. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">effect</td><td>The effect to use.</td></tr>
<tr><td class="paramname">timeout</td><td>The <em>timeout</em> parameter specifies the time of the animation, in milliseconds. If the default value of 0 is used, the default animation time for the current platform is used.</td></tr>
</table>
</dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>Currently this function is only implemented in wxMSW and wxOSX (for wxTopLevelWindows only in Carbon version and for any kind of windows in Cocoa) and does the same thing as <a class="el" href="classwx_window.html#a7fbc92ce240a8d4f6956b6e0276ef07f" title="Shows or hides the window.">Show()</a> in the other ports.</dd></dl>
<dl class="section since"><dt>Since</dt><dd>2.9.0</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a5326fbb26557a224507a1c06e5640e89" title="This function hides a window, like Hide(), but using a special visual effect if possible.">HideWithEffect()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a279a532124073261b28131b6afb59a1e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::Thaw </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Re-enables window updating after a previous call to <a class="el" href="classwx_window.html#a15c678314cfc1d807196bc298b713ed3" title="Freezes the window or, in other words, prevents any updates from taking place on screen, the window is not redrawn at all.">Freeze()</a>. </p>
<p>To really thaw the control, it must be called exactly the same number of times as <a class="el" href="classwx_window.html#a15c678314cfc1d807196bc298b713ed3" title="Freezes the window or, in other words, prevents any updates from taking place on screen, the window is not redrawn at all.">Freeze()</a>.</p>
<p>If the window has any children, they are recursively thawed too.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window_update_locker.html" title="This tiny class prevents redrawing of a wxWindow during its lifetime by using wxWindow::Freeze() and ...">wxWindowUpdateLocker</a>, <a class="el" href="classwx_window.html#a15c678314cfc1d807196bc298b713ed3" title="Freezes the window or, in other words, prevents any updates from taking place on screen, the window is not redrawn at all.">Freeze()</a>, <a class="el" href="classwx_window.html#a866c62cc23d8de88e952aad5db4d1a61" title="Returns true if the window is currently frozen by a call to Freeze().">IsFrozen()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a8a4fa47129de552bfec37db8c69688a2"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxWindow::ToggleWindowStyle </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>flag</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Turns the given <em>flag</em> on if it's currently turned off and vice versa. </p>
<p>This function cannot be used if the value of the flag is 0 (which is often the case for default flags).</p>
<p>Also, please notice that not all styles can be changed after the control creation.</p>
<dl class="section return"><dt>Returns</dt><dd>Returns <span class="literal">true</span> if the style was turned on by this function, <span class="literal">false</span> if it was switched off.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#aee2cf342f80523432e7f2299d299451b" title="Sets the style of the window.">SetWindowStyleFlag()</a>, <a class="el" href="classwx_window.html#a62ba2fb9be6422bf06bb7db5871d551f" title="Returns true if the window has the given flag bit set.">HasFlag()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ab8e51f36e7d8790b361c8d8c6f37b1ad"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxWindow::TransferDataFromWindow </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>Transfers values from child controls to data areas specified by their validators. </p>
<p>Returns <span class="literal">false</span> if a transfer failed.</p>
<p>If the window has <code>wxWS_EX_VALIDATE_RECURSIVELY</code> extra style flag set, the method will also call <a class="el" href="classwx_window.html#ab8e51f36e7d8790b361c8d8c6f37b1ad" title="Transfers values from child controls to data areas specified by their validators.">TransferDataFromWindow()</a> of all child windows.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a88cc65e424a129d9b0057756cdb67ec9" title="Transfers values to child controls from data areas specified by their validators.">TransferDataToWindow()</a>, <a class="el" href="classwx_validator.html" title="wxValidator is the base class for a family of validator classes that mediate between a class of contr...">wxValidator</a>, <a class="el" href="classwx_window.html#ac87f253253a0c5eb498871c83afa40fd" title="Validates the current values of the child controls using their validators.">Validate()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a88cc65e424a129d9b0057756cdb67ec9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxWindow::TransferDataToWindow </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>Transfers values to child controls from data areas specified by their validators. </p>
<p>If the window has <code>wxWS_EX_VALIDATE_RECURSIVELY</code> extra style flag set, the method will also call <a class="el" href="classwx_window.html#a88cc65e424a129d9b0057756cdb67ec9" title="Transfers values to child controls from data areas specified by their validators.">TransferDataToWindow()</a> of all child windows.</p>
<dl class="section return"><dt>Returns</dt><dd>Returns <span class="literal">false</span> if a transfer failed.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#ab8e51f36e7d8790b361c8d8c6f37b1ad" title="Transfers values from child controls to data areas specified by their validators.">TransferDataFromWindow()</a>, <a class="el" href="classwx_validator.html" title="wxValidator is the base class for a family of validator classes that mediate between a class of contr...">wxValidator</a>, <a class="el" href="classwx_window.html#ac87f253253a0c5eb498871c83afa40fd" title="Validates the current values of the child controls using their validators.">Validate()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a695f60d65f8f6c12e3c3645ad9c0c35b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxWindow::UnregisterHotKey </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>hotkeyId</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>Unregisters a system wide hotkey. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">hotkeyId</td><td>Numeric identifier of the hotkey. Must be the same id that was passed to <a class="el" href="classwx_window.html#a53ca57872dac5851ea6ba55a494b899b" title="Registers a system wide hotkey.">RegisterHotKey()</a>.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><span class="literal">true</span> if the hotkey was unregistered successfully, <span class="literal">false</span> if the id was invalid.</dd></dl>
<dl class="section remark"><dt>Remarks</dt><dd>This function is currently only implemented under MSW.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a53ca57872dac5851ea6ba55a494b899b" title="Registers a system wide hotkey.">RegisterHotKey()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ad9bc342d1e38d221e37f0f6396950c8c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void wxWindow::UnreserveControlId </td>
<td>(</td>
<td class="paramtype"><a class="el" href="windowid_8h.html#ae8091432cc2cb2485d45f2302fb51133">wxWindowID</a> </td>
<td class="paramname"><em>id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>count</em> = <code>1</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">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Unreserve an ID or range of IDs that was reserved by <a class="el" href="classwx_window.html#a8175da594e6045635a1d1cfe775cdddb" title="Create a new ID or range of IDs that are not currently in use.">NewControlId()</a>. </p>
<p>See <a class="el" href="overview_windowids.html">Window IDs</a> for more information.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">id</td><td>The starting ID of the range of IDs to unreserve. </td></tr>
<tr><td class="paramname">count</td><td>The number of sequential IDs to unreserve.</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a8175da594e6045635a1d1cfe775cdddb" title="Create a new ID or range of IDs that are not currently in use.">NewControlId()</a>, <a class="el" href="classwx_id_manager.html" title="wxIdManager is responsible for allocating and releasing window IDs.">wxIdManager</a>, <a class="el" href="overview_windowids.html">Window IDs</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ae75712451673658b0a533480bf5eeaa4"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxWindow::UnsetToolTip </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Unset any existing tooltip. </p>
<dl class="section since"><dt>Since</dt><dd>2.9.0</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#a81a9fb74e3c6c7f4416e882f5e589b8c" title="Attach a tooltip to the window.">SetToolTip()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="abaf28f1a075fd1b10f761a8febe597ec"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxWindow::Update </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>Calling this method immediately repaints the invalidated area of the window and all of its children recursively (this normally only happens when the flow of control returns to the event loop). </p>
<p>Notice that this function doesn't invalidate any area of the window so nothing happens if nothing has been invalidated (i.e. marked as requiring a redraw). Use <a class="el" href="classwx_window.html#a29dc7251746154c821b17841b9877830" title="Causes this window, and all of its children recursively (except under wxGTK1 where this is not implem...">Refresh()</a> first if you want to immediately redraw the window unconditionally. </p>
</div>
</div>
<a class="anchor" id="adf0a4987728bd0bf69f922641b3efbfc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxWindow::UpdateWindowUI </td>
<td>(</td>
<td class="paramtype">long </td>
<td class="paramname"><em>flags</em> = <code><a class="el" href="defs_8h.html#a125d733e58da75b9609114a226e4d81ca9edfae857d615d2de32b407a750a4af4">wxUPDATE_UI_NONE</a></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>This function sends one or more <a class="el" href="classwx_update_u_i_event.html" title="This class is used for pseudo-events which are called by wxWidgets to give an application the chance ...">wxUpdateUIEvent</a> to the window. </p>
<p>The particular implementation depends on the window; for example a <a class="el" href="classwx_tool_bar.html" title="A toolbar is a bar of buttons and/or other controls usually placed below the menu bar in a wxFrame...">wxToolBar</a> will send an update UI event for each toolbar button, and 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> will send an update UI event for each menubar menu item.</p>
<p>You can call this function from your application to ensure that your UI is up-to-date at this point (as far as your <a class="el" href="classwx_update_u_i_event.html" title="This class is used for pseudo-events which are called by wxWidgets to give an application the chance ...">wxUpdateUIEvent</a> handlers are concerned). This may be necessary if you have called <a class="el" href="classwx_update_u_i_event.html#ab3a94b31cf5c72ae84ffa8b7cc1777e7" title="Specify how wxWidgets will send update events: to all windows, or only to those which specify that th...">wxUpdateUIEvent::SetMode()</a> or <a class="el" href="classwx_update_u_i_event.html#a24daac56f682b866baac592e761ccede" title="Sets the interval between updates in milliseconds.">wxUpdateUIEvent::SetUpdateInterval()</a> to limit the overhead that wxWidgets incurs by sending update UI events in idle time. <em>flags</em> should be a bitlist of one or more of the <a class="el" href="defs_8h.html#a125d733e58da75b9609114a226e4d81c" title="Flags which can be used in wxWindow::UpdateWindowUI().">wxUpdateUI</a> enumeration.</p>
<p>If you are calling this function from an OnInternalIdle or OnIdle function, make sure you pass the wxUPDATE_UI_FROMIDLE flag, since this tells the window to only update the UI elements that need to be updated in idle time. Some windows update their elements only when necessary, for example when a menu is about to be shown. The following is an example of how to call UpdateWindowUI from an idle function.</p>
<div class="fragment"><div class="line"><span class="keywordtype">void</span> MyWindow::OnInternalIdle()</div>
<div class="line">{</div>
<div class="line"> <span class="keywordflow">if</span> (<a class="code" href="classwx_update_u_i_event.html#a82d4a0dd8adea9d37d4b04cebe190d5f" title="Returns true if it is appropriate to update (send UI update events to) this window.">wxUpdateUIEvent::CanUpdate</a>(<span class="keyword">this</span>))</div>
<div class="line"> <a class="code" href="classwx_window.html#adf0a4987728bd0bf69f922641b3efbfc" title="This function sends one or more wxUpdateUIEvent to the window.">UpdateWindowUI</a>(<a class="code" href="defs_8h.html#a125d733e58da75b9609114a226e4d81ca666eed0046e7a96070b43e2619fecf75" title="Invoked from On(Internal)Idle.">wxUPDATE_UI_FROMIDLE</a>);</div>
<div class="line">}</div>
</div><!-- fragment --><dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_update_u_i_event.html" title="This class is used for pseudo-events which are called by wxWidgets to give an application the chance ...">wxUpdateUIEvent</a>, <a class="el" href="classwx_window.html#ae8a84a80645e99f4d24a22e5c386f626" title="Does the window-specific updating after processing the update event.">DoUpdateWindowUI()</a>, <a class="el" href="classwx_window.html#a6b5654c0c6c6245d592c279521f7099c" title="This virtual function is normally only used internally, but sometimes an application may need it to i...">OnInternalIdle()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ab8b81b6d4c3294bffb6df30d2608227a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxWindow::UseBgCol </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 a background colour has been set for this window. </p>
</div>
</div>
<a class="anchor" id="ac87f253253a0c5eb498871c83afa40fd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxWindow::Validate </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>Validates the current values of the child controls using their validators. </p>
<p>If the window has <code>wxWS_EX_VALIDATE_RECURSIVELY</code> extra style flag set, the method will also call <a class="el" href="classwx_window.html#ac87f253253a0c5eb498871c83afa40fd" title="Validates the current values of the child controls using their validators.">Validate()</a> of all child windows.</p>
<dl class="section return"><dt>Returns</dt><dd>Returns <span class="literal">false</span> if any of the validations failed.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_window.html#ab8e51f36e7d8790b361c8d8c6f37b1ad" title="Transfers values from child controls to data areas specified by their validators.">TransferDataFromWindow()</a>, <a class="el" href="classwx_window.html#a88cc65e424a129d9b0057756cdb67ec9" title="Transfers values to child controls from data areas specified by their validators.">TransferDataToWindow()</a>, <a class="el" href="classwx_validator.html" title="wxValidator is the base class for a family of validator classes that mediate between a class of contr...">wxValidator</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ac500152d1eca3a2ee98a68e7ea7372b5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxWindow::WarpPointer </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></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>Moves the pointer to the given position on the window. </p>
<dl class="section note"><dt>Note</dt><dd>Apple Human Interface Guidelines forbid moving the mouse cursor programmatically so you should avoid using this function in Mac applications (and probably avoid using it under the other platforms without good reason as well).</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">x</td><td>The new x position for the cursor. </td></tr>
<tr><td class="paramname">y</td><td>The new y position for the cursor. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="aa456f800c9dde3b2361cad0abf54bc27"></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> wxWindow::WindowToClientSize </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> const</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>Converts window size <em>size</em> to corresponding client area size In other words, the returned value is what would <a class="el" href="classwx_window.html#ae56fc53268b815b58570f66bfc33838f" title="Returns the size of the window 'client area' in pixels.">GetClientSize()</a> return if this window had given window size. </p>
<p>Components with wxDefaultCoord value are left unchanged.</p>
<p>Note that the conversion is not always exact, it assumes that non-client area doesn't change and so doesn't take into account things like menu bar (un)wrapping or (dis)appearance of the scrollbars.</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_window.html#a693fffbbb7ad5f36a5f442703396dafa" title="Converts client area size size to corresponding window size.">ClientToWindowSize()</a> </dd></dl>
</div>
</div>
</div><!-- contents -->
<address class="footer">
<small>
Generated on Thu Nov 27 2014 13:47:02 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>
|