Source

wxPython / src / msw / _misc.py

Full commit
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
# This file was created automatically by SWIG 1.3.29.
# Don't modify this file, modify the SWIG interface instead.

import _misc_
import new
new_instancemethod = new.instancemethod
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
    if (name == "thisown"): return self.this.own(value)
    if (name == "this"):
        if type(value).__name__ == 'PySwigObject':
            self.__dict__[name] = value
            return
    method = class_type.__swig_setmethods__.get(name,None)
    if method: return method(self,value)
    if (not static) or hasattr(self,name):
        self.__dict__[name] = value
    else:
        raise AttributeError("You cannot add attributes to %s" % self)

def _swig_setattr(self,class_type,name,value):
    return _swig_setattr_nondynamic(self,class_type,name,value,0)

def _swig_getattr(self,class_type,name):
    if (name == "thisown"): return self.this.own()
    method = class_type.__swig_getmethods__.get(name,None)
    if method: return method(self)
    raise AttributeError,name

def _swig_repr(self):
    try: strthis = "proxy of " + self.this.__repr__()
    except: strthis = ""
    return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)

import types
try:
    _object = types.ObjectType
    _newclass = 1
except AttributeError:
    class _object : pass
    _newclass = 0
del types


def _swig_setattr_nondynamic_method(set):
    def set_attr(self,name,value):
        if (name == "thisown"): return self.this.own(value)
        if hasattr(self,name) or (name == "this"):
            set(self,name,value)
        else:
            raise AttributeError("You cannot add attributes to %s" % self)
    return set_attr


import _core
wx = _core 
#---------------------------------------------------------------------------

SYS_OEM_FIXED_FONT = _misc_.SYS_OEM_FIXED_FONT
SYS_ANSI_FIXED_FONT = _misc_.SYS_ANSI_FIXED_FONT
SYS_ANSI_VAR_FONT = _misc_.SYS_ANSI_VAR_FONT
SYS_SYSTEM_FONT = _misc_.SYS_SYSTEM_FONT
SYS_DEVICE_DEFAULT_FONT = _misc_.SYS_DEVICE_DEFAULT_FONT
SYS_SYSTEM_FIXED_FONT = _misc_.SYS_SYSTEM_FIXED_FONT
SYS_DEFAULT_GUI_FONT = _misc_.SYS_DEFAULT_GUI_FONT
SYS_ICONTITLE_FONT = _misc_.SYS_ICONTITLE_FONT
SYS_COLOUR_SCROLLBAR = _misc_.SYS_COLOUR_SCROLLBAR
SYS_COLOUR_BACKGROUND = _misc_.SYS_COLOUR_BACKGROUND
SYS_COLOUR_ACTIVECAPTION = _misc_.SYS_COLOUR_ACTIVECAPTION
SYS_COLOUR_INACTIVECAPTION = _misc_.SYS_COLOUR_INACTIVECAPTION
SYS_COLOUR_MENU = _misc_.SYS_COLOUR_MENU
SYS_COLOUR_WINDOW = _misc_.SYS_COLOUR_WINDOW
SYS_COLOUR_WINDOWFRAME = _misc_.SYS_COLOUR_WINDOWFRAME
SYS_COLOUR_MENUTEXT = _misc_.SYS_COLOUR_MENUTEXT
SYS_COLOUR_WINDOWTEXT = _misc_.SYS_COLOUR_WINDOWTEXT
SYS_COLOUR_CAPTIONTEXT = _misc_.SYS_COLOUR_CAPTIONTEXT
SYS_COLOUR_ACTIVEBORDER = _misc_.SYS_COLOUR_ACTIVEBORDER
SYS_COLOUR_INACTIVEBORDER = _misc_.SYS_COLOUR_INACTIVEBORDER
SYS_COLOUR_APPWORKSPACE = _misc_.SYS_COLOUR_APPWORKSPACE
SYS_COLOUR_HIGHLIGHT = _misc_.SYS_COLOUR_HIGHLIGHT
SYS_COLOUR_HIGHLIGHTTEXT = _misc_.SYS_COLOUR_HIGHLIGHTTEXT
SYS_COLOUR_BTNFACE = _misc_.SYS_COLOUR_BTNFACE
SYS_COLOUR_BTNSHADOW = _misc_.SYS_COLOUR_BTNSHADOW
SYS_COLOUR_GRAYTEXT = _misc_.SYS_COLOUR_GRAYTEXT
SYS_COLOUR_BTNTEXT = _misc_.SYS_COLOUR_BTNTEXT
SYS_COLOUR_INACTIVECAPTIONTEXT = _misc_.SYS_COLOUR_INACTIVECAPTIONTEXT
SYS_COLOUR_BTNHIGHLIGHT = _misc_.SYS_COLOUR_BTNHIGHLIGHT
SYS_COLOUR_3DDKSHADOW = _misc_.SYS_COLOUR_3DDKSHADOW
SYS_COLOUR_3DLIGHT = _misc_.SYS_COLOUR_3DLIGHT
SYS_COLOUR_INFOTEXT = _misc_.SYS_COLOUR_INFOTEXT
SYS_COLOUR_INFOBK = _misc_.SYS_COLOUR_INFOBK
SYS_COLOUR_LISTBOX = _misc_.SYS_COLOUR_LISTBOX
SYS_COLOUR_HOTLIGHT = _misc_.SYS_COLOUR_HOTLIGHT
SYS_COLOUR_GRADIENTACTIVECAPTION = _misc_.SYS_COLOUR_GRADIENTACTIVECAPTION
SYS_COLOUR_GRADIENTINACTIVECAPTION = _misc_.SYS_COLOUR_GRADIENTINACTIVECAPTION
SYS_COLOUR_MENUHILIGHT = _misc_.SYS_COLOUR_MENUHILIGHT
SYS_COLOUR_MENUBAR = _misc_.SYS_COLOUR_MENUBAR
SYS_COLOUR_LISTBOXTEXT = _misc_.SYS_COLOUR_LISTBOXTEXT
SYS_COLOUR_LISTBOXHIGHLIGHTTEXT = _misc_.SYS_COLOUR_LISTBOXHIGHLIGHTTEXT
SYS_COLOUR_MAX = _misc_.SYS_COLOUR_MAX
SYS_COLOUR_DESKTOP = _misc_.SYS_COLOUR_DESKTOP
SYS_COLOUR_3DFACE = _misc_.SYS_COLOUR_3DFACE
SYS_COLOUR_3DSHADOW = _misc_.SYS_COLOUR_3DSHADOW
SYS_COLOUR_BTNHILIGHT = _misc_.SYS_COLOUR_BTNHILIGHT
SYS_COLOUR_3DHIGHLIGHT = _misc_.SYS_COLOUR_3DHIGHLIGHT
SYS_COLOUR_3DHILIGHT = _misc_.SYS_COLOUR_3DHILIGHT
SYS_COLOUR_FRAMEBK = _misc_.SYS_COLOUR_FRAMEBK
SYS_MOUSE_BUTTONS = _misc_.SYS_MOUSE_BUTTONS
SYS_BORDER_X = _misc_.SYS_BORDER_X
SYS_BORDER_Y = _misc_.SYS_BORDER_Y
SYS_CURSOR_X = _misc_.SYS_CURSOR_X
SYS_CURSOR_Y = _misc_.SYS_CURSOR_Y
SYS_DCLICK_X = _misc_.SYS_DCLICK_X
SYS_DCLICK_Y = _misc_.SYS_DCLICK_Y
SYS_DRAG_X = _misc_.SYS_DRAG_X
SYS_DRAG_Y = _misc_.SYS_DRAG_Y
SYS_EDGE_X = _misc_.SYS_EDGE_X
SYS_EDGE_Y = _misc_.SYS_EDGE_Y
SYS_HSCROLL_ARROW_X = _misc_.SYS_HSCROLL_ARROW_X
SYS_HSCROLL_ARROW_Y = _misc_.SYS_HSCROLL_ARROW_Y
SYS_HTHUMB_X = _misc_.SYS_HTHUMB_X
SYS_ICON_X = _misc_.SYS_ICON_X
SYS_ICON_Y = _misc_.SYS_ICON_Y
SYS_ICONSPACING_X = _misc_.SYS_ICONSPACING_X
SYS_ICONSPACING_Y = _misc_.SYS_ICONSPACING_Y
SYS_WINDOWMIN_X = _misc_.SYS_WINDOWMIN_X
SYS_WINDOWMIN_Y = _misc_.SYS_WINDOWMIN_Y
SYS_SCREEN_X = _misc_.SYS_SCREEN_X
SYS_SCREEN_Y = _misc_.SYS_SCREEN_Y
SYS_FRAMESIZE_X = _misc_.SYS_FRAMESIZE_X
SYS_FRAMESIZE_Y = _misc_.SYS_FRAMESIZE_Y
SYS_SMALLICON_X = _misc_.SYS_SMALLICON_X
SYS_SMALLICON_Y = _misc_.SYS_SMALLICON_Y
SYS_HSCROLL_Y = _misc_.SYS_HSCROLL_Y
SYS_VSCROLL_X = _misc_.SYS_VSCROLL_X
SYS_VSCROLL_ARROW_X = _misc_.SYS_VSCROLL_ARROW_X
SYS_VSCROLL_ARROW_Y = _misc_.SYS_VSCROLL_ARROW_Y
SYS_VTHUMB_Y = _misc_.SYS_VTHUMB_Y
SYS_CAPTION_Y = _misc_.SYS_CAPTION_Y
SYS_MENU_Y = _misc_.SYS_MENU_Y
SYS_NETWORK_PRESENT = _misc_.SYS_NETWORK_PRESENT
SYS_PENWINDOWS_PRESENT = _misc_.SYS_PENWINDOWS_PRESENT
SYS_SHOW_SOUNDS = _misc_.SYS_SHOW_SOUNDS
SYS_SWAP_BUTTONS = _misc_.SYS_SWAP_BUTTONS
SYS_DCLICK_MSEC = _misc_.SYS_DCLICK_MSEC
SYS_CAN_DRAW_FRAME_DECORATIONS = _misc_.SYS_CAN_DRAW_FRAME_DECORATIONS
SYS_CAN_ICONIZE_FRAME = _misc_.SYS_CAN_ICONIZE_FRAME
SYS_TABLET_PRESENT = _misc_.SYS_TABLET_PRESENT
SYS_SCREEN_NONE = _misc_.SYS_SCREEN_NONE
SYS_SCREEN_TINY = _misc_.SYS_SCREEN_TINY
SYS_SCREEN_PDA = _misc_.SYS_SCREEN_PDA
SYS_SCREEN_SMALL = _misc_.SYS_SCREEN_SMALL
SYS_SCREEN_DESKTOP = _misc_.SYS_SCREEN_DESKTOP
class SystemSettings(object):
    """Proxy of C++ SystemSettings class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    def __init__(self): raise AttributeError, "No constructor defined"
    __repr__ = _swig_repr
    def GetColour(*args, **kwargs):
        """GetColour(int index) -> Colour"""
        return _misc_.SystemSettings_GetColour(*args, **kwargs)

    GetColour = staticmethod(GetColour)
    def GetFont(*args, **kwargs):
        """GetFont(int index) -> Font"""
        return _misc_.SystemSettings_GetFont(*args, **kwargs)

    GetFont = staticmethod(GetFont)
    def GetMetric(*args, **kwargs):
        """GetMetric(int index, Window win=None) -> int"""
        return _misc_.SystemSettings_GetMetric(*args, **kwargs)

    GetMetric = staticmethod(GetMetric)
    def HasFeature(*args, **kwargs):
        """HasFeature(int index) -> bool"""
        return _misc_.SystemSettings_HasFeature(*args, **kwargs)

    HasFeature = staticmethod(HasFeature)
    def GetScreenType(*args, **kwargs):
        """GetScreenType() -> int"""
        return _misc_.SystemSettings_GetScreenType(*args, **kwargs)

    GetScreenType = staticmethod(GetScreenType)
    def SetScreenType(*args, **kwargs):
        """SetScreenType(int screen)"""
        return _misc_.SystemSettings_SetScreenType(*args, **kwargs)

    SetScreenType = staticmethod(SetScreenType)
_misc_.SystemSettings_swigregister(SystemSettings)

def SystemSettings_GetColour(*args, **kwargs):
  """SystemSettings_GetColour(int index) -> Colour"""
  return _misc_.SystemSettings_GetColour(*args, **kwargs)

def SystemSettings_GetFont(*args, **kwargs):
  """SystemSettings_GetFont(int index) -> Font"""
  return _misc_.SystemSettings_GetFont(*args, **kwargs)

def SystemSettings_GetMetric(*args, **kwargs):
  """SystemSettings_GetMetric(int index, Window win=None) -> int"""
  return _misc_.SystemSettings_GetMetric(*args, **kwargs)

def SystemSettings_HasFeature(*args, **kwargs):
  """SystemSettings_HasFeature(int index) -> bool"""
  return _misc_.SystemSettings_HasFeature(*args, **kwargs)

def SystemSettings_GetScreenType(*args):
  """SystemSettings_GetScreenType() -> int"""
  return _misc_.SystemSettings_GetScreenType(*args)

def SystemSettings_SetScreenType(*args, **kwargs):
  """SystemSettings_SetScreenType(int screen)"""
  return _misc_.SystemSettings_SetScreenType(*args, **kwargs)

class SystemOptions(_core.Object):
    """Proxy of C++ SystemOptions class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """__init__(self) -> SystemOptions"""
        _misc_.SystemOptions_swiginit(self,_misc_.new_SystemOptions(*args, **kwargs))
    def SetOption(*args, **kwargs):
        """SetOption(String name, String value)"""
        return _misc_.SystemOptions_SetOption(*args, **kwargs)

    SetOption = staticmethod(SetOption)
    def SetOptionInt(*args, **kwargs):
        """SetOptionInt(String name, int value)"""
        return _misc_.SystemOptions_SetOptionInt(*args, **kwargs)

    SetOptionInt = staticmethod(SetOptionInt)
    def GetOption(*args, **kwargs):
        """GetOption(String name) -> String"""
        return _misc_.SystemOptions_GetOption(*args, **kwargs)

    GetOption = staticmethod(GetOption)
    def GetOptionInt(*args, **kwargs):
        """GetOptionInt(String name) -> int"""
        return _misc_.SystemOptions_GetOptionInt(*args, **kwargs)

    GetOptionInt = staticmethod(GetOptionInt)
    def HasOption(*args, **kwargs):
        """HasOption(String name) -> bool"""
        return _misc_.SystemOptions_HasOption(*args, **kwargs)

    HasOption = staticmethod(HasOption)
    def IsFalse(*args, **kwargs):
        """IsFalse(String name) -> bool"""
        return _misc_.SystemOptions_IsFalse(*args, **kwargs)

    IsFalse = staticmethod(IsFalse)
_misc_.SystemOptions_swigregister(SystemOptions)
cvar = _misc_.cvar
WINDOW_DEFAULT_VARIANT = cvar.WINDOW_DEFAULT_VARIANT

def SystemOptions_SetOption(*args, **kwargs):
  """SystemOptions_SetOption(String name, String value)"""
  return _misc_.SystemOptions_SetOption(*args, **kwargs)

def SystemOptions_SetOptionInt(*args, **kwargs):
  """SystemOptions_SetOptionInt(String name, int value)"""
  return _misc_.SystemOptions_SetOptionInt(*args, **kwargs)

def SystemOptions_GetOption(*args, **kwargs):
  """SystemOptions_GetOption(String name) -> String"""
  return _misc_.SystemOptions_GetOption(*args, **kwargs)

def SystemOptions_GetOptionInt(*args, **kwargs):
  """SystemOptions_GetOptionInt(String name) -> int"""
  return _misc_.SystemOptions_GetOptionInt(*args, **kwargs)

def SystemOptions_HasOption(*args, **kwargs):
  """SystemOptions_HasOption(String name) -> bool"""
  return _misc_.SystemOptions_HasOption(*args, **kwargs)

def SystemOptions_IsFalse(*args, **kwargs):
  """SystemOptions_IsFalse(String name) -> bool"""
  return _misc_.SystemOptions_IsFalse(*args, **kwargs)

#---------------------------------------------------------------------------


def NewId(*args):
  """NewId() -> long"""
  return _misc_.NewId(*args)

def RegisterId(*args, **kwargs):
  """RegisterId(long id)"""
  return _misc_.RegisterId(*args, **kwargs)

def GetCurrentId(*args):
  """GetCurrentId() -> long"""
  return _misc_.GetCurrentId(*args)

def IsStockID(*args, **kwargs):
  """IsStockID(int id) -> bool"""
  return _misc_.IsStockID(*args, **kwargs)

def IsStockLabel(*args, **kwargs):
  """IsStockLabel(int id, String label) -> bool"""
  return _misc_.IsStockLabel(*args, **kwargs)
STOCK_NOFLAGS = _misc_.STOCK_NOFLAGS
STOCK_WITH_MNEMONIC = _misc_.STOCK_WITH_MNEMONIC
STOCK_WITH_ACCELERATOR = _misc_.STOCK_WITH_ACCELERATOR
STOCK_WITHOUT_ELLIPSIS = _misc_.STOCK_WITHOUT_ELLIPSIS
STOCK_FOR_BUTTON = _misc_.STOCK_FOR_BUTTON

def GetStockLabel(*args, **kwargs):
  """GetStockLabel(int id, long flags=STOCK_WITH_MNEMONIC) -> String"""
  return _misc_.GetStockLabel(*args, **kwargs)
STOCK_MENU = _misc_.STOCK_MENU

def GetStockHelpString(*args, **kwargs):
  """GetStockHelpString(int id, int client=STOCK_MENU) -> String"""
  return _misc_.GetStockHelpString(*args, **kwargs)

def Bell(*args):
  """Bell()"""
  return _misc_.Bell(*args)

def EndBusyCursor(*args):
  """EndBusyCursor()"""
  return _misc_.EndBusyCursor(*args)

def IsBusy(*args):
  """IsBusy() -> bool"""
  return _misc_.IsBusy(*args)

def Now(*args):
  """Now() -> String"""
  return _misc_.Now(*args)

def Shell(*args, **kwargs):
  """Shell(String command=EmptyString) -> bool"""
  return _misc_.Shell(*args, **kwargs)

def GetOsVersion(*args):
  """GetOsVersion() -> (platform, major, minor)"""
  return _misc_.GetOsVersion(*args)

def GetOsDescription(*args):
  """GetOsDescription() -> String"""
  return _misc_.GetOsDescription(*args)

def IsPlatformLittleEndian(*args):
  """IsPlatformLittleEndian() -> bool"""
  return _misc_.IsPlatformLittleEndian(*args)

def IsPlatform64Bit(*args):
  """IsPlatform64Bit() -> bool"""
  return _misc_.IsPlatform64Bit(*args)

def GetFreeMemory(*args):
  """GetFreeMemory() -> wxMemorySize"""
  return _misc_.GetFreeMemory(*args)
SHUTDOWN_FORCE = _misc_.SHUTDOWN_FORCE
SHUTDOWN_POWEROFF = _misc_.SHUTDOWN_POWEROFF
SHUTDOWN_REBOOT = _misc_.SHUTDOWN_REBOOT
SHUTDOWN_LOGOFF = _misc_.SHUTDOWN_LOGOFF

def Shutdown(*args, **kwargs):
  """Shutdown(int wFlags) -> bool"""
  return _misc_.Shutdown(*args, **kwargs)

def Sleep(*args, **kwargs):
  """Sleep(int secs)"""
  return _misc_.Sleep(*args, **kwargs)

def MilliSleep(*args, **kwargs):
  """MilliSleep(unsigned long milliseconds)"""
  return _misc_.MilliSleep(*args, **kwargs)

def MicroSleep(*args, **kwargs):
  """MicroSleep(unsigned long microseconds)"""
  return _misc_.MicroSleep(*args, **kwargs)
Usleep = MilliSleep 

def EnableTopLevelWindows(*args, **kwargs):
  """EnableTopLevelWindows(bool enable)"""
  return _misc_.EnableTopLevelWindows(*args, **kwargs)

def StripMenuCodes(*args, **kwargs):
  """StripMenuCodes(String in) -> String"""
  return _misc_.StripMenuCodes(*args, **kwargs)

def GetEmailAddress(*args):
  """GetEmailAddress() -> String"""
  return _misc_.GetEmailAddress(*args)

def GetHostName(*args):
  """GetHostName() -> String"""
  return _misc_.GetHostName(*args)

def GetFullHostName(*args):
  """GetFullHostName() -> String"""
  return _misc_.GetFullHostName(*args)

def GetUserId(*args):
  """GetUserId() -> String"""
  return _misc_.GetUserId(*args)

def GetUserName(*args):
  """GetUserName() -> String"""
  return _misc_.GetUserName(*args)

def GetHomeDir(*args):
  """GetHomeDir() -> String"""
  return _misc_.GetHomeDir(*args)

def GetUserHome(*args, **kwargs):
  """GetUserHome(String user=EmptyString) -> String"""
  return _misc_.GetUserHome(*args, **kwargs)

def GetProcessId(*args):
  """GetProcessId() -> unsigned long"""
  return _misc_.GetProcessId(*args)

def Trap(*args):
  """Trap()"""
  return _misc_.Trap(*args)

def FileSelector(*args, **kwargs):
  """
    FileSelector(String message=FileSelectorPromptStr, String default_path=EmptyString, 
        String default_filename=EmptyString, 
        String default_extension=EmptyString, 
        String wildcard=FileSelectorDefaultWildcardStr, 
        int flags=0, Window parent=None, int x=-1, 
        int y=-1) -> String
    """
  return _misc_.FileSelector(*args, **kwargs)

def LoadFileSelector(*args, **kwargs):
  """
    LoadFileSelector(String what, String extension, String default_name=EmptyString, 
        Window parent=None) -> String
    """
  return _misc_.LoadFileSelector(*args, **kwargs)

def SaveFileSelector(*args, **kwargs):
  """
    SaveFileSelector(String what, String extension, String default_name=EmptyString, 
        Window parent=None) -> String
    """
  return _misc_.SaveFileSelector(*args, **kwargs)

def DirSelector(*args, **kwargs):
  """
    DirSelector(String message=DirSelectorPromptStr, String defaultPath=EmptyString, 
        long style=wxDD_DEFAULT_STYLE, 
        Point pos=DefaultPosition, Window parent=None) -> String
    """
  return _misc_.DirSelector(*args, **kwargs)

def GetTextFromUser(*args, **kwargs):
  """
    GetTextFromUser(String message, String caption=EmptyString, String default_value=EmptyString, 
        Window parent=None, 
        int x=-1, int y=-1, bool centre=True) -> String
    """
  return _misc_.GetTextFromUser(*args, **kwargs)

def GetPasswordFromUser(*args, **kwargs):
  """
    GetPasswordFromUser(String message, String caption=EmptyString, String default_value=EmptyString, 
        Window parent=None) -> String
    """
  return _misc_.GetPasswordFromUser(*args, **kwargs)

def GetSingleChoice(*args, **kwargs):
  """
    GetSingleChoice(String message, String caption, int choices, Window parent=None, 
        int x=-1, int y=-1, bool centre=True, 
        int width=150, int height=200) -> String
    """
  return _misc_.GetSingleChoice(*args, **kwargs)

def GetSingleChoiceIndex(*args, **kwargs):
  """
    GetSingleChoiceIndex(String message, String caption, int choices, Window parent=None, 
        int x=-1, int y=-1, bool centre=True, 
        int width=150, int height=200) -> int
    """
  return _misc_.GetSingleChoiceIndex(*args, **kwargs)

def MessageBox(*args, **kwargs):
  """
    MessageBox(String message, String caption=EmptyString, int style=wxOK|wxCENTRE, 
        Window parent=None, int x=-1, 
        int y=-1) -> int
    """
  return _misc_.MessageBox(*args, **kwargs)

def GetNumberFromUser(*args, **kwargs):
  """
    GetNumberFromUser(String message, String prompt, String caption, long value, 
        long min=0, long max=100, Window parent=None, 
        Point pos=DefaultPosition) -> long
    """
  return _misc_.GetNumberFromUser(*args, **kwargs)

def ColourDisplay(*args):
  """ColourDisplay() -> bool"""
  return _misc_.ColourDisplay(*args)

def DisplayDepth(*args):
  """DisplayDepth() -> int"""
  return _misc_.DisplayDepth(*args)

def GetDisplayDepth(*args):
  """GetDisplayDepth() -> int"""
  return _misc_.GetDisplayDepth(*args)

def DisplaySize(*args):
  """DisplaySize() -> (width, height)"""
  return _misc_.DisplaySize(*args)

def GetDisplaySize(*args):
  """GetDisplaySize() -> Size"""
  return _misc_.GetDisplaySize(*args)

def DisplaySizeMM(*args):
  """DisplaySizeMM() -> (width, height)"""
  return _misc_.DisplaySizeMM(*args)

def GetDisplaySizeMM(*args):
  """GetDisplaySizeMM() -> Size"""
  return _misc_.GetDisplaySizeMM(*args)

def GetDisplayPPI(*args):
  """GetDisplayPPI() -> Size"""
  return _misc_.GetDisplayPPI(*args)

def ClientDisplayRect(*args):
  """ClientDisplayRect() -> (x, y, width, height)"""
  return _misc_.ClientDisplayRect(*args)

def GetClientDisplayRect(*args):
  """GetClientDisplayRect() -> Rect"""
  return _misc_.GetClientDisplayRect(*args)

def SetCursor(*args, **kwargs):
  """SetCursor(Cursor cursor)"""
  return _misc_.SetCursor(*args, **kwargs)

def GetXDisplay(*args):
  """
    GetXDisplay() -> void

    Returns a swigified pointer to the X11 display.  Returns None on
    other platforms.
    """
  return _misc_.GetXDisplay(*args)

def BeginBusyCursor(*args, **kwargs):
  """BeginBusyCursor(Cursor cursor=wxHOURGLASS_CURSOR)"""
  return _misc_.BeginBusyCursor(*args, **kwargs)

def GetMousePosition(*args):
  """
    GetMousePosition() -> Point

    Get the current mouse position on the screen.
    """
  return _misc_.GetMousePosition(*args)

def FindWindowAtPointer(*args):
  """
    FindWindowAtPointer() -> Window

    Returns the window currently under the mouse pointer, if it belongs to
        this application.  Otherwise it returns None.
    """
  return _misc_.FindWindowAtPointer(*args)

def GetActiveWindow(*args):
  """
    GetActiveWindow() -> Window

    Get the currently active window of this application, or None
    """
  return _misc_.GetActiveWindow(*args)

def GenericFindWindowAtPoint(*args, **kwargs):
  """GenericFindWindowAtPoint(Point pt) -> Window"""
  return _misc_.GenericFindWindowAtPoint(*args, **kwargs)

def FindWindowAtPoint(*args, **kwargs):
  """FindWindowAtPoint(Point pt) -> Window"""
  return _misc_.FindWindowAtPoint(*args, **kwargs)

def GetTopLevelParent(*args, **kwargs):
  """GetTopLevelParent(Window win) -> Window"""
  return _misc_.GetTopLevelParent(*args, **kwargs)
BROWSER_NEW_WINDOW = _misc_.BROWSER_NEW_WINDOW
BROWSER_NOBUSYCURSOR = _misc_.BROWSER_NOBUSYCURSOR

def LaunchDefaultBrowser(*args, **kwargs):
  """
    LaunchDefaultBrowser(String url, int flags=0) -> bool

    Launches the user's default browser and tells it to open the location
    at ``url``.  Returns ``True`` if the application was successfully
    launched.
    """
  return _misc_.LaunchDefaultBrowser(*args, **kwargs)

def LaunchDefaultApplication(*args, **kwargs):
  """
    LaunchDefaultApplication(String path, int flags=0) -> bool

    Launch document in the user's default application.
    """
  return _misc_.LaunchDefaultApplication(*args, **kwargs)

def GetKeyState(*args, **kwargs):
  """
    GetKeyState(int key) -> bool

    Get the state of a key (true if pressed or toggled on, false if not.)
    This is generally most useful getting the state of the modifier or
    toggle keys.  On some platforms those may be the only keys that this
    function is able to detect.

    """
  return _misc_.GetKeyState(*args, **kwargs)

def WakeUpMainThread(*args):
  """WakeUpMainThread()"""
  return _misc_.WakeUpMainThread(*args)

def MutexGuiEnter(*args):
  """MutexGuiEnter()"""
  return _misc_.MutexGuiEnter(*args)

def MutexGuiLeave(*args):
  """MutexGuiLeave()"""
  return _misc_.MutexGuiLeave(*args)
class MutexGuiLocker(object):
    """Proxy of C++ MutexGuiLocker class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """__init__(self) -> MutexGuiLocker"""
        _misc_.MutexGuiLocker_swiginit(self,_misc_.new_MutexGuiLocker(*args, **kwargs))
    __swig_destroy__ = _misc_.delete_MutexGuiLocker
    __del__ = lambda self : None;
_misc_.MutexGuiLocker_swigregister(MutexGuiLocker)
FileSelectorPromptStr = cvar.FileSelectorPromptStr
FileSelectorDefaultWildcardStr = cvar.FileSelectorDefaultWildcardStr
DirSelectorPromptStr = cvar.DirSelectorPromptStr


def Thread_IsMain(*args):
  """Thread_IsMain() -> bool"""
  return _misc_.Thread_IsMain(*args)
#---------------------------------------------------------------------------

class ToolTip(_core.Object):
    """Proxy of C++ ToolTip class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """__init__(self, String tip) -> ToolTip"""
        _misc_.ToolTip_swiginit(self,_misc_.new_ToolTip(*args, **kwargs))
    __swig_destroy__ = _misc_.delete_ToolTip
    __del__ = lambda self : None;
    def SetTip(*args, **kwargs):
        """SetTip(self, String tip)"""
        return _misc_.ToolTip_SetTip(*args, **kwargs)

    def GetTip(*args, **kwargs):
        """GetTip(self) -> String"""
        return _misc_.ToolTip_GetTip(*args, **kwargs)

    def GetWindow(*args, **kwargs):
        """GetWindow(self) -> Window"""
        return _misc_.ToolTip_GetWindow(*args, **kwargs)

    def Enable(*args, **kwargs):
        """Enable(bool flag)"""
        return _misc_.ToolTip_Enable(*args, **kwargs)

    Enable = staticmethod(Enable)
    def SetDelay(*args, **kwargs):
        """SetDelay(long milliseconds)"""
        return _misc_.ToolTip_SetDelay(*args, **kwargs)

    SetDelay = staticmethod(SetDelay)
    def SetAutoPop(*args, **kwargs):
        """SetAutoPop(long milliseconds)"""
        return _misc_.ToolTip_SetAutoPop(*args, **kwargs)

    SetAutoPop = staticmethod(SetAutoPop)
    def SetReshow(*args, **kwargs):
        """SetReshow(long milliseconds)"""
        return _misc_.ToolTip_SetReshow(*args, **kwargs)

    SetReshow = staticmethod(SetReshow)
    def SetMaxWidth(*args, **kwargs):
        """SetMaxWidth(int width)"""
        return _misc_.ToolTip_SetMaxWidth(*args, **kwargs)

    SetMaxWidth = staticmethod(SetMaxWidth)
    Tip = property(GetTip,SetTip,doc="See `GetTip` and `SetTip`") 
    Window = property(GetWindow,doc="See `GetWindow`") 
_misc_.ToolTip_swigregister(ToolTip)

def ToolTip_Enable(*args, **kwargs):
  """ToolTip_Enable(bool flag)"""
  return _misc_.ToolTip_Enable(*args, **kwargs)

def ToolTip_SetDelay(*args, **kwargs):
  """ToolTip_SetDelay(long milliseconds)"""
  return _misc_.ToolTip_SetDelay(*args, **kwargs)

def ToolTip_SetAutoPop(*args, **kwargs):
  """ToolTip_SetAutoPop(long milliseconds)"""
  return _misc_.ToolTip_SetAutoPop(*args, **kwargs)

def ToolTip_SetReshow(*args, **kwargs):
  """ToolTip_SetReshow(long milliseconds)"""
  return _misc_.ToolTip_SetReshow(*args, **kwargs)

def ToolTip_SetMaxWidth(*args, **kwargs):
  """ToolTip_SetMaxWidth(int width)"""
  return _misc_.ToolTip_SetMaxWidth(*args, **kwargs)

class Caret(object):
    """Proxy of C++ Caret class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """__init__(self, Window window, Size size) -> Caret"""
        _misc_.Caret_swiginit(self,_misc_.new_Caret(*args, **kwargs))
    __swig_destroy__ = _misc_.delete_Caret
    __del__ = lambda self : None;
    def Destroy(*args, **kwargs):
        """
        Destroy(self)

        Deletes the C++ object this Python object is a proxy for.
        """
        args[0].this.own(False)
        return _misc_.Caret_Destroy(*args, **kwargs)

    def IsOk(*args, **kwargs):
        """IsOk(self) -> bool"""
        return _misc_.Caret_IsOk(*args, **kwargs)

    def IsVisible(*args, **kwargs):
        """IsVisible(self) -> bool"""
        return _misc_.Caret_IsVisible(*args, **kwargs)

    def GetPosition(*args, **kwargs):
        """GetPosition(self) -> Point"""
        return _misc_.Caret_GetPosition(*args, **kwargs)

    def GetPositionTuple(*args, **kwargs):
        """GetPositionTuple() -> (x,y)"""
        return _misc_.Caret_GetPositionTuple(*args, **kwargs)

    def GetSize(*args, **kwargs):
        """GetSize(self) -> Size"""
        return _misc_.Caret_GetSize(*args, **kwargs)

    def GetSizeTuple(*args, **kwargs):
        """GetSizeTuple() -> (width, height)"""
        return _misc_.Caret_GetSizeTuple(*args, **kwargs)

    def GetWindow(*args, **kwargs):
        """GetWindow(self) -> Window"""
        return _misc_.Caret_GetWindow(*args, **kwargs)

    def MoveXY(*args, **kwargs):
        """MoveXY(self, int x, int y)"""
        return _misc_.Caret_MoveXY(*args, **kwargs)

    def Move(*args, **kwargs):
        """Move(self, Point pt)"""
        return _misc_.Caret_Move(*args, **kwargs)

    def SetSizeWH(*args, **kwargs):
        """SetSizeWH(self, int width, int height)"""
        return _misc_.Caret_SetSizeWH(*args, **kwargs)

    def SetSize(*args, **kwargs):
        """SetSize(self, Size size)"""
        return _misc_.Caret_SetSize(*args, **kwargs)

    def Show(*args, **kwargs):
        """Show(self, int show=True)"""
        return _misc_.Caret_Show(*args, **kwargs)

    def Hide(*args, **kwargs):
        """Hide(self)"""
        return _misc_.Caret_Hide(*args, **kwargs)

    def __nonzero__(self): return self.IsOk() 
    def GetBlinkTime(*args, **kwargs):
        """GetBlinkTime() -> int"""
        return _misc_.Caret_GetBlinkTime(*args, **kwargs)

    GetBlinkTime = staticmethod(GetBlinkTime)
    def SetBlinkTime(*args, **kwargs):
        """SetBlinkTime(int milliseconds)"""
        return _misc_.Caret_SetBlinkTime(*args, **kwargs)

    SetBlinkTime = staticmethod(SetBlinkTime)
    Position = property(GetPosition,doc="See `GetPosition`") 
    Size = property(GetSize,SetSize,doc="See `GetSize` and `SetSize`") 
    Window = property(GetWindow,doc="See `GetWindow`") 
_misc_.Caret_swigregister(Caret)

def Caret_GetBlinkTime(*args):
  """Caret_GetBlinkTime() -> int"""
  return _misc_.Caret_GetBlinkTime(*args)

def Caret_SetBlinkTime(*args, **kwargs):
  """Caret_SetBlinkTime(int milliseconds)"""
  return _misc_.Caret_SetBlinkTime(*args, **kwargs)

class BusyCursor(object):
    """Proxy of C++ BusyCursor class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """__init__(self, Cursor cursor=wxHOURGLASS_CURSOR) -> BusyCursor"""
        _misc_.BusyCursor_swiginit(self,_misc_.new_BusyCursor(*args, **kwargs))
    __swig_destroy__ = _misc_.delete_BusyCursor
    __del__ = lambda self : None;
    def __enter__(self):
        return self
    def __exit__(self, exc_type, exc_val, exc_tb):
        return False

_misc_.BusyCursor_swigregister(BusyCursor)

class WindowDisabler(object):
    """Proxy of C++ WindowDisabler class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """
        __init__(self, bool disable=True) -> WindowDisabler
        __init__(self, Window winToSkip) -> WindowDisabler
        """
        _misc_.WindowDisabler_swiginit(self,_misc_.new_WindowDisabler(*args))
    __swig_destroy__ = _misc_.delete_WindowDisabler
    __del__ = lambda self : None;
    def __enter__(self):
        return self
    def __exit__(self, exc_type, exc_val, exc_tb):
        return False

_misc_.WindowDisabler_swigregister(WindowDisabler)

class BusyInfo(_core.Object):
    """Proxy of C++ BusyInfo class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """__init__(self, String message, Window parent=None) -> BusyInfo"""
        _misc_.BusyInfo_swiginit(self,_misc_.new_BusyInfo(*args, **kwargs))
    __swig_destroy__ = _misc_.delete_BusyInfo
    __del__ = lambda self : None;
    def Destroy(self): pass 
    def __enter__(self):
        return self
    def __exit__(self, exc_type, exc_val, exc_tb):
        return False

_misc_.BusyInfo_swigregister(BusyInfo)

class StopWatch(object):
    """Proxy of C++ StopWatch class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """__init__(self) -> StopWatch"""
        _misc_.StopWatch_swiginit(self,_misc_.new_StopWatch(*args, **kwargs))
    __swig_destroy__ = _misc_.delete_StopWatch
    __del__ = lambda self : None;
    def Start(*args, **kwargs):
        """Start(self, long t0=0)"""
        return _misc_.StopWatch_Start(*args, **kwargs)

    def Pause(*args, **kwargs):
        """Pause(self)"""
        return _misc_.StopWatch_Pause(*args, **kwargs)

    def Resume(*args, **kwargs):
        """Resume(self)"""
        return _misc_.StopWatch_Resume(*args, **kwargs)

    def Time(*args, **kwargs):
        """Time(self) -> long"""
        return _misc_.StopWatch_Time(*args, **kwargs)

_misc_.StopWatch_swigregister(StopWatch)

class FileHistory(_core.Object):
    """Proxy of C++ FileHistory class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """__init__(self, int maxFiles=9, int idBase=ID_FILE1) -> FileHistory"""
        _misc_.FileHistory_swiginit(self,_misc_.new_FileHistory(*args, **kwargs))
    __swig_destroy__ = _misc_.delete_FileHistory
    __del__ = lambda self : None;
    def AddFileToHistory(*args, **kwargs):
        """AddFileToHistory(self, String file)"""
        return _misc_.FileHistory_AddFileToHistory(*args, **kwargs)

    def RemoveFileFromHistory(*args, **kwargs):
        """RemoveFileFromHistory(self, int i)"""
        return _misc_.FileHistory_RemoveFileFromHistory(*args, **kwargs)

    def GetMaxFiles(*args, **kwargs):
        """GetMaxFiles(self) -> int"""
        return _misc_.FileHistory_GetMaxFiles(*args, **kwargs)

    def UseMenu(*args, **kwargs):
        """UseMenu(self, Menu menu)"""
        return _misc_.FileHistory_UseMenu(*args, **kwargs)

    def RemoveMenu(*args, **kwargs):
        """RemoveMenu(self, Menu menu)"""
        return _misc_.FileHistory_RemoveMenu(*args, **kwargs)

    def Load(*args, **kwargs):
        """Load(self, ConfigBase config)"""
        return _misc_.FileHistory_Load(*args, **kwargs)

    def Save(*args, **kwargs):
        """Save(self, ConfigBase config)"""
        return _misc_.FileHistory_Save(*args, **kwargs)

    def AddFilesToMenu(*args, **kwargs):
        """AddFilesToMenu(self)"""
        return _misc_.FileHistory_AddFilesToMenu(*args, **kwargs)

    def AddFilesToThisMenu(*args, **kwargs):
        """AddFilesToThisMenu(self, Menu menu)"""
        return _misc_.FileHistory_AddFilesToThisMenu(*args, **kwargs)

    def GetHistoryFile(*args, **kwargs):
        """GetHistoryFile(self, int i) -> String"""
        return _misc_.FileHistory_GetHistoryFile(*args, **kwargs)

    def GetCount(*args, **kwargs):
        """GetCount(self) -> int"""
        return _misc_.FileHistory_GetCount(*args, **kwargs)

    GetNoHistoryFiles = GetCount 
    Count = property(GetCount,doc="See `GetCount`") 
    HistoryFile = property(GetHistoryFile,doc="See `GetHistoryFile`") 
    MaxFiles = property(GetMaxFiles,doc="See `GetMaxFiles`") 
    NoHistoryFiles = property(GetNoHistoryFiles,doc="See `GetNoHistoryFiles`") 
_misc_.FileHistory_swigregister(FileHistory)

class SingleInstanceChecker(object):
    """Proxy of C++ SingleInstanceChecker class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """__init__(self, String name, String path=EmptyString) -> SingleInstanceChecker"""
        _misc_.SingleInstanceChecker_swiginit(self,_misc_.new_SingleInstanceChecker(*args, **kwargs))
    __swig_destroy__ = _misc_.delete_SingleInstanceChecker
    __del__ = lambda self : None;
    def Create(*args, **kwargs):
        """Create(self, String name, String path=EmptyString) -> bool"""
        return _misc_.SingleInstanceChecker_Create(*args, **kwargs)

    def CreateDefault(*args, **kwargs):
        """CreateDefault(self) -> bool"""
        return _misc_.SingleInstanceChecker_CreateDefault(*args, **kwargs)

    def IsAnotherRunning(*args, **kwargs):
        """IsAnotherRunning(self) -> bool"""
        return _misc_.SingleInstanceChecker_IsAnotherRunning(*args, **kwargs)

_misc_.SingleInstanceChecker_swigregister(SingleInstanceChecker)

def PreSingleInstanceChecker(*args, **kwargs):
    """PreSingleInstanceChecker() -> SingleInstanceChecker"""
    val = _misc_.new_PreSingleInstanceChecker(*args, **kwargs)
    return val

#---------------------------------------------------------------------------

OS_UNKNOWN = _misc_.OS_UNKNOWN
OS_MAC_OS = _misc_.OS_MAC_OS
OS_MAC_OSX_DARWIN = _misc_.OS_MAC_OSX_DARWIN
OS_MAC = _misc_.OS_MAC
OS_WINDOWS_9X = _misc_.OS_WINDOWS_9X
OS_WINDOWS_NT = _misc_.OS_WINDOWS_NT
OS_WINDOWS_MICRO = _misc_.OS_WINDOWS_MICRO
OS_WINDOWS_CE = _misc_.OS_WINDOWS_CE
OS_WINDOWS = _misc_.OS_WINDOWS
OS_UNIX_LINUX = _misc_.OS_UNIX_LINUX
OS_UNIX_FREEBSD = _misc_.OS_UNIX_FREEBSD
OS_UNIX_OPENBSD = _misc_.OS_UNIX_OPENBSD
OS_UNIX_NETBSD = _misc_.OS_UNIX_NETBSD
OS_UNIX_SOLARIS = _misc_.OS_UNIX_SOLARIS
OS_UNIX_AIX = _misc_.OS_UNIX_AIX
OS_UNIX_HPUX = _misc_.OS_UNIX_HPUX
OS_UNIX = _misc_.OS_UNIX
OS_DOS = _misc_.OS_DOS
OS_OS2 = _misc_.OS_OS2
PORT_UNKNOWN = _misc_.PORT_UNKNOWN
PORT_BASE = _misc_.PORT_BASE
PORT_MSW = _misc_.PORT_MSW
PORT_MOTIF = _misc_.PORT_MOTIF
PORT_GTK = _misc_.PORT_GTK
PORT_MGL = _misc_.PORT_MGL
PORT_X11 = _misc_.PORT_X11
PORT_PM = _misc_.PORT_PM
PORT_OS2 = _misc_.PORT_OS2
PORT_MAC = _misc_.PORT_MAC
PORT_COCOA = _misc_.PORT_COCOA
PORT_WINCE = _misc_.PORT_WINCE
PORT_PALMOS = _misc_.PORT_PALMOS
PORT_DFB = _misc_.PORT_DFB
ARCH_INVALID = _misc_.ARCH_INVALID
ARCH_32 = _misc_.ARCH_32
ARCH_64 = _misc_.ARCH_64
ARCH_MAX = _misc_.ARCH_MAX
ENDIAN_INVALID = _misc_.ENDIAN_INVALID
ENDIAN_BIG = _misc_.ENDIAN_BIG
ENDIAN_LITTLE = _misc_.ENDIAN_LITTLE
ENDIAN_PDP = _misc_.ENDIAN_PDP
ENDIAN_MAX = _misc_.ENDIAN_MAX
class LinuxDistributionInfo(object):
    """Proxy of C++ LinuxDistributionInfo class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    def __init__(self): raise AttributeError, "No constructor defined"
    __repr__ = _swig_repr
    Id = property(_misc_.LinuxDistributionInfo_Id_get, _misc_.LinuxDistributionInfo_Id_set)
    Release = property(_misc_.LinuxDistributionInfo_Release_get, _misc_.LinuxDistributionInfo_Release_set)
    CodeName = property(_misc_.LinuxDistributionInfo_CodeName_get, _misc_.LinuxDistributionInfo_CodeName_set)
    Description = property(_misc_.LinuxDistributionInfo_Description_get, _misc_.LinuxDistributionInfo_Description_set)
_misc_.LinuxDistributionInfo_swigregister(LinuxDistributionInfo)

class PlatformInformation(object):
    """Proxy of C++ PlatformInformation class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """__init__(self) -> PlatformInformation"""
        _misc_.PlatformInformation_swiginit(self,_misc_.new_PlatformInformation(*args, **kwargs))
    def __eq__(*args, **kwargs):
        """__eq__(self, PlatformInformation t) -> bool"""
        return _misc_.PlatformInformation___eq__(*args, **kwargs)

    def __ne__(*args, **kwargs):
        """__ne__(self, PlatformInformation t) -> bool"""
        return _misc_.PlatformInformation___ne__(*args, **kwargs)

    def GetOSMajorVersion(*args, **kwargs):
        """GetOSMajorVersion(self) -> int"""
        return _misc_.PlatformInformation_GetOSMajorVersion(*args, **kwargs)

    def GetOSMinorVersion(*args, **kwargs):
        """GetOSMinorVersion(self) -> int"""
        return _misc_.PlatformInformation_GetOSMinorVersion(*args, **kwargs)

    def CheckOSVersion(*args, **kwargs):
        """CheckOSVersion(self, int major, int minor) -> bool"""
        return _misc_.PlatformInformation_CheckOSVersion(*args, **kwargs)

    def GetToolkitMajorVersion(*args, **kwargs):
        """GetToolkitMajorVersion(self) -> int"""
        return _misc_.PlatformInformation_GetToolkitMajorVersion(*args, **kwargs)

    def GetToolkitMinorVersion(*args, **kwargs):
        """GetToolkitMinorVersion(self) -> int"""
        return _misc_.PlatformInformation_GetToolkitMinorVersion(*args, **kwargs)

    def CheckToolkitVersion(*args, **kwargs):
        """CheckToolkitVersion(self, int major, int minor) -> bool"""
        return _misc_.PlatformInformation_CheckToolkitVersion(*args, **kwargs)

    def IsUsingUniversalWidgets(*args, **kwargs):
        """IsUsingUniversalWidgets(self) -> bool"""
        return _misc_.PlatformInformation_IsUsingUniversalWidgets(*args, **kwargs)

    def GetOperatingSystemId(*args, **kwargs):
        """GetOperatingSystemId(self) -> int"""
        return _misc_.PlatformInformation_GetOperatingSystemId(*args, **kwargs)

    def GetLinuxDistributionInfo(*args, **kwargs):
        """GetLinuxDistributionInfo(self) -> LinuxDistributionInfo"""
        return _misc_.PlatformInformation_GetLinuxDistributionInfo(*args, **kwargs)

    def GetPortId(*args, **kwargs):
        """GetPortId(self) -> int"""
        return _misc_.PlatformInformation_GetPortId(*args, **kwargs)

    def GetArchitecture(*args, **kwargs):
        """GetArchitecture(self) -> int"""
        return _misc_.PlatformInformation_GetArchitecture(*args, **kwargs)

    def GetEndianness(*args, **kwargs):
        """GetEndianness(self) -> int"""
        return _misc_.PlatformInformation_GetEndianness(*args, **kwargs)

    def GetOperatingSystemFamilyName(*args, **kwargs):
        """GetOperatingSystemFamilyName(self) -> String"""
        return _misc_.PlatformInformation_GetOperatingSystemFamilyName(*args, **kwargs)

    def GetOperatingSystemIdName(*args, **kwargs):
        """GetOperatingSystemIdName(self) -> String"""
        return _misc_.PlatformInformation_GetOperatingSystemIdName(*args, **kwargs)

    def GetPortIdName(*args, **kwargs):
        """GetPortIdName(self) -> String"""
        return _misc_.PlatformInformation_GetPortIdName(*args, **kwargs)

    def GetPortIdShortName(*args, **kwargs):
        """GetPortIdShortName(self) -> String"""
        return _misc_.PlatformInformation_GetPortIdShortName(*args, **kwargs)

    def GetArchName(*args, **kwargs):
        """GetArchName(self) -> String"""
        return _misc_.PlatformInformation_GetArchName(*args, **kwargs)

    def GetEndiannessName(*args, **kwargs):
        """GetEndiannessName(self) -> String"""
        return _misc_.PlatformInformation_GetEndiannessName(*args, **kwargs)

    def GetOperatingSystemDescription(*args, **kwargs):
        """GetOperatingSystemDescription(self) -> String"""
        return _misc_.PlatformInformation_GetOperatingSystemDescription(*args, **kwargs)

    def GetDesktopEnvironment(*args, **kwargs):
        """GetDesktopEnvironment(self) -> String"""
        return _misc_.PlatformInformation_GetDesktopEnvironment(*args, **kwargs)

    def GetOperatingSystemDirectory(*args, **kwargs):
        """GetOperatingSystemDirectory() -> String"""
        return _misc_.PlatformInformation_GetOperatingSystemDirectory(*args, **kwargs)

    GetOperatingSystemDirectory = staticmethod(GetOperatingSystemDirectory)
    def SetOSVersion(*args, **kwargs):
        """SetOSVersion(self, int major, int minor)"""
        return _misc_.PlatformInformation_SetOSVersion(*args, **kwargs)

    def SetToolkitVersion(*args, **kwargs):
        """SetToolkitVersion(self, int major, int minor)"""
        return _misc_.PlatformInformation_SetToolkitVersion(*args, **kwargs)

    def SetOperatingSystemId(*args, **kwargs):
        """SetOperatingSystemId(self, int n)"""
        return _misc_.PlatformInformation_SetOperatingSystemId(*args, **kwargs)

    def SetOperatingSystemDescription(*args, **kwargs):
        """SetOperatingSystemDescription(self, String desc)"""
        return _misc_.PlatformInformation_SetOperatingSystemDescription(*args, **kwargs)

    def SetPortId(*args, **kwargs):
        """SetPortId(self, int n)"""
        return _misc_.PlatformInformation_SetPortId(*args, **kwargs)

    def SetArchitecture(*args, **kwargs):
        """SetArchitecture(self, int n)"""
        return _misc_.PlatformInformation_SetArchitecture(*args, **kwargs)

    def SetEndianness(*args, **kwargs):
        """SetEndianness(self, int n)"""
        return _misc_.PlatformInformation_SetEndianness(*args, **kwargs)

    def SetDesktopEnvironment(*args, **kwargs):
        """SetDesktopEnvironment(self, String de)"""
        return _misc_.PlatformInformation_SetDesktopEnvironment(*args, **kwargs)

    def SetLinuxDistributionInfo(*args, **kwargs):
        """SetLinuxDistributionInfo(self, LinuxDistributionInfo di)"""
        return _misc_.PlatformInformation_SetLinuxDistributionInfo(*args, **kwargs)

    def IsOk(*args, **kwargs):
        """IsOk(self) -> bool"""
        return _misc_.PlatformInformation_IsOk(*args, **kwargs)

    ArchName = property(GetArchName,doc="See `GetArchName`") 
    Architecture = property(GetArchitecture,SetArchitecture,doc="See `GetArchitecture` and `SetArchitecture`") 
    Endianness = property(GetEndianness,SetEndianness,doc="See `GetEndianness` and `SetEndianness`") 
    EndiannessName = property(GetEndiannessName,doc="See `GetEndiannessName`") 
    OSMajorVersion = property(GetOSMajorVersion,doc="See `GetOSMajorVersion`") 
    OSMinorVersion = property(GetOSMinorVersion,doc="See `GetOSMinorVersion`") 
    OperatingSystemFamilyName = property(GetOperatingSystemFamilyName,doc="See `GetOperatingSystemFamilyName`") 
    OperatingSystemId = property(GetOperatingSystemId,SetOperatingSystemId,doc="See `GetOperatingSystemId` and `SetOperatingSystemId`") 
    OperatingSystemIdName = property(GetOperatingSystemIdName,doc="See `GetOperatingSystemIdName`") 
    PortId = property(GetPortId,SetPortId,doc="See `GetPortId` and `SetPortId`") 
    PortIdName = property(GetPortIdName,doc="See `GetPortIdName`") 
    PortIdShortName = property(GetPortIdShortName,doc="See `GetPortIdShortName`") 
    ToolkitMajorVersion = property(GetToolkitMajorVersion,doc="See `GetToolkitMajorVersion`") 
    ToolkitMinorVersion = property(GetToolkitMinorVersion,doc="See `GetToolkitMinorVersion`") 
_misc_.PlatformInformation_swigregister(PlatformInformation)

def PlatformInformation_GetOperatingSystemDirectory(*args):
  """PlatformInformation_GetOperatingSystemDirectory() -> String"""
  return _misc_.PlatformInformation_GetOperatingSystemDirectory(*args)

class NotificationMessage(_core.EvtHandler):
    """Proxy of C++ NotificationMessage class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """
        __init__(self) -> NotificationMessage
        __init__(self, String title, String message=wxEmptyString, Window parent=None) -> NotificationMessage
        """
        _misc_.NotificationMessage_swiginit(self,_misc_.new_NotificationMessage(*args))
    __swig_destroy__ = _misc_.delete_NotificationMessage
    __del__ = lambda self : None;
    def SetTitle(*args, **kwargs):
        """SetTitle(self, String title)"""
        return _misc_.NotificationMessage_SetTitle(*args, **kwargs)

    def SetMessage(*args, **kwargs):
        """SetMessage(self, String message)"""
        return _misc_.NotificationMessage_SetMessage(*args, **kwargs)

    def SetParent(*args, **kwargs):
        """SetParent(self, Window parent)"""
        return _misc_.NotificationMessage_SetParent(*args, **kwargs)

    def SetFlags(*args, **kwargs):
        """SetFlags(self, int flags)"""
        return _misc_.NotificationMessage_SetFlags(*args, **kwargs)

    Timeout_Auto = _misc_.NotificationMessage_Timeout_Auto
    Timeout_Never = _misc_.NotificationMessage_Timeout_Never
    def Show(*args, **kwargs):
        """Show(self, int timeout=Timeout_Auto) -> bool"""
        return _misc_.NotificationMessage_Show(*args, **kwargs)

    def Close(*args, **kwargs):
        """Close(self) -> bool"""
        return _misc_.NotificationMessage_Close(*args, **kwargs)

_misc_.NotificationMessage_swigregister(NotificationMessage)

#---------------------------------------------------------------------------

class TipProvider(object):
    """Proxy of C++ TipProvider class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    def __init__(self): raise AttributeError, "No constructor defined"
    __repr__ = _swig_repr
    __swig_destroy__ = _misc_.delete_TipProvider
    __del__ = lambda self : None;
    def GetTip(*args, **kwargs):
        """GetTip(self) -> String"""
        return _misc_.TipProvider_GetTip(*args, **kwargs)

    def GetCurrentTip(*args, **kwargs):
        """GetCurrentTip(self) -> size_t"""
        return _misc_.TipProvider_GetCurrentTip(*args, **kwargs)

    def PreprocessTip(*args, **kwargs):
        """PreprocessTip(self, String tip) -> String"""
        return _misc_.TipProvider_PreprocessTip(*args, **kwargs)

    CurrentTip = property(GetCurrentTip,doc="See `GetCurrentTip`") 
    Tip = property(GetTip,doc="See `GetTip`") 
_misc_.TipProvider_swigregister(TipProvider)

class PyTipProvider(TipProvider):
    """Proxy of C++ PyTipProvider class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """__init__(self, size_t currentTip) -> PyTipProvider"""
        _misc_.PyTipProvider_swiginit(self,_misc_.new_PyTipProvider(*args, **kwargs))
        PyTipProvider._setCallbackInfo(self, self, PyTipProvider)

    def _setCallbackInfo(*args, **kwargs):
        """_setCallbackInfo(self, PyObject self, PyObject _class)"""
        return _misc_.PyTipProvider__setCallbackInfo(*args, **kwargs)

_misc_.PyTipProvider_swigregister(PyTipProvider)


def ShowTip(*args, **kwargs):
  """ShowTip(Window parent, TipProvider tipProvider, bool showAtStartup=True) -> bool"""
  return _misc_.ShowTip(*args, **kwargs)

def CreateFileTipProvider(*args, **kwargs):
  """CreateFileTipProvider(String filename, size_t currentTip) -> TipProvider"""
  return _misc_.CreateFileTipProvider(*args, **kwargs)
#---------------------------------------------------------------------------

TIMER_CONTINUOUS = _misc_.TIMER_CONTINUOUS
TIMER_ONE_SHOT = _misc_.TIMER_ONE_SHOT
wxEVT_TIMER = _misc_.wxEVT_TIMER
class Timer(_core.EvtHandler):
    """Proxy of C++ Timer class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """__init__(self, EvtHandler owner=None, int id=ID_ANY) -> Timer"""
        _misc_.Timer_swiginit(self,_misc_.new_Timer(*args, **kwargs))
        self._setOORInfo(self,0); self.this.own(True); Timer._setCallbackInfo(self, self, Timer)

    __swig_destroy__ = _misc_.delete_Timer
    __del__ = lambda self : None;
    def _setCallbackInfo(*args, **kwargs):
        """_setCallbackInfo(self, PyObject self, PyObject _class, int incref=0)"""
        return _misc_.Timer__setCallbackInfo(*args, **kwargs)

    def SetOwner(*args, **kwargs):
        """SetOwner(self, EvtHandler owner, int id=ID_ANY)"""
        return _misc_.Timer_SetOwner(*args, **kwargs)

    def GetOwner(*args, **kwargs):
        """GetOwner(self) -> EvtHandler"""
        return _misc_.Timer_GetOwner(*args, **kwargs)

    def Start(*args, **kwargs):
        """Start(self, int milliseconds=-1, bool oneShot=False) -> bool"""
        return _misc_.Timer_Start(*args, **kwargs)

    def Stop(*args, **kwargs):
        """Stop(self)"""
        return _misc_.Timer_Stop(*args, **kwargs)

    def Notify(*args, **kwargs):
        """Notify(self)"""
        return _misc_.Timer_Notify(*args, **kwargs)

    def IsRunning(*args, **kwargs):
        """IsRunning(self) -> bool"""
        return _misc_.Timer_IsRunning(*args, **kwargs)

    def GetInterval(*args, **kwargs):
        """GetInterval(self) -> int"""
        return _misc_.Timer_GetInterval(*args, **kwargs)

    def GetId(*args, **kwargs):
        """GetId(self) -> int"""
        return _misc_.Timer_GetId(*args, **kwargs)

    def IsOneShot(*args, **kwargs):
        """IsOneShot(self) -> bool"""
        return _misc_.Timer_IsOneShot(*args, **kwargs)

    def Destroy(self):
        """NO-OP: Timers must be destroyed by normal reference counting"""
        pass

    Id = property(GetId,doc="See `GetId`") 
    Interval = property(GetInterval,doc="See `GetInterval`") 
    Owner = property(GetOwner,SetOwner,doc="See `GetOwner` and `SetOwner`") 
_misc_.Timer_swigregister(Timer)

# For backwards compatibility with 2.4
class PyTimer(Timer):
    def __init__(self, notify):
        Timer.__init__(self)
        self.notify = notify

    def Notify(self):
        if self.notify:
            self.notify()


EVT_TIMER = wx.PyEventBinder( wxEVT_TIMER, 1 )


class TimerEvent(_core.Event):
    """Proxy of C++ TimerEvent class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """__init__(self, wxTimer timer) -> TimerEvent"""
        _misc_.TimerEvent_swiginit(self,_misc_.new_TimerEvent(*args, **kwargs))
    def GetInterval(*args, **kwargs):
        """GetInterval(self) -> int"""
        return _misc_.TimerEvent_GetInterval(*args, **kwargs)

    def GetTimer(*args, **kwargs):
        """GetTimer(self) -> wxTimer"""
        return _misc_.TimerEvent_GetTimer(*args, **kwargs)

    Interval = property(GetInterval,doc="See `GetInterval`") 
    Timer = property(GetTimer) 
_misc_.TimerEvent_swigregister(TimerEvent)

class TimerRunner(object):
    """Proxy of C++ TimerRunner class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """
        __init__(self, wxTimer timer) -> TimerRunner
        __init__(self, wxTimer timer, int milli, bool oneShot=False) -> TimerRunner
        """
        _misc_.TimerRunner_swiginit(self,_misc_.new_TimerRunner(*args))
    __swig_destroy__ = _misc_.delete_TimerRunner
    __del__ = lambda self : None;
    def Start(*args, **kwargs):
        """Start(self, int milli, bool oneShot=False)"""
        return _misc_.TimerRunner_Start(*args, **kwargs)

_misc_.TimerRunner_swigregister(TimerRunner)

#---------------------------------------------------------------------------

LOG_FatalError = _misc_.LOG_FatalError
LOG_Error = _misc_.LOG_Error
LOG_Warning = _misc_.LOG_Warning
LOG_Message = _misc_.LOG_Message
LOG_Status = _misc_.LOG_Status
LOG_Info = _misc_.LOG_Info
LOG_Debug = _misc_.LOG_Debug
LOG_Trace = _misc_.LOG_Trace
LOG_Progress = _misc_.LOG_Progress
LOG_User = _misc_.LOG_User
LOG_Max = _misc_.LOG_Max
TRACE_MemAlloc = _misc_.TRACE_MemAlloc
TRACE_Messages = _misc_.TRACE_Messages
TRACE_ResAlloc = _misc_.TRACE_ResAlloc
TRACE_RefCount = _misc_.TRACE_RefCount
TRACE_OleCalls = _misc_.TRACE_OleCalls
TraceMemAlloc = _misc_.TraceMemAlloc
TraceMessages = _misc_.TraceMessages
TraceResAlloc = _misc_.TraceResAlloc
TraceRefCount = _misc_.TraceRefCount
TraceOleCalls = _misc_.TraceOleCalls
class LogRecordInfo(object):
    """Proxy of C++ LogRecordInfo class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """
        __init__(self) -> LogRecordInfo
        __init__(self, char filename_, int line_, char func_, char component_) -> LogRecordInfo
        """
        _misc_.LogRecordInfo_swiginit(self,_misc_.new_LogRecordInfo(*args))
    __swig_destroy__ = _misc_.delete_LogRecordInfo
    __del__ = lambda self : None;
    filename = property(_misc_.LogRecordInfo_filename_get)
    line = property(_misc_.LogRecordInfo_line_get)
    func = property(_misc_.LogRecordInfo_func_get)
    component = property(_misc_.LogRecordInfo_component_get)
    timestamp = property(_misc_.LogRecordInfo_timestamp_get)
_misc_.LogRecordInfo_swigregister(LogRecordInfo)

class Log(object):
    """Proxy of C++ Log class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """__init__(self) -> Log"""
        _misc_.Log_swiginit(self,_misc_.new_Log(*args, **kwargs))
    __swig_destroy__ = _misc_.delete_Log
    __del__ = lambda self : None;
    def IsEnabled(*args, **kwargs):
        """IsEnabled() -> bool"""
        return _misc_.Log_IsEnabled(*args, **kwargs)

    IsEnabled = staticmethod(IsEnabled)
    def EnableLogging(*args, **kwargs):
        """EnableLogging(bool enable=True) -> bool"""
        return _misc_.Log_EnableLogging(*args, **kwargs)

    EnableLogging = staticmethod(EnableLogging)
    def GetLogLevel(*args, **kwargs):
        """GetLogLevel() -> LogLevel"""
        return _misc_.Log_GetLogLevel(*args, **kwargs)

    GetLogLevel = staticmethod(GetLogLevel)
    def SetLogLevel(*args, **kwargs):
        """SetLogLevel(LogLevel logLevel)"""
        return _misc_.Log_SetLogLevel(*args, **kwargs)

    SetLogLevel = staticmethod(SetLogLevel)
    def SetComponentLevel(*args, **kwargs):
        """SetComponentLevel(String component, LogLevel level)"""
        return _misc_.Log_SetComponentLevel(*args, **kwargs)

    SetComponentLevel = staticmethod(SetComponentLevel)
    def GetComponentLevel(*args, **kwargs):
        """GetComponentLevel(String component) -> LogLevel"""
        return _misc_.Log_GetComponentLevel(*args, **kwargs)

    GetComponentLevel = staticmethod(GetComponentLevel)
    def IsLevelEnabled(*args, **kwargs):
        """IsLevelEnabled(LogLevel level, String component) -> bool"""
        return _misc_.Log_IsLevelEnabled(*args, **kwargs)

    IsLevelEnabled = staticmethod(IsLevelEnabled)
    def SetVerbose(*args, **kwargs):
        """SetVerbose(bool bVerbose=True)"""
        return _misc_.Log_SetVerbose(*args, **kwargs)

    SetVerbose = staticmethod(SetVerbose)
    def GetVerbose(*args, **kwargs):
        """GetVerbose() -> bool"""
        return _misc_.Log_GetVerbose(*args, **kwargs)

    GetVerbose = staticmethod(GetVerbose)
    def Flush(*args, **kwargs):
        """Flush(self)"""
        return _misc_.Log_Flush(*args, **kwargs)

    def FlushActive(*args, **kwargs):
        """FlushActive()"""
        return _misc_.Log_FlushActive(*args, **kwargs)

    FlushActive = staticmethod(FlushActive)
    def GetActiveTarget(*args, **kwargs):
        """GetActiveTarget() -> Log"""
        return _misc_.Log_GetActiveTarget(*args, **kwargs)

    GetActiveTarget = staticmethod(GetActiveTarget)
    def SetActiveTarget(*args, **kwargs):
        """SetActiveTarget(Log pLogger) -> Log"""
        return _misc_.Log_SetActiveTarget(*args, **kwargs)

    SetActiveTarget = staticmethod(SetActiveTarget)
    def Suspend(*args, **kwargs):
        """Suspend()"""
        return _misc_.Log_Suspend(*args, **kwargs)

    Suspend = staticmethod(Suspend)
    def Resume(*args, **kwargs):
        """Resume()"""
        return _misc_.Log_Resume(*args, **kwargs)

    Resume = staticmethod(Resume)
    def DontCreateOnDemand(*args, **kwargs):
        """DontCreateOnDemand()"""
        return _misc_.Log_DontCreateOnDemand(*args, **kwargs)

    DontCreateOnDemand = staticmethod(DontCreateOnDemand)
    def DoCreateOnDemand(*args, **kwargs):
        """DoCreateOnDemand()"""
        return _misc_.Log_DoCreateOnDemand(*args, **kwargs)

    DoCreateOnDemand = staticmethod(DoCreateOnDemand)
    def SetRepetitionCounting(*args, **kwargs):
        """SetRepetitionCounting(bool bRepetCounting=True)"""
        return _misc_.Log_SetRepetitionCounting(*args, **kwargs)

    SetRepetitionCounting = staticmethod(SetRepetitionCounting)
    def GetRepetitionCounting(*args, **kwargs):
        """GetRepetitionCounting() -> bool"""
        return _misc_.Log_GetRepetitionCounting(*args, **kwargs)

    GetRepetitionCounting = staticmethod(GetRepetitionCounting)
    def SetTraceMask(*args, **kwargs):
        """SetTraceMask(TraceMask ulMask)"""
        return _misc_.Log_SetTraceMask(*args, **kwargs)

    SetTraceMask = staticmethod(SetTraceMask)
    def AddTraceMask(*args, **kwargs):
        """AddTraceMask(String str)"""
        return _misc_.Log_AddTraceMask(*args, **kwargs)

    AddTraceMask = staticmethod(AddTraceMask)
    def RemoveTraceMask(*args, **kwargs):
        """RemoveTraceMask(String str)"""
        return _misc_.Log_RemoveTraceMask(*args, **kwargs)

    RemoveTraceMask = staticmethod(RemoveTraceMask)
    def ClearTraceMasks(*args, **kwargs):
        """ClearTraceMasks()"""
        return _misc_.Log_ClearTraceMasks(*args, **kwargs)

    ClearTraceMasks = staticmethod(ClearTraceMasks)
    def GetTraceMasks(*args, **kwargs):
        """GetTraceMasks() -> wxArrayString"""
        return _misc_.Log_GetTraceMasks(*args, **kwargs)

    GetTraceMasks = staticmethod(GetTraceMasks)
    def SetTimestamp(*args, **kwargs):
        """SetTimestamp(String ts)"""
        return _misc_.Log_SetTimestamp(*args, **kwargs)

    SetTimestamp = staticmethod(SetTimestamp)
    def GetTraceMask(*args, **kwargs):
        """GetTraceMask() -> TraceMask"""
        return _misc_.Log_GetTraceMask(*args, **kwargs)

    GetTraceMask = staticmethod(GetTraceMask)
    def IsAllowedTraceMask(*args, **kwargs):
        """IsAllowedTraceMask(String mask) -> bool"""
        return _misc_.Log_IsAllowedTraceMask(*args, **kwargs)

    IsAllowedTraceMask = staticmethod(IsAllowedTraceMask)
    def GetTimestamp(*args, **kwargs):
        """GetTimestamp() -> String"""
        return _misc_.Log_GetTimestamp(*args, **kwargs)

    GetTimestamp = staticmethod(GetTimestamp)
    def TimeStamp(*args, **kwargs):
        """TimeStamp() -> String"""
        return _misc_.Log_TimeStamp(*args, **kwargs)

    TimeStamp = staticmethod(TimeStamp)
    def LogRecord(*args, **kwargs):
        """LogRecord(self, LogLevel level, String msg, LogRecordInfo info)"""
        return _misc_.Log_LogRecord(*args, **kwargs)

    def LogTextAtLevel(*args, **kwargs):
        """LogTextAtLevel(self, LogLevel level, String msg)"""
        return _misc_.Log_LogTextAtLevel(*args, **kwargs)

    def LogText(*args, **kwargs):
        """LogText(self, String msg)"""
        return _misc_.Log_LogText(*args, **kwargs)

    def Destroy(*args, **kwargs):
        """Destroy(self)"""
        args[0].this.own(False)
        return _misc_.Log_Destroy(*args, **kwargs)

_misc_.Log_swigregister(Log)

def Log_IsEnabled(*args):
  """Log_IsEnabled() -> bool"""
  return _misc_.Log_IsEnabled(*args)

def Log_EnableLogging(*args, **kwargs):
  """Log_EnableLogging(bool enable=True) -> bool"""
  return _misc_.Log_EnableLogging(*args, **kwargs)

def Log_GetLogLevel(*args):
  """Log_GetLogLevel() -> LogLevel"""
  return _misc_.Log_GetLogLevel(*args)

def Log_SetLogLevel(*args, **kwargs):
  """Log_SetLogLevel(LogLevel logLevel)"""
  return _misc_.Log_SetLogLevel(*args, **kwargs)

def Log_SetComponentLevel(*args, **kwargs):
  """Log_SetComponentLevel(String component, LogLevel level)"""
  return _misc_.Log_SetComponentLevel(*args, **kwargs)

def Log_GetComponentLevel(*args, **kwargs):
  """Log_GetComponentLevel(String component) -> LogLevel"""
  return _misc_.Log_GetComponentLevel(*args, **kwargs)

def Log_IsLevelEnabled(*args, **kwargs):
  """Log_IsLevelEnabled(LogLevel level, String component) -> bool"""
  return _misc_.Log_IsLevelEnabled(*args, **kwargs)

def Log_SetVerbose(*args, **kwargs):
  """Log_SetVerbose(bool bVerbose=True)"""
  return _misc_.Log_SetVerbose(*args, **kwargs)

def Log_GetVerbose(*args):
  """Log_GetVerbose() -> bool"""
  return _misc_.Log_GetVerbose(*args)

def Log_FlushActive(*args):
  """Log_FlushActive()"""
  return _misc_.Log_FlushActive(*args)

def Log_GetActiveTarget(*args):
  """Log_GetActiveTarget() -> Log"""
  return _misc_.Log_GetActiveTarget(*args)

def Log_SetActiveTarget(*args, **kwargs):
  """Log_SetActiveTarget(Log pLogger) -> Log"""
  return _misc_.Log_SetActiveTarget(*args, **kwargs)

def Log_Suspend(*args):
  """Log_Suspend()"""
  return _misc_.Log_Suspend(*args)

def Log_Resume(*args):
  """Log_Resume()"""
  return _misc_.Log_Resume(*args)

def Log_DontCreateOnDemand(*args):
  """Log_DontCreateOnDemand()"""
  return _misc_.Log_DontCreateOnDemand(*args)

def Log_DoCreateOnDemand(*args):
  """Log_DoCreateOnDemand()"""
  return _misc_.Log_DoCreateOnDemand(*args)

def Log_SetRepetitionCounting(*args, **kwargs):
  """Log_SetRepetitionCounting(bool bRepetCounting=True)"""
  return _misc_.Log_SetRepetitionCounting(*args, **kwargs)

def Log_GetRepetitionCounting(*args):
  """Log_GetRepetitionCounting() -> bool"""
  return _misc_.Log_GetRepetitionCounting(*args)

def Log_SetTraceMask(*args, **kwargs):
  """Log_SetTraceMask(TraceMask ulMask)"""
  return _misc_.Log_SetTraceMask(*args, **kwargs)

def Log_AddTraceMask(*args, **kwargs):
  """Log_AddTraceMask(String str)"""
  return _misc_.Log_AddTraceMask(*args, **kwargs)

def Log_RemoveTraceMask(*args, **kwargs):
  """Log_RemoveTraceMask(String str)"""
  return _misc_.Log_RemoveTraceMask(*args, **kwargs)

def Log_ClearTraceMasks(*args):
  """Log_ClearTraceMasks()"""
  return _misc_.Log_ClearTraceMasks(*args)

def Log_GetTraceMasks(*args):
  """Log_GetTraceMasks() -> wxArrayString"""
  return _misc_.Log_GetTraceMasks(*args)

def Log_SetTimestamp(*args, **kwargs):
  """Log_SetTimestamp(String ts)"""
  return _misc_.Log_SetTimestamp(*args, **kwargs)

def Log_GetTraceMask(*args):
  """Log_GetTraceMask() -> TraceMask"""
  return _misc_.Log_GetTraceMask(*args)

def Log_IsAllowedTraceMask(*args, **kwargs):
  """Log_IsAllowedTraceMask(String mask) -> bool"""
  return _misc_.Log_IsAllowedTraceMask(*args, **kwargs)

def Log_GetTimestamp(*args):
  """Log_GetTimestamp() -> String"""
  return _misc_.Log_GetTimestamp(*args)

def Log_TimeStamp(*args):
  """Log_TimeStamp() -> String"""
  return _misc_.Log_TimeStamp(*args)

class LogStderr(Log):
    """Proxy of C++ LogStderr class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """__init__(self) -> LogStderr"""
        _misc_.LogStderr_swiginit(self,_misc_.new_LogStderr(*args, **kwargs))
_misc_.LogStderr_swigregister(LogStderr)

class LogTextCtrl(Log):
    """Proxy of C++ LogTextCtrl class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """__init__(self, wxTextCtrl pTextCtrl) -> LogTextCtrl"""
        _misc_.LogTextCtrl_swiginit(self,_misc_.new_LogTextCtrl(*args, **kwargs))
_misc_.LogTextCtrl_swigregister(LogTextCtrl)

class LogGui(Log):
    """Proxy of C++ LogGui class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """__init__(self) -> LogGui"""
        _misc_.LogGui_swiginit(self,_misc_.new_LogGui(*args, **kwargs))
_misc_.LogGui_swigregister(LogGui)

class LogWindow(Log):
    """Proxy of C++ LogWindow class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """__init__(self, wxFrame pParent, String szTitle, bool bShow=True, bool bPassToOld=True) -> LogWindow"""
        _misc_.LogWindow_swiginit(self,_misc_.new_LogWindow(*args, **kwargs))
    def Show(*args, **kwargs):
        """Show(self, bool bShow=True)"""
        return _misc_.LogWindow_Show(*args, **kwargs)

    def GetFrame(*args, **kwargs):
        """GetFrame(self) -> wxFrame"""
        return _misc_.LogWindow_GetFrame(*args, **kwargs)

    def GetOldLog(*args, **kwargs):
        """GetOldLog(self) -> Log"""
        return _misc_.LogWindow_GetOldLog(*args, **kwargs)

    def IsPassingMessages(*args, **kwargs):
        """IsPassingMessages(self) -> bool"""
        return _misc_.LogWindow_IsPassingMessages(*args, **kwargs)

    def PassMessages(*args, **kwargs):
        """PassMessages(self, bool bDoPass)"""
        return _misc_.LogWindow_PassMessages(*args, **kwargs)

    Frame = property(GetFrame,doc="See `GetFrame`") 
    OldLog = property(GetOldLog,doc="See `GetOldLog`") 
_misc_.LogWindow_swigregister(LogWindow)

class LogChain(Log):
    """Proxy of C++ LogChain class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """__init__(self, Log logger) -> LogChain"""
        _misc_.LogChain_swiginit(self,_misc_.new_LogChain(*args, **kwargs))
    def SetLog(*args, **kwargs):
        """SetLog(self, Log logger)"""
        return _misc_.LogChain_SetLog(*args, **kwargs)

    def PassMessages(*args, **kwargs):
        """PassMessages(self, bool bDoPass)"""
        return _misc_.LogChain_PassMessages(*args, **kwargs)

    def IsPassingMessages(*args, **kwargs):
        """IsPassingMessages(self) -> bool"""
        return _misc_.LogChain_IsPassingMessages(*args, **kwargs)

    def GetOldLog(*args, **kwargs):
        """GetOldLog(self) -> Log"""
        return _misc_.LogChain_GetOldLog(*args, **kwargs)

    def DetachOldLog(*args, **kwargs):
        """DetachOldLog(self)"""
        return _misc_.LogChain_DetachOldLog(*args, **kwargs)

    OldLog = property(GetOldLog,doc="See `GetOldLog`") 
_misc_.LogChain_swigregister(LogChain)

class LogBuffer(Log):
    """Proxy of C++ LogBuffer class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """__init__(self) -> LogBuffer"""
        _misc_.LogBuffer_swiginit(self,_misc_.new_LogBuffer(*args, **kwargs))
    def GetBuffer(*args, **kwargs):
        """GetBuffer(self) -> String"""
        return _misc_.LogBuffer_GetBuffer(*args, **kwargs)

    Buffer = property(GetBuffer,doc="See `GetBuffer`") 
_misc_.LogBuffer_swigregister(LogBuffer)


def SysErrorCode(*args):
  """SysErrorCode() -> unsigned long"""
  return _misc_.SysErrorCode(*args)

def SysErrorMsg(*args, **kwargs):
  """SysErrorMsg(unsigned long nErrCode=0) -> String"""
  return _misc_.SysErrorMsg(*args, **kwargs)

def LogFatalError(*args, **kwargs):
  """LogFatalError(String msg)"""
  return _misc_.LogFatalError(*args, **kwargs)

def LogError(*args, **kwargs):
  """LogError(String msg)"""
  return _misc_.LogError(*args, **kwargs)

def LogWarning(*args, **kwargs):
  """LogWarning(String msg)"""
  return _misc_.LogWarning(*args, **kwargs)

def LogMessage(*args, **kwargs):
  """LogMessage(String msg)"""
  return _misc_.LogMessage(*args, **kwargs)

def LogInfo(*args, **kwargs):
  """LogInfo(String msg)"""
  return _misc_.LogInfo(*args, **kwargs)

def LogDebug(*args, **kwargs):
  """LogDebug(String msg)"""
  return _misc_.LogDebug(*args, **kwargs)

def LogVerbose(*args, **kwargs):
  """LogVerbose(String msg)"""
  return _misc_.LogVerbose(*args, **kwargs)

def LogStatus(*args, **kwargs):
  """LogStatus(String msg)"""
  return _misc_.LogStatus(*args, **kwargs)

def LogStatusFrame(*args, **kwargs):
  """LogStatusFrame(wxFrame pFrame, String msg)"""
  return _misc_.LogStatusFrame(*args, **kwargs)

def LogSysError(*args, **kwargs):
  """LogSysError(String msg)"""
  return _misc_.LogSysError(*args, **kwargs)

def LogGeneric(*args, **kwargs):
  """LogGeneric(unsigned long level, String msg)"""
  return _misc_.LogGeneric(*args, **kwargs)

def SafeShowMessage(*args, **kwargs):
  """SafeShowMessage(String title, String text)"""
  return _misc_.SafeShowMessage(*args, **kwargs)
class LogNull(object):
    """Proxy of C++ LogNull class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """__init__(self) -> LogNull"""
        _misc_.LogNull_swiginit(self,_misc_.new_LogNull(*args, **kwargs))
    __swig_destroy__ = _misc_.delete_LogNull
    __del__ = lambda self : None;
    def __enter__(self):
        return self
    def __exit__(self, exc_type, exc_val, exc_tb):
        return False

_misc_.LogNull_swigregister(LogNull)

def LogTrace(*args):
  """
    LogTrace(unsigned long mask, String msg)
    LogTrace(String mask, String msg)
    """
  return _misc_.LogTrace(*args)

class PyLog(Log):
    """Proxy of C++ PyLog class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """__init__(self) -> PyLog"""
        _misc_.PyLog_swiginit(self,_misc_.new_PyLog(*args, **kwargs))
        PyLog._setCallbackInfo(self, self, PyLog)

    def _setCallbackInfo(*args, **kwargs):
        """_setCallbackInfo(self, PyObject self, PyObject _class)"""
        return _misc_.PyLog__setCallbackInfo(*args, **kwargs)

_misc_.PyLog_swigregister(PyLog)

#---------------------------------------------------------------------------

PROCESS_DEFAULT = _misc_.PROCESS_DEFAULT
PROCESS_REDIRECT = _misc_.PROCESS_REDIRECT
KILL_OK = _misc_.KILL_OK
KILL_BAD_SIGNAL = _misc_.KILL_BAD_SIGNAL
KILL_ACCESS_DENIED = _misc_.KILL_ACCESS_DENIED
KILL_NO_PROCESS = _misc_.KILL_NO_PROCESS
KILL_ERROR = _misc_.KILL_ERROR
KILL_NOCHILDREN = _misc_.KILL_NOCHILDREN
KILL_CHILDREN = _misc_.KILL_CHILDREN
SIGNONE = _misc_.SIGNONE
SIGHUP = _misc_.SIGHUP
SIGINT = _misc_.SIGINT
SIGQUIT = _misc_.SIGQUIT
SIGILL = _misc_.SIGILL
SIGTRAP = _misc_.SIGTRAP
SIGABRT = _misc_.SIGABRT
SIGIOT = _misc_.SIGIOT
SIGEMT = _misc_.SIGEMT
SIGFPE = _misc_.SIGFPE
SIGKILL = _misc_.SIGKILL
SIGBUS = _misc_.SIGBUS
SIGSEGV = _misc_.SIGSEGV
SIGSYS = _misc_.SIGSYS
SIGPIPE = _misc_.SIGPIPE
SIGALRM = _misc_.SIGALRM
SIGTERM = _misc_.SIGTERM
class Process(_core.EvtHandler):
    """Proxy of C++ Process class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def Kill(*args, **kwargs):
        """Kill(int pid, int sig=SIGTERM, int flags=KILL_NOCHILDREN) -> int"""
        return _misc_.Process_Kill(*args, **kwargs)

    Kill = staticmethod(Kill)
    def Exists(*args, **kwargs):
        """Exists(int pid) -> bool"""
        return _misc_.Process_Exists(*args, **kwargs)

    Exists = staticmethod(Exists)
    def Open(*args, **kwargs):
        """Open(String cmd, int flags=EXEC_ASYNC) -> Process"""
        return _misc_.Process_Open(*args, **kwargs)

    Open = staticmethod(Open)
    def __init__(self, *args, **kwargs): 
        """__init__(self, EvtHandler parent=None, int id=-1) -> Process"""
        _misc_.Process_swiginit(self,_misc_.new_Process(*args, **kwargs))
        Process._setCallbackInfo(self, self, Process); self.this.own(False)

    __swig_destroy__ = _misc_.delete_Process
    __del__ = lambda self : None;
    def _setCallbackInfo(*args, **kwargs):
        """_setCallbackInfo(self, PyObject self, PyObject _class)"""
        return _misc_.Process__setCallbackInfo(*args, **kwargs)

    def GetPid(*args, **kwargs):
        """
        GetPid(self) -> long

        get the process ID of the process executed by Open()
        """
        return _misc_.Process_GetPid(*args, **kwargs)

    def OnTerminate(*args, **kwargs):
        """OnTerminate(self, int pid, int status)"""
        return _misc_.Process_OnTerminate(*args, **kwargs)

    def base_OnTerminate(*args, **kw):
        return Process.OnTerminate(*args, **kw)
    base_OnTerminate = wx.deprecated(base_OnTerminate,
                                   "Please use Process.OnTerminate instead.")

    def Redirect(*args, **kwargs):
        """Redirect(self)"""
        return _misc_.Process_Redirect(*args, **kwargs)

    def IsRedirected(*args, **kwargs):
        """IsRedirected(self) -> bool"""
        return _misc_.Process_IsRedirected(*args, **kwargs)

    def Detach(*args, **kwargs):
        """Detach(self)"""
        return _misc_.Process_Detach(*args, **kwargs)

    def GetInputStream(*args, **kwargs):
        """GetInputStream(self) -> InputStream"""
        return _misc_.Process_GetInputStream(*args, **kwargs)

    def GetErrorStream(*args, **kwargs):
        """GetErrorStream(self) -> InputStream"""
        return _misc_.Process_GetErrorStream(*args, **kwargs)

    def GetOutputStream(*args, **kwargs):
        """GetOutputStream(self) -> wxOutputStream"""
        return _misc_.Process_GetOutputStream(*args, **kwargs)

    def CloseOutput(*args, **kwargs):
        """CloseOutput(self)"""
        return _misc_.Process_CloseOutput(*args, **kwargs)

    def IsInputOpened(*args, **kwargs):
        """IsInputOpened(self) -> bool"""
        return _misc_.Process_IsInputOpened(*args, **kwargs)

    def IsInputAvailable(*args, **kwargs):
        """IsInputAvailable(self) -> bool"""
        return _misc_.Process_IsInputAvailable(*args, **kwargs)

    def IsErrorAvailable(*args, **kwargs):
        """IsErrorAvailable(self) -> bool"""
        return _misc_.Process_IsErrorAvailable(*args, **kwargs)

    ErrorStream = property(GetErrorStream,doc="See `GetErrorStream`") 
    InputStream = property(GetInputStream,doc="See `GetInputStream`") 
    OutputStream = property(GetOutputStream,doc="See `GetOutputStream`") 
    InputOpened = property(IsInputOpened) 
    InputAvailable = property(IsInputAvailable) 
    ErrorAvailable = property(IsErrorAvailable) 
_misc_.Process_swigregister(Process)

def Process_Kill(*args, **kwargs):
  """Process_Kill(int pid, int sig=SIGTERM, int flags=KILL_NOCHILDREN) -> int"""
  return _misc_.Process_Kill(*args, **kwargs)

def Process_Exists(*args, **kwargs):
  """Process_Exists(int pid) -> bool"""
  return _misc_.Process_Exists(*args, **kwargs)

def Process_Open(*args, **kwargs):
  """Process_Open(String cmd, int flags=EXEC_ASYNC) -> Process"""
  return _misc_.Process_Open(*args, **kwargs)

class ProcessEvent(_core.Event):
    """Proxy of C++ ProcessEvent class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """__init__(self, int id=0, int pid=0, int exitcode=0) -> ProcessEvent"""
        _misc_.ProcessEvent_swiginit(self,_misc_.new_ProcessEvent(*args, **kwargs))
    def GetPid(*args, **kwargs):
        """GetPid(self) -> int"""
        return _misc_.ProcessEvent_GetPid(*args, **kwargs)

    def GetExitCode(*args, **kwargs):
        """GetExitCode(self) -> int"""
        return _misc_.ProcessEvent_GetExitCode(*args, **kwargs)

    m_pid = property(_misc_.ProcessEvent_m_pid_get, _misc_.ProcessEvent_m_pid_set)
    m_exitcode = property(_misc_.ProcessEvent_m_exitcode_get, _misc_.ProcessEvent_m_exitcode_set)
    ExitCode = property(GetExitCode,doc="See `GetExitCode`") 
    Pid = property(GetPid,doc="See `GetPid`") 
_misc_.ProcessEvent_swigregister(ProcessEvent)

wxEVT_END_PROCESS = _misc_.wxEVT_END_PROCESS
EVT_END_PROCESS = wx.PyEventBinder( wxEVT_END_PROCESS, 1 )

EXEC_ASYNC = _misc_.EXEC_ASYNC
EXEC_SYNC = _misc_.EXEC_SYNC
EXEC_NOHIDE = _misc_.EXEC_NOHIDE
EXEC_MAKE_GROUP_LEADER = _misc_.EXEC_MAKE_GROUP_LEADER
EXEC_NODISABLE = _misc_.EXEC_NODISABLE
EXEC_NOEVENTS = _misc_.EXEC_NOEVENTS
EXEC_BLOCK = _misc_.EXEC_BLOCK

def Execute(*args, **kwargs):
  """Execute(String command, int flags=EXEC_ASYNC, Process process=None) -> long"""
  return _misc_.Execute(*args, **kwargs)

def Kill(*args, **kwargs):
  """Kill(long pid, int sig=SIGTERM, int rc, int flags=KILL_NOCHILDREN) -> int"""
  return _misc_.Kill(*args, **kwargs)
#---------------------------------------------------------------------------

JOYSTICK1 = _misc_.JOYSTICK1
JOYSTICK2 = _misc_.JOYSTICK2
JOY_BUTTON_ANY = _misc_.JOY_BUTTON_ANY
JOY_BUTTON1 = _misc_.JOY_BUTTON1
JOY_BUTTON2 = _misc_.JOY_BUTTON2
JOY_BUTTON3 = _misc_.JOY_BUTTON3
JOY_BUTTON4 = _misc_.JOY_BUTTON4
class Joystick(object):
    """Proxy of C++ Joystick class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """__init__(self, int joystick=JOYSTICK1) -> Joystick"""
        _misc_.Joystick_swiginit(self,_misc_.new_Joystick(*args, **kwargs))
    __swig_destroy__ = _misc_.delete_Joystick
    __del__ = lambda self : None;
    def GetPosition(*args, **kwargs):
        """GetPosition(self) -> Point"""
        return _misc_.Joystick_GetPosition(*args, **kwargs)

    def GetZPosition(*args, **kwargs):
        """GetZPosition(self) -> int"""
        return _misc_.Joystick_GetZPosition(*args, **kwargs)

    def GetButtonState(*args, **kwargs):
        """GetButtonState(self) -> int"""
        return _misc_.Joystick_GetButtonState(*args, **kwargs)

    def GetPOVPosition(*args, **kwargs):
        """GetPOVPosition(self) -> int"""
        return _misc_.Joystick_GetPOVPosition(*args, **kwargs)

    def GetPOVCTSPosition(*args, **kwargs):
        """GetPOVCTSPosition(self) -> int"""
        return _misc_.Joystick_GetPOVCTSPosition(*args, **kwargs)

    def GetRudderPosition(*args, **kwargs):
        """GetRudderPosition(self) -> int"""
        return _misc_.Joystick_GetRudderPosition(*args, **kwargs)

    def GetUPosition(*args, **kwargs):
        """GetUPosition(self) -> int"""
        return _misc_.Joystick_GetUPosition(*args, **kwargs)

    def GetVPosition(*args, **kwargs):
        """GetVPosition(self) -> int"""
        return _misc_.Joystick_GetVPosition(*args, **kwargs)

    def GetMovementThreshold(*args, **kwargs):
        """GetMovementThreshold(self) -> int"""
        return _misc_.Joystick_GetMovementThreshold(*args, **kwargs)

    def SetMovementThreshold(*args, **kwargs):
        """SetMovementThreshold(self, int threshold)"""
        return _misc_.Joystick_SetMovementThreshold(*args, **kwargs)

    def IsOk(*args, **kwargs):
        """IsOk(self) -> bool"""
        return _misc_.Joystick_IsOk(*args, **kwargs)

    def GetNumberJoysticks(*args, **kwargs):
        """GetNumberJoysticks(self) -> int"""
        return _misc_.Joystick_GetNumberJoysticks(*args, **kwargs)

    def GetManufacturerId(*args, **kwargs):
        """GetManufacturerId(self) -> int"""
        return _misc_.Joystick_GetManufacturerId(*args, **kwargs)

    def GetProductId(*args, **kwargs):
        """GetProductId(self) -> int"""
        return _misc_.Joystick_GetProductId(*args, **kwargs)

    def GetProductName(*args, **kwargs):
        """GetProductName(self) -> String"""
        return _misc_.Joystick_GetProductName(*args, **kwargs)

    def GetXMin(*args, **kwargs):
        """GetXMin(self) -> int"""
        return _misc_.Joystick_GetXMin(*args, **kwargs)

    def GetYMin(*args, **kwargs):
        """GetYMin(self) -> int"""
        return _misc_.Joystick_GetYMin(*args, **kwargs)

    def GetZMin(*args, **kwargs):
        """GetZMin(self) -> int"""
        return _misc_.Joystick_GetZMin(*args, **kwargs)

    def GetXMax(*args, **kwargs):
        """GetXMax(self) -> int"""
        return _misc_.Joystick_GetXMax(*args, **kwargs)

    def GetYMax(*args, **kwargs):
        """GetYMax(self) -> int"""
        return _misc_.Joystick_GetYMax(*args, **kwargs)

    def GetZMax(*args, **kwargs):
        """GetZMax(self) -> int"""
        return _misc_.Joystick_GetZMax(*args, **kwargs)

    def GetNumberButtons(*args, **kwargs):
        """GetNumberButtons(self) -> int"""
        return _misc_.Joystick_GetNumberButtons(*args, **kwargs)

    def GetNumberAxes(*args, **kwargs):
        """GetNumberAxes(self) -> int"""
        return _misc_.Joystick_GetNumberAxes(*args, **kwargs)

    def GetMaxButtons(*args, **kwargs):
        """GetMaxButtons(self) -> int"""
        return _misc_.Joystick_GetMaxButtons(*args, **kwargs)

    def GetMaxAxes(*args, **kwargs):
        """GetMaxAxes(self) -> int"""
        return _misc_.Joystick_GetMaxAxes(*args, **kwargs)

    def GetPollingMin(*args, **kwargs):
        """GetPollingMin(self) -> int"""
        return _misc_.Joystick_GetPollingMin(*args, **kwargs)

    def GetPollingMax(*args, **kwargs):
        """GetPollingMax(self) -> int"""
        return _misc_.Joystick_GetPollingMax(*args, **kwargs)

    def GetRudderMin(*args, **kwargs):
        """GetRudderMin(self) -> int"""
        return _misc_.Joystick_GetRudderMin(*args, **kwargs)

    def GetRudderMax(*args, **kwargs):
        """GetRudderMax(self) -> int"""
        return _misc_.Joystick_GetRudderMax(*args, **kwargs)

    def GetUMin(*args, **kwargs):
        """GetUMin(self) -> int"""
        return _misc_.Joystick_GetUMin(*args, **kwargs)

    def GetUMax(*args, **kwargs):
        """GetUMax(self) -> int"""
        return _misc_.Joystick_GetUMax(*args, **kwargs)

    def GetVMin(*args, **kwargs):
        """GetVMin(self) -> int"""
        return _misc_.Joystick_GetVMin(*args, **kwargs)

    def GetVMax(*args, **kwargs):
        """GetVMax(self) -> int"""
        return _misc_.Joystick_GetVMax(*args, **kwargs)

    def HasRudder(*args, **kwargs):
        """HasRudder(self) -> bool"""
        return _misc_.Joystick_HasRudder(*args, **kwargs)

    def HasZ(*args, **kwargs):
        """HasZ(self) -> bool"""
        return _misc_.Joystick_HasZ(*args, **kwargs)

    def HasU(*args, **kwargs):
        """HasU(self) -> bool"""
        return _misc_.Joystick_HasU(*args, **kwargs)

    def HasV(*args, **kwargs):
        """HasV(self) -> bool"""
        return _misc_.Joystick_HasV(*args, **kwargs)

    def HasPOV(*args, **kwargs):
        """HasPOV(self) -> bool"""
        return _misc_.Joystick_HasPOV(*args, **kwargs)

    def HasPOV4Dir(*args, **kwargs):
        """HasPOV4Dir(self) -> bool"""
        return _misc_.Joystick_HasPOV4Dir(*args, **kwargs)

    def HasPOVCTS(*args, **kwargs):
        """HasPOVCTS(self) -> bool"""
        return _misc_.Joystick_HasPOVCTS(*args, **kwargs)

    def SetCapture(*args, **kwargs):
        """SetCapture(self, Window win, int pollingFreq=0) -> bool"""
        return _misc_.Joystick_SetCapture(*args, **kwargs)

    def ReleaseCapture(*args, **kwargs):
        """ReleaseCapture(self) -> bool"""
        return _misc_.Joystick_ReleaseCapture(*args, **kwargs)

    def __nonzero__(self): return self.IsOk() 
    ButtonState = property(GetButtonState,doc="See `GetButtonState`") 
    ManufacturerId = property(GetManufacturerId,doc="See `GetManufacturerId`") 
    MaxAxes = property(GetMaxAxes,doc="See `GetMaxAxes`") 
    MaxButtons = property(GetMaxButtons,doc="See `GetMaxButtons`") 
    MovementThreshold = property(GetMovementThreshold,SetMovementThreshold,doc="See `GetMovementThreshold` and `SetMovementThreshold`") 
    NumberAxes = property(GetNumberAxes,doc="See `GetNumberAxes`") 
    NumberButtons = property(GetNumberButtons,doc="See `GetNumberButtons`") 
    NumberJoysticks = property(GetNumberJoysticks,doc="See `GetNumberJoysticks`") 
    POVCTSPosition = property(GetPOVCTSPosition,doc="See `GetPOVCTSPosition`") 
    POVPosition = property(GetPOVPosition,doc="See `GetPOVPosition`") 
    PollingMax = property(GetPollingMax,doc="See `GetPollingMax`") 
    PollingMin = property(GetPollingMin,doc="See `GetPollingMin`") 
    Position = property(GetPosition,doc="See `GetPosition`") 
    ProductId = property(GetProductId,doc="See `GetProductId`") 
    ProductName = property(GetProductName,doc="See `GetProductName`") 
    RudderMax = property(GetRudderMax,doc="See `GetRudderMax`") 
    RudderMin = property(GetRudderMin,doc="See `GetRudderMin`") 
    RudderPosition = property(GetRudderPosition,doc="See `GetRudderPosition`") 
    UMax = property(GetUMax,doc="See `GetUMax`") 
    UMin = property(GetUMin,doc="See `GetUMin`") 
    UPosition = property(GetUPosition,doc="See `GetUPosition`") 
    VMax = property(GetVMax,doc="See `GetVMax`") 
    VMin = property(GetVMin,doc="See `GetVMin`") 
    VPosition = property(GetVPosition,doc="See `GetVPosition`") 
    XMax = property(GetXMax,doc="See `GetXMax`") 
    XMin = property(GetXMin,doc="See `GetXMin`") 
    YMax = property(GetYMax,doc="See `GetYMax`") 
    YMin = property(GetYMin,doc="See `GetYMin`") 
    ZMax = property(GetZMax,doc="See `GetZMax`") 
    ZMin = property(GetZMin,doc="See `GetZMin`") 
    ZPosition = property(GetZPosition,doc="See `GetZPosition`") 
_misc_.Joystick_swigregister(Joystick)

wxEVT_JOY_BUTTON_DOWN = _misc_.wxEVT_JOY_BUTTON_DOWN
wxEVT_JOY_BUTTON_UP = _misc_.wxEVT_JOY_BUTTON_UP
wxEVT_JOY_MOVE = _misc_.wxEVT_JOY_MOVE
wxEVT_JOY_ZMOVE = _misc_.wxEVT_JOY_ZMOVE
class JoystickEvent(_core.Event):
    """Proxy of C++ JoystickEvent class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """
        __init__(self, EventType type=wxEVT_NULL, int state=0, int joystick=JOYSTICK1, 
            int change=0) -> JoystickEvent
        """
        _misc_.JoystickEvent_swiginit(self,_misc_.new_JoystickEvent(*args, **kwargs))
    def GetPosition(*args, **kwargs):
        """GetPosition(self) -> Point"""
        return _misc_.JoystickEvent_GetPosition(*args, **kwargs)

    def GetZPosition(*args, **kwargs):
        """GetZPosition(self) -> int"""
        return _misc_.JoystickEvent_GetZPosition(*args, **kwargs)

    def GetButtonState(*args, **kwargs):
        """GetButtonState(self) -> int"""
        return _misc_.JoystickEvent_GetButtonState(*args, **kwargs)

    def GetButtonChange(*args, **kwargs):
        """GetButtonChange(self) -> int"""
        return _misc_.JoystickEvent_GetButtonChange(*args, **kwargs)

    def GetJoystick(*args, **kwargs):
        """GetJoystick(self) -> int"""
        return _misc_.JoystickEvent_GetJoystick(*args, **kwargs)

    def SetJoystick(*args, **kwargs):
        """SetJoystick(self, int stick)"""
        return _misc_.JoystickEvent_SetJoystick(*args, **kwargs)

    def SetButtonState(*args, **kwargs):
        """SetButtonState(self, int state)"""
        return _misc_.JoystickEvent_SetButtonState(*args, **kwargs)

    def SetButtonChange(*args, **kwargs):
        """SetButtonChange(self, int change)"""
        return _misc_.JoystickEvent_SetButtonChange(*args, **kwargs)

    def SetPosition(*args, **kwargs):
        """SetPosition(self, Point pos)"""
        return _misc_.JoystickEvent_SetPosition(*args, **kwargs)

    def SetZPosition(*args, **kwargs):
        """SetZPosition(self, int zPos)"""
        return _misc_.JoystickEvent_SetZPosition(*args, **kwargs)

    def IsButton(*args, **kwargs):
        """IsButton(self) -> bool"""
        return _misc_.JoystickEvent_IsButton(*args, **kwargs)

    def IsMove(*args, **kwargs):
        """IsMove(self) -> bool"""
        return _misc_.JoystickEvent_IsMove(*args, **kwargs)

    def IsZMove(*args, **kwargs):
        """IsZMove(self) -> bool"""
        return _misc_.JoystickEvent_IsZMove(*args, **kwargs)

    def ButtonDown(*args, **kwargs):
        """ButtonDown(self, int but=JOY_BUTTON_ANY) -> bool"""
        return _misc_.JoystickEvent_ButtonDown(*args, **kwargs)

    def ButtonUp(*args, **kwargs):
        """ButtonUp(self, int but=JOY_BUTTON_ANY) -> bool"""
        return _misc_.JoystickEvent_ButtonUp(*args, **kwargs)

    def ButtonIsDown(*args, **kwargs):
        """ButtonIsDown(self, int but=JOY_BUTTON_ANY) -> bool"""
        return _misc_.JoystickEvent_ButtonIsDown(*args, **kwargs)

    m_pos = property(GetPosition, SetPosition)
    m_zPosition = property(GetZPosition, SetZPosition)
    m_buttonChange = property(GetButtonChange, SetButtonChange)
    m_buttonState = property(GetButtonState, SetButtonState)
    m_joyStick = property(GetJoystick, SetJoystick)

    ButtonChange = property(GetButtonChange,SetButtonChange,doc="See `GetButtonChange` and `SetButtonChange`") 
    ButtonState = property(GetButtonState,SetButtonState,doc="See `GetButtonState` and `SetButtonState`") 
    Joystick = property(GetJoystick,SetJoystick,doc="See `GetJoystick` and `SetJoystick`") 
    Position = property(GetPosition,SetPosition,doc="See `GetPosition` and `SetPosition`") 
    ZPosition = property(GetZPosition,SetZPosition,doc="See `GetZPosition` and `SetZPosition`") 
_misc_.JoystickEvent_swigregister(JoystickEvent)

EVT_JOY_BUTTON_DOWN = wx.PyEventBinder( wxEVT_JOY_BUTTON_DOWN )
EVT_JOY_BUTTON_UP = wx.PyEventBinder( wxEVT_JOY_BUTTON_UP )
EVT_JOY_MOVE = wx.PyEventBinder( wxEVT_JOY_MOVE )
EVT_JOY_ZMOVE = wx.PyEventBinder( wxEVT_JOY_ZMOVE )

EVT_JOYSTICK_EVENTS = wx.PyEventBinder([ wxEVT_JOY_BUTTON_DOWN,
                                        wxEVT_JOY_BUTTON_UP, 
                                        wxEVT_JOY_MOVE, 
                                        wxEVT_JOY_ZMOVE,
                                        ])


#---------------------------------------------------------------------------

SOUND_SYNC = _misc_.SOUND_SYNC
SOUND_ASYNC = _misc_.SOUND_ASYNC
SOUND_LOOP = _misc_.SOUND_LOOP
class Sound(object):
    """Proxy of C++ Sound class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """__init__(self, String fileName=EmptyString) -> Sound"""
        _misc_.Sound_swiginit(self,_misc_.new_Sound(*args, **kwargs))
    __swig_destroy__ = _misc_.delete_Sound
    __del__ = lambda self : None;
    def Create(*args, **kwargs):
        """Create(self, String fileName) -> bool"""
        return _misc_.Sound_Create(*args, **kwargs)

    def CreateFromData(*args, **kwargs):
        """CreateFromData(self, PyObject data) -> bool"""
        return _misc_.Sound_CreateFromData(*args, **kwargs)

    def IsOk(*args, **kwargs):
        """IsOk(self) -> bool"""
        return _misc_.Sound_IsOk(*args, **kwargs)

    def Play(*args, **kwargs):
        """Play(self, unsigned int flags=SOUND_ASYNC) -> bool"""
        return _misc_.Sound_Play(*args, **kwargs)

    def PlaySound(*args, **kwargs):
        """PlaySound(String filename, unsigned int flags=SOUND_ASYNC) -> bool"""
        return _misc_.Sound_PlaySound(*args, **kwargs)

    PlaySound = staticmethod(PlaySound)
    def Stop(*args, **kwargs):
        """Stop()"""
        return _misc_.Sound_Stop(*args, **kwargs)

    Stop = staticmethod(Stop)
    def __nonzero__(self): return self.IsOk() 
_misc_.Sound_swigregister(Sound)

def SoundFromData(*args, **kwargs):
    """SoundFromData(PyObject data) -> Sound"""
    val = _misc_.new_SoundFromData(*args, **kwargs)
    return val

def Sound_PlaySound(*args, **kwargs):
  """Sound_PlaySound(String filename, unsigned int flags=SOUND_ASYNC) -> bool"""
  return _misc_.Sound_PlaySound(*args, **kwargs)

def Sound_Stop(*args):
  """Sound_Stop()"""
  return _misc_.Sound_Stop(*args)

#---------------------------------------------------------------------------

MAILCAP_STANDARD = _misc_.MAILCAP_STANDARD
MAILCAP_NETSCAPE = _misc_.MAILCAP_NETSCAPE
MAILCAP_KDE = _misc_.MAILCAP_KDE
MAILCAP_GNOME = _misc_.MAILCAP_GNOME
MAILCAP_ALL = _misc_.MAILCAP_ALL
class FileTypeInfo(object):
    """Proxy of C++ FileTypeInfo class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """__init__(self, String mimeType, String openCmd, String printCmd, String desc) -> FileTypeInfo"""
        _misc_.FileTypeInfo_swiginit(self,_misc_.new_FileTypeInfo(*args, **kwargs))
    __swig_destroy__ = _misc_.delete_FileTypeInfo
    __del__ = lambda self : None;
    def IsValid(*args, **kwargs):
        """IsValid(self) -> bool"""
        return _misc_.FileTypeInfo_IsValid(*args, **kwargs)

    def SetIcon(*args, **kwargs):
        """SetIcon(self, String iconFile, int iconIndex=0)"""
        return _misc_.FileTypeInfo_SetIcon(*args, **kwargs)

    def SetShortDesc(*args, **kwargs):
        """SetShortDesc(self, String shortDesc)"""
        return _misc_.FileTypeInfo_SetShortDesc(*args, **kwargs)

    def GetMimeType(*args, **kwargs):
        """GetMimeType(self) -> String"""
        return _misc_.FileTypeInfo_GetMimeType(*args, **kwargs)

    def GetOpenCommand(*args, **kwargs):
        """GetOpenCommand(self) -> String"""
        return _misc_.FileTypeInfo_GetOpenCommand(*args, **kwargs)

    def GetPrintCommand(*args, **kwargs):
        """GetPrintCommand(self) -> String"""
        return _misc_.FileTypeInfo_GetPrintCommand(*args, **kwargs)

    def GetShortDesc(*args, **kwargs):
        """GetShortDesc(self) -> String"""
        return _misc_.FileTypeInfo_GetShortDesc(*args, **kwargs)

    def GetDescription(*args, **kwargs):
        """GetDescription(self) -> String"""
        return _misc_.FileTypeInfo_GetDescription(*args, **kwargs)

    def GetExtensions(*args, **kwargs):
        """GetExtensions(self) -> wxArrayString"""
        return _misc_.FileTypeInfo_GetExtensions(*args, **kwargs)

    def GetExtensionsCount(*args, **kwargs):
        """GetExtensionsCount(self) -> size_t"""
        return _misc_.FileTypeInfo_GetExtensionsCount(*args, **kwargs)

    def GetIconFile(*args, **kwargs):
        """GetIconFile(self) -> String"""
        return _misc_.FileTypeInfo_GetIconFile(*args, **kwargs)

    def GetIconIndex(*args, **kwargs):
        """GetIconIndex(self) -> int"""
        return _misc_.FileTypeInfo_GetIconIndex(*args, **kwargs)

    Description = property(GetDescription,doc="See `GetDescription`") 
    Extensions = property(GetExtensions,doc="See `GetExtensions`") 
    ExtensionsCount = property(GetExtensionsCount,doc="See `GetExtensionsCount`") 
    IconFile = property(GetIconFile,doc="See `GetIconFile`") 
    IconIndex = property(GetIconIndex,doc="See `GetIconIndex`") 
    MimeType = property(GetMimeType,doc="See `GetMimeType`") 
    OpenCommand = property(GetOpenCommand,doc="See `GetOpenCommand`") 
    PrintCommand = property(GetPrintCommand,doc="See `GetPrintCommand`") 
    ShortDesc = property(GetShortDesc,SetShortDesc,doc="See `GetShortDesc` and `SetShortDesc`") 
_misc_.FileTypeInfo_swigregister(FileTypeInfo)

def FileTypeInfoSequence(*args, **kwargs):
    """FileTypeInfoSequence(wxArrayString sArray) -> FileTypeInfo"""
    val = _misc_.new_FileTypeInfoSequence(*args, **kwargs)
    return val

def NullFileTypeInfo(*args, **kwargs):
    """NullFileTypeInfo() -> FileTypeInfo"""
    val = _misc_.new_NullFileTypeInfo(*args, **kwargs)
    return val

class FileType(object):
    """Proxy of C++ FileType class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """__init__(self, FileTypeInfo ftInfo) -> FileType"""
        _misc_.FileType_swiginit(self,_misc_.new_FileType(*args, **kwargs))
    __swig_destroy__ = _misc_.delete_FileType
    __del__ = lambda self : None;
    def GetMimeType(*args, **kwargs):
        """GetMimeType(self) -> PyObject"""
        return _misc_.FileType_GetMimeType(*args, **kwargs)

    def GetMimeTypes(*args, **kwargs):
        """GetMimeTypes(self) -> PyObject"""
        return _misc_.FileType_GetMimeTypes(*args, **kwargs)

    def GetExtensions(*args, **kwargs):
        """GetExtensions(self) -> PyObject"""
        return _misc_.FileType_GetExtensions(*args, **kwargs)

    def GetIcon(*args, **kwargs):
        """GetIcon(self) -> Icon"""
        return _misc_.FileType_GetIcon(*args, **kwargs)

    def GetIconInfo(*args, **kwargs):
        """GetIconInfo(self) -> PyObject"""
        return _misc_.FileType_GetIconInfo(*args, **kwargs)

    def GetDescription(*args, **kwargs):
        """GetDescription(self) -> PyObject"""
        return _misc_.FileType_GetDescription(*args, **kwargs)

    def GetOpenCommand(*args, **kwargs):
        """GetOpenCommand(self, String filename, String mimetype=EmptyString) -> PyObject"""
        return _misc_.FileType_GetOpenCommand(*args, **kwargs)

    def GetPrintCommand(*args, **kwargs):
        """GetPrintCommand(self, String filename, String mimetype=EmptyString) -> PyObject"""
        return _misc_.FileType_GetPrintCommand(*args, **kwargs)

    def GetAllCommands(*args, **kwargs):
        """GetAllCommands(self, String filename, String mimetype=EmptyString) -> PyObject"""
        return _misc_.FileType_GetAllCommands(*args, **kwargs)

    def SetCommand(*args, **kwargs):
        """SetCommand(self, String cmd, String verb, bool overwriteprompt=True) -> bool"""
        return _misc_.FileType_SetCommand(*args, **kwargs)

    def SetDefaultIcon(*args, **kwargs):
        """SetDefaultIcon(self, String cmd=EmptyString, int index=0) -> bool"""
        return _misc_.FileType_SetDefaultIcon(*args, **kwargs)

    def Unassociate(*args, **kwargs):
        """Unassociate(self) -> bool"""
        return _misc_.FileType_Unassociate(*args, **kwargs)

    def ExpandCommand(*args, **kwargs):
        """ExpandCommand(String command, String filename, String mimetype=EmptyString) -> String"""
        return _misc_.FileType_ExpandCommand(*args, **kwargs)

    ExpandCommand = staticmethod(ExpandCommand)
    AllCommands = property(GetAllCommands,doc="See `GetAllCommands`") 
    Description = property(GetDescription,doc="See `GetDescription`") 
    Extensions = property(GetExtensions,doc="See `GetExtensions`") 
    Icon = property(GetIcon,doc="See `GetIcon`") 
    IconInfo = property(GetIconInfo,doc="See `GetIconInfo`") 
    MimeType = property(GetMimeType,doc="See `GetMimeType`") 
    MimeTypes = property(GetMimeTypes,doc="See `GetMimeTypes`") 
    OpenCommand = property(GetOpenCommand,doc="See `GetOpenCommand`") 
    PrintCommand = property(GetPrintCommand,doc="See `GetPrintCommand`") 
_misc_.FileType_swigregister(FileType)

def FileType_ExpandCommand(*args, **kwargs):
  """FileType_ExpandCommand(String command, String filename, String mimetype=EmptyString) -> String"""
  return _misc_.FileType_ExpandCommand(*args, **kwargs)

class MimeTypesManager(object):
    """Proxy of C++ MimeTypesManager class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def IsOfType(*args, **kwargs):
        """IsOfType(String mimeType, String wildcard) -> bool"""
        return _misc_.MimeTypesManager_IsOfType(*args, **kwargs)

    IsOfType = staticmethod(IsOfType)
    def __init__(self, *args, **kwargs): 
        """__init__(self) -> MimeTypesManager"""
        _misc_.MimeTypesManager_swiginit(self,_misc_.new_MimeTypesManager(*args, **kwargs))
    def Initialize(*args, **kwargs):
        """Initialize(self, int mailcapStyle=MAILCAP_ALL, String extraDir=EmptyString)"""
        return _misc_.MimeTypesManager_Initialize(*args, **kwargs)

    def ClearData(*args, **kwargs):
        """ClearData(self)"""
        return _misc_.MimeTypesManager_ClearData(*args, **kwargs)

    def GetFileTypeFromExtension(*args, **kwargs):
        """GetFileTypeFromExtension(self, String ext) -> FileType"""
        return _misc_.MimeTypesManager_GetFileTypeFromExtension(*args, **kwargs)

    def GetFileTypeFromMimeType(*args, **kwargs):
        """GetFileTypeFromMimeType(self, String mimeType) -> FileType"""
        return _misc_.MimeTypesManager_GetFileTypeFromMimeType(*args, **kwargs)

    def EnumAllFileTypes(*args, **kwargs):
        """EnumAllFileTypes(self) -> PyObject"""
        return _misc_.MimeTypesManager_EnumAllFileTypes(*args, **kwargs)

    def AddFallback(*args, **kwargs):
        """AddFallback(self, FileTypeInfo ft)"""
        return _misc_.MimeTypesManager_AddFallback(*args, **kwargs)

    def Associate(*args, **kwargs):
        """Associate(self, FileTypeInfo ftInfo) -> FileType"""
        return _misc_.MimeTypesManager_Associate(*args, **kwargs)

    def Unassociate(*args, **kwargs):
        """Unassociate(self, FileType ft) -> bool"""
        return _misc_.MimeTypesManager_Unassociate(*args, **kwargs)

    __swig_destroy__ = _misc_.delete_MimeTypesManager
    __del__ = lambda self : None;
_misc_.MimeTypesManager_swigregister(MimeTypesManager)
TheMimeTypesManager = cvar.TheMimeTypesManager

def MimeTypesManager_IsOfType(*args, **kwargs):
  """MimeTypesManager_IsOfType(String mimeType, String wildcard) -> bool"""
  return _misc_.MimeTypesManager_IsOfType(*args, **kwargs)

#---------------------------------------------------------------------------

class ArtProvider(object):
    """
    The wx.ArtProvider class is used to customize the look of wxWidgets
    application. When wxWidgets needs to display an icon or a bitmap (e.g.
    in the standard file dialog), it does not use hard-coded resource but
    asks wx.ArtProvider for it instead. This way the users can plug in
    their own wx.ArtProvider class and easily replace standard art with
    his/her own version. It is easy thing to do: all that is needed is
    to derive a class from wx.ArtProvider, override it's CreateBitmap
    method and register the provider with `wx.ArtProvider.Push`::

        class MyArtProvider(wx.ArtProvider):
            def __init__(self):
                wx.ArtProvider.__init__(self)

            def CreateBitmap(self, artid, client, size):
                ...
                return bmp

    """
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """
        __init__(self) -> ArtProvider

        The wx.ArtProvider class is used to customize the look of wxWidgets
        application. When wxWidgets needs to display an icon or a bitmap (e.g.
        in the standard file dialog), it does not use hard-coded resource but
        asks wx.ArtProvider for it instead. This way the users can plug in
        their own wx.ArtProvider class and easily replace standard art with
        his/her own version. It is easy thing to do: all that is needed is
        to derive a class from wx.ArtProvider, override it's CreateBitmap
        method and register the provider with `wx.ArtProvider.Push`::

            class MyArtProvider(wx.ArtProvider):
                def __init__(self):
                    wx.ArtProvider.__init__(self)

                def CreateBitmap(self, artid, client, size):
                    ...
                    return bmp

        """
        _misc_.ArtProvider_swiginit(self,_misc_.new_ArtProvider(*args, **kwargs))
        ArtProvider._setCallbackInfo(self, self, ArtProvider)

    __swig_destroy__ = _misc_.delete_ArtProvider
    __del__ = lambda self : None;
    def _setCallbackInfo(*args, **kwargs):
        """_setCallbackInfo(self, PyObject self, PyObject _class)"""
        return _misc_.ArtProvider__setCallbackInfo(*args, **kwargs)

    def HasNativeProvider(*args, **kwargs):
        """
        HasNativeProvider() -> bool

        Does this platform implement native icons theme?
        """
        return _misc_.ArtProvider_HasNativeProvider(*args, **kwargs)

    HasNativeProvider = staticmethod(HasNativeProvider)
    def Push(*args, **kwargs):
        """
        Push(ArtProvider provider)

        Add new provider to the top of providers stack.
        """
        return _misc_.ArtProvider_Push(*args, **kwargs)

    Push = staticmethod(Push)
    PushProvider = Push 
    def PushBack(*args, **kwargs):
        """
        PushBack(wxArtProvider provider)

        Add new provider to the bottom of providers stack (i.e. the provider
        will be queried as the last one).
        """
        return _misc_.ArtProvider_PushBack(*args, **kwargs)

    PushBack = staticmethod(PushBack)
    def Insert(*args, **kwargs):
        """
        Insert(ArtProvider provider)

        Add new provider to the bottom of providers stack.
        """
        return _misc_.ArtProvider_Insert(*args, **kwargs)

    Insert = staticmethod(Insert)
    InsertProvider = Insert 
    def Pop(*args, **kwargs):
        """
        Pop() -> bool

        Remove latest added provider and delete it.
        """
        return _misc_.ArtProvider_Pop(*args, **kwargs)

    Pop = staticmethod(Pop)
    PopProvider = Pop 
    def Delete(*args, **kwargs):
        """
        Delete(ArtProvider provider) -> bool

        Remove provider. The provider must have been added previously!  The
        provider is _not_ deleted.
        """
        val = _misc_.ArtProvider_Delete(*args, **kwargs)
        args[1].thisown = 1
        return val

    Delete = staticmethod(Delete)
    RemoveProvider = Delete 
    def GetBitmap(*args, **kwargs):
        """
        GetBitmap(String id, String client=ART_OTHER, Size size=DefaultSize) -> Bitmap

        Query the providers for bitmap with given ID and return it. Return
        wx.NullBitmap if no provider provides it.
        """
        return _misc_.ArtProvider_GetBitmap(*args, **kwargs)

    GetBitmap = staticmethod(GetBitmap)
    def GetIcon(*args, **kwargs):
        """
        GetIcon(String id, String client=ART_OTHER, Size size=DefaultSize) -> Icon

        Query the providers for icon with given ID and return it.  Return
        wx.NullIcon if no provider provides it.
        """
        return _misc_.ArtProvider_GetIcon(*args, **kwargs)

    GetIcon = staticmethod(GetIcon)
    def GetMessageBoxIconId(*args, **kwargs):
        """GetMessageBoxIconId(int flags) -> wxArtID"""
        return _misc_.ArtProvider_GetMessageBoxIconId(*args, **kwargs)

    GetMessageBoxIconId = staticmethod(GetMessageBoxIconId)
    def GetMessageBoxIcon(*args, **kwargs):
        """
        GetMessageBoxIcon(int flags) -> Icon

        Helper used by several generic classes: return the icon corresponding
        to the standard wx.ICON_INFORMATION/WARNING/ERROR/QUESTION flags (only
        one can be set)
        """
        return _misc_.ArtProvider_GetMessageBoxIcon(*args, **kwargs)

    GetMessageBoxIcon = staticmethod(GetMessageBoxIcon)
    def GetIconBundle(*args, **kwargs):
        """
        GetIconBundle(wxArtID id, wxArtClient client=wxART_OTHER) -> wxIconBundle

        Query the providers for iconbundle with given ID and return it. Return
        wx.NullIconBundle if no provider provides it.
        """
        return _misc_.ArtProvider_GetIconBundle(*args, **kwargs)

    GetIconBundle = staticmethod(GetIconBundle)
    def GetNativeSizeHint(*args, **kwargs):
        """
        GetNativeSizeHint(wxArtClient client) -> Size

        Gets native size for given 'client' or wxDefaultSize if it doesn't
        have native equivalent.
        """
        return _misc_.ArtProvider_GetNativeSizeHint(*args, **kwargs)

    GetNativeSizeHint = staticmethod(GetNativeSizeHint)
    def GetSizeHint(*args, **kwargs):
        """
        GetSizeHint(String client, bool platform_dependent=False) -> Size

        Get the size hint of an icon from a specific Art Client, queries the
        topmost provider if platform_dependent = false
        """
        return _misc_.ArtProvider_GetSizeHint(*args, **kwargs)

    GetSizeHint = staticmethod(GetSizeHint)
    def Destroy(*args, **kwargs):
        """Destroy(self)"""
        args[0].this.own(False)
        return _misc_.ArtProvider_Destroy(*args, **kwargs)

_misc_.ArtProvider_swigregister(ArtProvider)
ART_TOOLBAR = cvar.ART_TOOLBAR
ART_MENU = cvar.ART_MENU
ART_FRAME_ICON = cvar.ART_FRAME_ICON
ART_CMN_DIALOG = cvar.ART_CMN_DIALOG
ART_HELP_BROWSER = cvar.ART_HELP_BROWSER
ART_MESSAGE_BOX = cvar.ART_MESSAGE_BOX
ART_BUTTON = cvar.ART_BUTTON
ART_LIST = cvar.ART_LIST
ART_OTHER = cvar.ART_OTHER
ART_ADD_BOOKMARK = cvar.ART_ADD_BOOKMARK
ART_DEL_BOOKMARK = cvar.ART_DEL_BOOKMARK
ART_HELP_SIDE_PANEL = cvar.ART_HELP_SIDE_PANEL
ART_HELP_SETTINGS = cvar.ART_HELP_SETTINGS
ART_HELP_BOOK = cvar.ART_HELP_BOOK
ART_HELP_FOLDER = cvar.ART_HELP_FOLDER
ART_HELP_PAGE = cvar.ART_HELP_PAGE
ART_GO_BACK = cvar.ART_GO_BACK
ART_GO_FORWARD = cvar.ART_GO_FORWARD
ART_GO_UP = cvar.ART_GO_UP
ART_GO_DOWN = cvar.ART_GO_DOWN
ART_GO_TO_PARENT = cvar.ART_GO_TO_PARENT
ART_GO_HOME = cvar.ART_GO_HOME
ART_GOTO_FIRST = cvar.ART_GOTO_FIRST
ART_GOTO_LAST = cvar.ART_GOTO_LAST
ART_FILE_OPEN = cvar.ART_FILE_OPEN
ART_FILE_SAVE = cvar.ART_FILE_SAVE
ART_FILE_SAVE_AS = cvar.ART_FILE_SAVE_AS
ART_PRINT = cvar.ART_PRINT
ART_HELP = cvar.ART_HELP
ART_TIP = cvar.ART_TIP
ART_REPORT_VIEW = cvar.ART_REPORT_VIEW
ART_LIST_VIEW = cvar.ART_LIST_VIEW
ART_NEW_DIR = cvar.ART_NEW_DIR
ART_HARDDISK = cvar.ART_HARDDISK
ART_FLOPPY = cvar.ART_FLOPPY
ART_CDROM = cvar.ART_CDROM
ART_REMOVABLE = cvar.ART_REMOVABLE
ART_FOLDER = cvar.ART_FOLDER
ART_FOLDER_OPEN = cvar.ART_FOLDER_OPEN
ART_GO_DIR_UP = cvar.ART_GO_DIR_UP
ART_EXECUTABLE_FILE = cvar.ART_EXECUTABLE_FILE
ART_NORMAL_FILE = cvar.ART_NORMAL_FILE
ART_TICK_MARK = cvar.ART_TICK_MARK
ART_CROSS_MARK = cvar.ART_CROSS_MARK
ART_ERROR = cvar.ART_ERROR
ART_QUESTION = cvar.ART_QUESTION
ART_WARNING = cvar.ART_WARNING
ART_INFORMATION = cvar.ART_INFORMATION
ART_MISSING_IMAGE = cvar.ART_MISSING_IMAGE
ART_COPY = cvar.ART_COPY
ART_CUT = cvar.ART_CUT
ART_PASTE = cvar.ART_PASTE
ART_DELETE = cvar.ART_DELETE
ART_NEW = cvar.ART_NEW
ART_UNDO = cvar.ART_UNDO
ART_REDO = cvar.ART_REDO
ART_PLUS = cvar.ART_PLUS
ART_MINUS = cvar.ART_MINUS
ART_CLOSE = cvar.ART_CLOSE
ART_QUIT = cvar.ART_QUIT
ART_FIND = cvar.ART_FIND
ART_FIND_AND_REPLACE = cvar.ART_FIND_AND_REPLACE

def ArtProvider_HasNativeProvider(*args):
  """
    ArtProvider_HasNativeProvider() -> bool

    Does this platform implement native icons theme?
    """
  return _misc_.ArtProvider_HasNativeProvider(*args)

def ArtProvider_Push(*args, **kwargs):
  """
    ArtProvider_Push(ArtProvider provider)

    Add new provider to the top of providers stack.
    """
  return _misc_.ArtProvider_Push(*args, **kwargs)

def ArtProvider_PushBack(*args, **kwargs):
  """
    ArtProvider_PushBack(wxArtProvider provider)

    Add new provider to the bottom of providers stack (i.e. the provider
    will be queried as the last one).
    """
  return _misc_.ArtProvider_PushBack(*args, **kwargs)

def ArtProvider_Insert(*args, **kwargs):
  """
    ArtProvider_Insert(ArtProvider provider)

    Add new provider to the bottom of providers stack.
    """
  return _misc_.ArtProvider_Insert(*args, **kwargs)

def ArtProvider_Pop(*args):
  """
    ArtProvider_Pop() -> bool

    Remove latest added provider and delete it.
    """
  return _misc_.ArtProvider_Pop(*args)

def ArtProvider_Delete(*args, **kwargs):
  """
    ArtProvider_Delete(ArtProvider provider) -> bool

    Remove provider. The provider must have been added previously!  The
    provider is _not_ deleted.
    """
  val = _misc_.ArtProvider_Delete(*args, **kwargs)
  args[1].thisown = 1
  return val

def ArtProvider_GetBitmap(*args, **kwargs):
  """
    ArtProvider_GetBitmap(String id, String client=ART_OTHER, Size size=DefaultSize) -> Bitmap

    Query the providers for bitmap with given ID and return it. Return
    wx.NullBitmap if no provider provides it.
    """
  return _misc_.ArtProvider_GetBitmap(*args, **kwargs)

def ArtProvider_GetIcon(*args, **kwargs):
  """
    ArtProvider_GetIcon(String id, String client=ART_OTHER, Size size=DefaultSize) -> Icon

    Query the providers for icon with given ID and return it.  Return
    wx.NullIcon if no provider provides it.
    """
  return _misc_.ArtProvider_GetIcon(*args, **kwargs)

def ArtProvider_GetMessageBoxIconId(*args, **kwargs):
  """ArtProvider_GetMessageBoxIconId(int flags) -> wxArtID"""
  return _misc_.ArtProvider_GetMessageBoxIconId(*args, **kwargs)

def ArtProvider_GetMessageBoxIcon(*args, **kwargs):
  """
    ArtProvider_GetMessageBoxIcon(int flags) -> Icon

    Helper used by several generic classes: return the icon corresponding
    to the standard wx.ICON_INFORMATION/WARNING/ERROR/QUESTION flags (only
    one can be set)
    """
  return _misc_.ArtProvider_GetMessageBoxIcon(*args, **kwargs)

def ArtProvider_GetIconBundle(*args, **kwargs):
  """
    ArtProvider_GetIconBundle(wxArtID id, wxArtClient client=wxART_OTHER) -> wxIconBundle

    Query the providers for iconbundle with given ID and return it. Return
    wx.NullIconBundle if no provider provides it.
    """
  return _misc_.ArtProvider_GetIconBundle(*args, **kwargs)

def ArtProvider_GetNativeSizeHint(*args, **kwargs):
  """
    ArtProvider_GetNativeSizeHint(wxArtClient client) -> Size

    Gets native size for given 'client' or wxDefaultSize if it doesn't
    have native equivalent.
    """
  return _misc_.ArtProvider_GetNativeSizeHint(*args, **kwargs)

def ArtProvider_GetSizeHint(*args, **kwargs):
  """
    ArtProvider_GetSizeHint(String client, bool platform_dependent=False) -> Size

    Get the size hint of an icon from a specific Art Client, queries the
    topmost provider if platform_dependent = false
    """
  return _misc_.ArtProvider_GetSizeHint(*args, **kwargs)

#---------------------------------------------------------------------------

CONFIG_USE_LOCAL_FILE = _misc_.CONFIG_USE_LOCAL_FILE
CONFIG_USE_GLOBAL_FILE = _misc_.CONFIG_USE_GLOBAL_FILE
CONFIG_USE_RELATIVE_PATH = _misc_.CONFIG_USE_RELATIVE_PATH
CONFIG_USE_NO_ESCAPE_CHARACTERS = _misc_.CONFIG_USE_NO_ESCAPE_CHARACTERS
class ConfigBase(object):
    """
    wx.ConfigBase class defines the basic interface of all config
    classes. It can not be used by itself (it is an abstract base class)
    and you will always use one of its derivations: wx.Config or
    wx.FileConfig.

    wx.ConfigBase organizes the items in a tree-like structure, modeled
    after the Unix/Dos filesystem. There are groups that act like
    directories and entries, key/value pairs that act like files.  There
    is always one current group given by the current path.  As in the file
    system case, to specify a key in the config class you must use a path
    to it.  Config classes also support the notion of the current group,
    which makes it possible to use relative paths.

    Keys are pairs "key_name = value" where value may be of string,
    integer floating point or boolean, you can not store binary data
    without first encoding it as a string.  For performance reasons items
    should be kept small, no more than a couple kilobytes.

    """
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    def __init__(self): raise AttributeError, "No constructor defined"
    __repr__ = _swig_repr
    __swig_destroy__ = _misc_.delete_ConfigBase
    __del__ = lambda self : None;
    Type_Unknown = _misc_.ConfigBase_Type_Unknown
    Type_String = _misc_.ConfigBase_Type_String
    Type_Boolean = _misc_.ConfigBase_Type_Boolean
    Type_Integer = _misc_.ConfigBase_Type_Integer
    Type_Float = _misc_.ConfigBase_Type_Float
    def Set(*args, **kwargs):
        """
        Set(ConfigBase config) -> ConfigBase

        Sets the global config object (the one returned by Get) and returns a
        reference to the previous global config object.
        """
        return _misc_.ConfigBase_Set(*args, **kwargs)

    Set = staticmethod(Set)
    def Get(*args, **kwargs):
        """
        Get(bool createOnDemand=True) -> ConfigBase

        Returns the current global config object, creating one if neccessary.
        """
        return _misc_.ConfigBase_Get(*args, **kwargs)

    Get = staticmethod(Get)
    def Create(*args, **kwargs):
        """
        Create() -> ConfigBase

        Create and return a new global config object.  This function will
        create the "best" implementation of wx.Config available for the
        current platform.
        """
        return _misc_.ConfigBase_Create(*args, **kwargs)

    Create = staticmethod(Create)
    def DontCreateOnDemand(*args, **kwargs):
        """
        DontCreateOnDemand()

        Should Get() try to create a new log object if there isn't a current
        one?
        """
        return _misc_.ConfigBase_DontCreateOnDemand(*args, **kwargs)

    DontCreateOnDemand = staticmethod(DontCreateOnDemand)
    def SetPath(*args, **kwargs):
        """
        SetPath(self, String path)

        Set current path: if the first character is '/', it's the absolute
        path, otherwise it's a relative path. '..' is supported. If the
        strPath doesn't exist it is created.
        """
        return _misc_.ConfigBase_SetPath(*args, **kwargs)

    def GetPath(*args, **kwargs):
        """
        GetPath(self) -> String

        Retrieve the current path (always as absolute path)
        """
        return _misc_.ConfigBase_GetPath(*args, **kwargs)

    def GetFirstGroup(*args, **kwargs):
        """
        GetFirstGroup() -> (more, value, index)

        Allows enumerating the subgroups in a config object.  Returns a tuple
        containing a flag indicating there are more items, the name of the
        current item, and an index to pass to GetNextGroup to fetch the next
        item.
        """
        return _misc_.ConfigBase_GetFirstGroup(*args, **kwargs)

    def GetNextGroup(*args, **kwargs):
        """
        GetNextGroup(long index) -> (more, value, index)

        Allows enumerating the subgroups in a config object.  Returns a tuple
        containing a flag indicating there are more items, the name of the
        current item, and an index to pass to GetNextGroup to fetch the next
        item.
        """
        return _misc_.ConfigBase_GetNextGroup(*args, **kwargs)

    def GetFirstEntry(*args, **kwargs):
        """
        GetFirstEntry() -> (more, value, index)

        Allows enumerating the entries in the current group in a config
        object.  Returns a tuple containing a flag indicating there are more
        items, the name of the current item, and an index to pass to
        GetNextGroup to fetch the next item.
        """
        return _misc_.ConfigBase_GetFirstEntry(*args, **kwargs)

    def GetNextEntry(*args, **kwargs):
        """
        GetNextEntry(long index) -> (more, value, index)

        Allows enumerating the entries in the current group in a config
        object.  Returns a tuple containing a flag indicating there are more
        items, the name of the current item, and an index to pass to
        GetNextGroup to fetch the next item.
        """
        return _misc_.ConfigBase_GetNextEntry(*args, **kwargs)

    def GetNumberOfEntries(*args, **kwargs):
        """
        GetNumberOfEntries(self, bool recursive=False) -> size_t

        Get the number of entries in the current group, with or without its
        subgroups.
        """
        return _misc_.ConfigBase_GetNumberOfEntries(*args, **kwargs)

    def GetNumberOfGroups(*args, **kwargs):
        """
        GetNumberOfGroups(self, bool recursive=False) -> size_t

        Get the number of subgroups in the current group, with or without its
        subgroups.
        """
        return _misc_.ConfigBase_GetNumberOfGroups(*args, **kwargs)

    def HasGroup(*args, **kwargs):
        """
        HasGroup(self, String name) -> bool

        Returns True if the group by this name exists
        """
        return _misc_.ConfigBase_HasGroup(*args, **kwargs)

    def HasEntry(*args, **kwargs):
        """
        HasEntry(self, String name) -> bool

        Returns True if the entry by this name exists
        """
        return _misc_.ConfigBase_HasEntry(*args, **kwargs)

    def Exists(*args, **kwargs):
        """
        Exists(self, String name) -> bool

        Returns True if either a group or an entry with a given name exists
        """
        return _misc_.ConfigBase_Exists(*args, **kwargs)

    def GetEntryType(*args, **kwargs):
        """
        GetEntryType(self, String name) -> int

        Get the type of the entry.  Returns one of the wx.Config.Type_XXX values.
        """
        return _misc_.ConfigBase_GetEntryType(*args, **kwargs)

    def Read(*args, **kwargs):
        """
        Read(self, String key, String defaultVal=EmptyString) -> String

        Returns the value of key if it exists, defaultVal otherwise.
        """
        return _misc_.ConfigBase_Read(*args, **kwargs)

    def ReadInt(*args, **kwargs):
        """
        ReadInt(self, String key, long defaultVal=0) -> long

        Returns the value of key if it exists, defaultVal otherwise.
        """
        return _misc_.ConfigBase_ReadInt(*args, **kwargs)

    def ReadFloat(*args, **kwargs):
        """
        ReadFloat(self, String key, double defaultVal=0.0) -> double

        Returns the value of key if it exists, defaultVal otherwise.
        """
        return _misc_.ConfigBase_ReadFloat(*args, **kwargs)

    def ReadBool(*args, **kwargs):
        """
        ReadBool(self, String key, bool defaultVal=False) -> bool

        Returns the value of key if it exists, defaultVal otherwise.
        """
        return _misc_.ConfigBase_ReadBool(*args, **kwargs)

    def Write(*args, **kwargs):
        """
        Write(self, String key, String value) -> bool

        write the value (return True on success)
        """
        return _misc_.ConfigBase_Write(*args, **kwargs)

    def WriteInt(*args, **kwargs):
        """
        WriteInt(self, String key, long value) -> bool

        write the value (return True on success)
        """
        return _misc_.ConfigBase_WriteInt(*args, **kwargs)

    def WriteFloat(*args, **kwargs):
        """
        WriteFloat(self, String key, double value) -> bool

        write the value (return True on success)
        """
        return _misc_.ConfigBase_WriteFloat(*args, **kwargs)

    def WriteBool(*args, **kwargs):
        """
        WriteBool(self, String key, bool value) -> bool

        write the value (return True on success)
        """
        return _misc_.ConfigBase_WriteBool(*args, **kwargs)

    def Flush(*args, **kwargs):
        """
        Flush(self, bool currentOnly=False) -> bool

        permanently writes all changes
        """
        return _misc_.ConfigBase_Flush(*args, **kwargs)

    def RenameEntry(*args, **kwargs):
        """
        RenameEntry(self, String oldName, String newName) -> bool

        Rename an entry.  Returns False on failure (probably because the new
        name is already taken by an existing entry)
        """
        return _misc_.ConfigBase_RenameEntry(*args, **kwargs)

    def RenameGroup(*args, **kwargs):
        """
        RenameGroup(self, String oldName, String newName) -> bool

        Rename a group.  Returns False on failure (probably because the new
        name is already taken by an existing entry)
        """
        return _misc_.ConfigBase_RenameGroup(*args, **kwargs)

    def DeleteEntry(*args, **kwargs):
        """
        DeleteEntry(self, String key, bool deleteGroupIfEmpty=True) -> bool

        Deletes the specified entry and the group it belongs to if it was the
        last key in it and the second parameter is True
        """
        return _misc_.ConfigBase_DeleteEntry(*args, **kwargs)

    def DeleteGroup(*args, **kwargs):
        """
        DeleteGroup(self, String key) -> bool

        Delete the group (with all subgroups)
        """
        return _misc_.ConfigBase_DeleteGroup(*args, **kwargs)

    def DeleteAll(*args, **kwargs):
        """
        DeleteAll(self) -> bool

        Delete the whole underlying object (disk file, registry key, ...)
        primarly intended for use by deinstallation routine.
        """
        return _misc_.ConfigBase_DeleteAll(*args, **kwargs)

    def SetExpandEnvVars(*args, **kwargs):
        """
        SetExpandEnvVars(self, bool doIt=True)

        We can automatically expand environment variables in the config
        entries this option is on by default, you can turn it on/off at any
        time)
        """
        return _misc_.ConfigBase_SetExpandEnvVars(*args, **kwargs)

    def IsExpandingEnvVars(*args, **kwargs):
        """
        IsExpandingEnvVars(self) -> bool

        Are we currently expanding environment variables?
        """
        return _misc_.ConfigBase_IsExpandingEnvVars(*args, **kwargs)

    def SetRecordDefaults(*args, **kwargs):
        """
        SetRecordDefaults(self, bool doIt=True)

        Set whether the config objec should record default values.
        """
        return _misc_.ConfigBase_SetRecordDefaults(*args, **kwargs)

    def IsRecordingDefaults(*args, **kwargs):
        """
        IsRecordingDefaults(self) -> bool

        Are we currently recording default values?
        """
        return _misc_.ConfigBase_IsRecordingDefaults(*args, **kwargs)

    def ExpandEnvVars(*args, **kwargs):
        """
        ExpandEnvVars(self, String str) -> String

        Expand any environment variables in str and return the result
        """
        return _misc_.ConfigBase_ExpandEnvVars(*args, **kwargs)

    def GetAppName(*args, **kwargs):
        """GetAppName(self) -> String"""
        return _misc_.ConfigBase_GetAppName(*args, **kwargs)

    def GetVendorName(*args, **kwargs):
        """GetVendorName(self) -> String"""
        return _misc_.ConfigBase_GetVendorName(*args, **kwargs)

    def SetAppName(*args, **kwargs):
        """SetAppName(self, String appName)"""
        return _misc_.ConfigBase_SetAppName(*args, **kwargs)

    def SetVendorName(*args, **kwargs):
        """SetVendorName(self, String vendorName)"""
        return _misc_.ConfigBase_SetVendorName(*args, **kwargs)

    def SetStyle(*args, **kwargs):
        """SetStyle(self, long style)"""
        return _misc_.ConfigBase_SetStyle(*args, **kwargs)

    def GetStyle(*args, **kwargs):
        """GetStyle(self) -> long"""
        return _misc_.ConfigBase_GetStyle(*args, **kwargs)

    AppName = property(GetAppName,SetAppName,doc="See `GetAppName` and `SetAppName`") 
    EntryType = property(GetEntryType,doc="See `GetEntryType`") 
    FirstEntry = property(GetFirstEntry,doc="See `GetFirstEntry`") 
    FirstGroup = property(GetFirstGroup,doc="See `GetFirstGroup`") 
    NextEntry = property(GetNextEntry,doc="See `GetNextEntry`") 
    NextGroup = property(GetNextGroup,doc="See `GetNextGroup`") 
    NumberOfEntries = property(GetNumberOfEntries,doc="See `GetNumberOfEntries`") 
    NumberOfGroups = property(GetNumberOfGroups,doc="See `GetNumberOfGroups`") 
    Path = property(GetPath,SetPath,doc="See `GetPath` and `SetPath`") 
    Style = property(GetStyle,SetStyle,doc="See `GetStyle` and `SetStyle`") 
    VendorName = property(GetVendorName,SetVendorName,doc="See `GetVendorName` and `SetVendorName`") 
_misc_.ConfigBase_swigregister(ConfigBase)

def ConfigBase_Set(*args, **kwargs):
  """
    ConfigBase_Set(ConfigBase config) -> ConfigBase

    Sets the global config object (the one returned by Get) and returns a
    reference to the previous global config object.
    """
  return _misc_.ConfigBase_Set(*args, **kwargs)

def ConfigBase_Get(*args, **kwargs):
  """
    ConfigBase_Get(bool createOnDemand=True) -> ConfigBase

    Returns the current global config object, creating one if neccessary.
    """
  return _misc_.ConfigBase_Get(*args, **kwargs)

def ConfigBase_Create(*args):
  """
    ConfigBase_Create() -> ConfigBase

    Create and return a new global config object.  This function will
    create the "best" implementation of wx.Config available for the
    current platform.
    """
  return _misc_.ConfigBase_Create(*args)

def ConfigBase_DontCreateOnDemand(*args):
  """
    ConfigBase_DontCreateOnDemand()

    Should Get() try to create a new log object if there isn't a current
    one?
    """
  return _misc_.ConfigBase_DontCreateOnDemand(*args)

class Config(ConfigBase):
    """
    This ConfigBase-derived class will use the registry on Windows,
    and will be a wx.FileConfig on other platforms.
    """
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """
        __init__(self, String appName=EmptyString, String vendorName=EmptyString, 
            String localFilename=EmptyString, String globalFilename=EmptyString, 
            long style=wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE) -> Config
        """
        _misc_.Config_swiginit(self,_misc_.new_Config(*args, **kwargs))
    __swig_destroy__ = _misc_.delete_Config
    __del__ = lambda self : None;
_misc_.Config_swigregister(Config)

class FileConfig(ConfigBase):
    """This config class will use a file for storage on all platforms."""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """
        __init__(self, String appName=EmptyString, String vendorName=EmptyString, 
            String localFilename=EmptyString, String globalFilename=EmptyString, 
            long style=wxCONFIG_USE_LOCAL_FILE|wxCONFIG_USE_GLOBAL_FILE) -> FileConfig
        """
        _misc_.FileConfig_swiginit(self,_misc_.new_FileConfig(*args, **kwargs))
    __swig_destroy__ = _misc_.delete_FileConfig
    __del__ = lambda self : None;
    def GetGlobalFileName(*args, **kwargs):
        """GetGlobalFileName(String szFile) -> String"""
        return _misc_.FileConfig_GetGlobalFileName(*args, **kwargs)

    GetGlobalFileName = staticmethod(GetGlobalFileName)
    def GetLocalFileName(*args, **kwargs):
        """GetLocalFileName(String szFile, int style=0) -> String"""
        return _misc_.FileConfig_GetLocalFileName(*args, **kwargs)

    GetLocalFileName = staticmethod(GetLocalFileName)
_misc_.FileConfig_swigregister(FileConfig)

def FileConfig_GetGlobalFileName(*args, **kwargs):
  """FileConfig_GetGlobalFileName(String szFile) -> String"""
  return _misc_.FileConfig_GetGlobalFileName(*args, **kwargs)

def FileConfig_GetLocalFileName(*args, **kwargs):
  """FileConfig_GetLocalFileName(String szFile, int style=0) -> String"""
  return _misc_.FileConfig_GetLocalFileName(*args, **kwargs)

class ConfigPathChanger(object):
    """
    A handy little class which changes current path to the path of given
    entry and restores it in the destructoir: so if you declare a local
    variable of this type, you work in the entry directory and the path is
    automatically restored when the function returns.
    """
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """__init__(self, ConfigBase config, String entry) -> ConfigPathChanger"""
        _misc_.ConfigPathChanger_swiginit(self,_misc_.new_ConfigPathChanger(*args, **kwargs))
    __swig_destroy__ = _misc_.delete_ConfigPathChanger
    __del__ = lambda self : None;
    def Name(*args, **kwargs):
        """
        Name(self) -> String

        Get the key name
        """
        return _misc_.ConfigPathChanger_Name(*args, **kwargs)

_misc_.ConfigPathChanger_swigregister(ConfigPathChanger)


def ExpandEnvVars(*args, **kwargs):
  """
    ExpandEnvVars(String sz) -> String

    Replace environment variables ($SOMETHING) with their values. The
    format is $VARNAME or ${VARNAME} where VARNAME contains alphanumeric
    characters and '_' only. '$' must be escaped ('\$') in order to be
    taken literally.
    """
  return _misc_.ExpandEnvVars(*args, **kwargs)
#---------------------------------------------------------------------------

class DateTime(object):
    """Proxy of C++ DateTime class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    Local = _misc_.DateTime_Local
    GMT_12 = _misc_.DateTime_GMT_12
    GMT_11 = _misc_.DateTime_GMT_11
    GMT_10 = _misc_.DateTime_GMT_10
    GMT_9 = _misc_.DateTime_GMT_9
    GMT_8 = _misc_.DateTime_GMT_8
    GMT_7 = _misc_.DateTime_GMT_7
    GMT_6 = _misc_.DateTime_GMT_6
    GMT_5 = _misc_.DateTime_GMT_5
    GMT_4 = _misc_.DateTime_GMT_4
    GMT_3 = _misc_.DateTime_GMT_3
    GMT_2 = _misc_.DateTime_GMT_2
    GMT_1 = _misc_.DateTime_GMT_1
    GMT0 = _misc_.DateTime_GMT0
    GMT1 = _misc_.DateTime_GMT1
    GMT2 = _misc_.DateTime_GMT2
    GMT3 = _misc_.DateTime_GMT3
    GMT4 = _misc_.DateTime_GMT4
    GMT5 = _misc_.DateTime_GMT5
    GMT6 = _misc_.DateTime_GMT6
    GMT7 = _misc_.DateTime_GMT7
    GMT8 = _misc_.DateTime_GMT8
    GMT9 = _misc_.DateTime_GMT9
    GMT10 = _misc_.DateTime_GMT10
    GMT11 = _misc_.DateTime_GMT11
    GMT12 = _misc_.DateTime_GMT12
    GMT13 = _misc_.DateTime_GMT13
    WET = _misc_.DateTime_WET
    WEST = _misc_.DateTime_WEST
    CET = _misc_.DateTime_CET
    CEST = _misc_.DateTime_CEST
    EET = _misc_.DateTime_EET
    EEST = _misc_.DateTime_EEST
    MSK = _misc_.DateTime_MSK
    MSD = _misc_.DateTime_MSD
    AST = _misc_.DateTime_AST
    ADT = _misc_.DateTime_ADT
    EST = _misc_.DateTime_EST
    EDT = _misc_.DateTime_EDT
    CST = _misc_.DateTime_CST
    CDT = _misc_.DateTime_CDT
    MST = _misc_.DateTime_MST
    MDT = _misc_.DateTime_MDT
    PST = _misc_.DateTime_PST
    PDT = _misc_.DateTime_PDT
    HST = _misc_.DateTime_HST
    AKST = _misc_.DateTime_AKST
    AKDT = _misc_.DateTime_AKDT
    A_WST = _misc_.DateTime_A_WST
    A_CST = _misc_.DateTime_A_CST
    A_EST = _misc_.DateTime_A_EST
    A_ESST = _misc_.DateTime_A_ESST
    NZST = _misc_.DateTime_NZST
    NZDT = _misc_.DateTime_NZDT
    UTC = _misc_.DateTime_UTC
    Gregorian = _misc_.DateTime_Gregorian
    Julian = _misc_.DateTime_Julian
    Gr_Unknown = _misc_.DateTime_Gr_Unknown
    Gr_Standard = _misc_.DateTime_Gr_Standard
    Gr_Alaska = _misc_.DateTime_Gr_Alaska
    Gr_Albania = _misc_.DateTime_Gr_Albania
    Gr_Austria = _misc_.DateTime_Gr_Austria
    Gr_Austria_Brixen = _misc_.DateTime_Gr_Austria_Brixen
    Gr_Austria_Salzburg = _misc_.DateTime_Gr_Austria_Salzburg
    Gr_Austria_Tyrol = _misc_.DateTime_Gr_Austria_Tyrol
    Gr_Austria_Carinthia = _misc_.DateTime_Gr_Austria_Carinthia
    Gr_Austria_Styria = _misc_.DateTime_Gr_Austria_Styria
    Gr_Belgium = _misc_.DateTime_Gr_Belgium
    Gr_Bulgaria = _misc_.DateTime_Gr_Bulgaria
    Gr_Bulgaria_1 = _misc_.DateTime_Gr_Bulgaria_1
    Gr_Bulgaria_2 = _misc_.DateTime_Gr_Bulgaria_2
    Gr_Bulgaria_3 = _misc_.DateTime_Gr_Bulgaria_3
    Gr_Canada = _misc_.DateTime_Gr_Canada
    Gr_China = _misc_.DateTime_Gr_China
    Gr_China_1 = _misc_.DateTime_Gr_China_1
    Gr_China_2 = _misc_.DateTime_Gr_China_2
    Gr_Czechoslovakia = _misc_.DateTime_Gr_Czechoslovakia
    Gr_Denmark = _misc_.DateTime_Gr_Denmark
    Gr_Egypt = _misc_.DateTime_Gr_Egypt
    Gr_Estonia = _misc_.DateTime_Gr_Estonia
    Gr_Finland = _misc_.DateTime_Gr_Finland
    Gr_France = _misc_.DateTime_Gr_France
    Gr_France_Alsace = _misc_.DateTime_Gr_France_Alsace
    Gr_France_Lorraine = _misc_.DateTime_Gr_France_Lorraine
    Gr_France_Strasbourg = _misc_.DateTime_Gr_France_Strasbourg
    Gr_Germany = _misc_.DateTime_Gr_Germany
    Gr_Germany_Catholic = _misc_.DateTime_Gr_Germany_Catholic
    Gr_Germany_Prussia = _misc_.DateTime_Gr_Germany_Prussia
    Gr_Germany_Protestant = _misc_.DateTime_Gr_Germany_Protestant
    Gr_GreatBritain = _misc_.DateTime_Gr_GreatBritain
    Gr_Greece = _misc_.DateTime_Gr_Greece
    Gr_Hungary = _misc_.DateTime_Gr_Hungary
    Gr_Ireland = _misc_.DateTime_Gr_Ireland
    Gr_Italy = _misc_.DateTime_Gr_Italy
    Gr_Japan = _misc_.DateTime_Gr_Japan
    Gr_Japan_1 = _misc_.DateTime_Gr_Japan_1
    Gr_Japan_2 = _misc_.DateTime_Gr_Japan_2
    Gr_Japan_3 = _misc_.DateTime_Gr_Japan_3
    Gr_Latvia = _misc_.DateTime_Gr_Latvia
    Gr_Lithuania = _misc_.DateTime_Gr_Lithuania
    Gr_Luxemburg = _misc_.DateTime_Gr_Luxemburg
    Gr_Netherlands = _misc_.DateTime_Gr_Netherlands
    Gr_Netherlands_Groningen = _misc_.DateTime_Gr_Netherlands_Groningen
    Gr_Netherlands_Gelderland = _misc_.DateTime_Gr_Netherlands_Gelderland
    Gr_Netherlands_Utrecht = _misc_.DateTime_Gr_Netherlands_Utrecht
    Gr_Netherlands_Friesland = _misc_.DateTime_Gr_Netherlands_Friesland
    Gr_Norway = _misc_.DateTime_Gr_Norway
    Gr_Poland = _misc_.DateTime_Gr_Poland
    Gr_Portugal = _misc_.DateTime_Gr_Portugal
    Gr_Romania = _misc_.DateTime_Gr_Romania
    Gr_Russia = _misc_.DateTime_Gr_Russia
    Gr_Scotland = _misc_.DateTime_Gr_Scotland
    Gr_Spain = _misc_.DateTime_Gr_Spain
    Gr_Sweden = _misc_.DateTime_Gr_Sweden
    Gr_Switzerland = _misc_.DateTime_Gr_Switzerland
    Gr_Switzerland_Catholic = _misc_.DateTime_Gr_Switzerland_Catholic
    Gr_Switzerland_Protestant = _misc_.DateTime_Gr_Switzerland_Protestant
    Gr_Turkey = _misc_.DateTime_Gr_Turkey
    Gr_USA = _misc_.DateTime_Gr_USA
    Gr_Wales = _misc_.DateTime_Gr_Wales
    Gr_Yugoslavia = _misc_.DateTime_Gr_Yugoslavia
    Country_Unknown = _misc_.DateTime_Country_Unknown
    Country_Default = _misc_.DateTime_Country_Default
    Country_WesternEurope_Start = _misc_.DateTime_Country_WesternEurope_Start
    Country_EEC = _misc_.DateTime_Country_EEC
    France = _misc_.DateTime_France
    Germany = _misc_.DateTime_Germany
    UK = _misc_.DateTime_UK
    Country_WesternEurope_End = _misc_.DateTime_Country_WesternEurope_End
    Russia = _misc_.DateTime_Russia
    USA = _misc_.DateTime_USA
    Jan = _misc_.DateTime_Jan
    Feb = _misc_.DateTime_Feb
    Mar = _misc_.DateTime_Mar
    Apr = _misc_.DateTime_Apr
    May = _misc_.DateTime_May
    Jun = _misc_.DateTime_Jun
    Jul = _misc_.DateTime_Jul
    Aug = _misc_.DateTime_Aug
    Sep = _misc_.DateTime_Sep
    Oct = _misc_.DateTime_Oct
    Nov = _misc_.DateTime_Nov
    Dec = _misc_.DateTime_Dec
    Inv_Month = _misc_.DateTime_Inv_Month
    Sun = _misc_.DateTime_Sun
    Mon = _misc_.DateTime_Mon
    Tue = _misc_.DateTime_Tue
    Wed = _misc_.DateTime_Wed
    Thu = _misc_.DateTime_Thu
    Fri = _misc_.DateTime_Fri
    Sat = _misc_.DateTime_Sat
    Inv_WeekDay = _misc_.DateTime_Inv_WeekDay
    Inv_Year = _misc_.DateTime_Inv_Year
    Name_Full = _misc_.DateTime_Name_Full
    Name_Abbr = _misc_.DateTime_Name_Abbr
    Default_First = _misc_.DateTime_Default_First
    Monday_First = _misc_.DateTime_Monday_First
    Sunday_First = _misc_.DateTime_Sunday_First
    def SetCountry(*args, **kwargs):
        """SetCountry(int country)"""
        return _misc_.DateTime_SetCountry(*args, **kwargs)

    SetCountry = staticmethod(SetCountry)
    def GetCountry(*args, **kwargs):
        """GetCountry() -> int"""
        return _misc_.DateTime_GetCountry(*args, **kwargs)

    GetCountry = staticmethod(GetCountry)
    def IsWestEuropeanCountry(*args, **kwargs):
        """IsWestEuropeanCountry(int country=Country_Default) -> bool"""
        return _misc_.DateTime_IsWestEuropeanCountry(*args, **kwargs)

    IsWestEuropeanCountry = staticmethod(IsWestEuropeanCountry)
    def GetCurrentYear(*args, **kwargs):
        """GetCurrentYear(int cal=Gregorian) -> int"""
        return _misc_.DateTime_GetCurrentYear(*args, **kwargs)

    GetCurrentYear = staticmethod(GetCurrentYear)
    def ConvertYearToBC(*args, **kwargs):
        """ConvertYearToBC(int year) -> int"""
        return _misc_.DateTime_ConvertYearToBC(*args, **kwargs)

    ConvertYearToBC = staticmethod(ConvertYearToBC)
    def GetCurrentMonth(*args, **kwargs):
        """GetCurrentMonth(int cal=Gregorian) -> int"""
        return _misc_.DateTime_GetCurrentMonth(*args, **kwargs)

    GetCurrentMonth = staticmethod(GetCurrentMonth)
    def IsLeapYear(*args, **kwargs):
        """IsLeapYear(int year=Inv_Year, int cal=Gregorian) -> bool"""
        return _misc_.DateTime_IsLeapYear(*args, **kwargs)

    IsLeapYear = staticmethod(IsLeapYear)
    def GetCentury(*args, **kwargs):
        """GetCentury(int year=Inv_Year) -> int"""
        return _misc_.DateTime_GetCentury(*args, **kwargs)

    GetCentury = staticmethod(GetCentury)
    def GetNumberOfDaysinYear(*args, **kwargs):
        """GetNumberOfDaysinYear(int year, int cal=Gregorian) -> int"""
        return _misc_.DateTime_GetNumberOfDaysinYear(*args, **kwargs)

    GetNumberOfDaysinYear = staticmethod(GetNumberOfDaysinYear)
    def GetNumberOfDaysInMonth(*args, **kwargs):
        """GetNumberOfDaysInMonth(int month, int year=Inv_Year, int cal=Gregorian) -> int"""
        return _misc_.DateTime_GetNumberOfDaysInMonth(*args, **kwargs)

    GetNumberOfDaysInMonth = staticmethod(GetNumberOfDaysInMonth)
    def GetMonthName(*args, **kwargs):
        """GetMonthName(int month, int flags=Name_Full) -> String"""
        return _misc_.DateTime_GetMonthName(*args, **kwargs)

    GetMonthName = staticmethod(GetMonthName)
    def GetWeekDayName(*args, **kwargs):
        """GetWeekDayName(int weekday, int flags=Name_Full) -> String"""
        return _misc_.DateTime_GetWeekDayName(*args, **kwargs)

    GetWeekDayName = staticmethod(GetWeekDayName)
    def GetEnglishMonthName(*args, **kwargs):
        """GetEnglishMonthName(int month, int flags=Name_Full) -> String"""
        return _misc_.DateTime_GetEnglishMonthName(*args, **kwargs)

    GetEnglishMonthName = staticmethod(GetEnglishMonthName)
    def GetEnglishWeekDayName(*args, **kwargs):
        """GetEnglishWeekDayName(int weekday, int flags=Name_Full) -> String"""
        return _misc_.DateTime_GetEnglishWeekDayName(*args, **kwargs)

    GetEnglishWeekDayName = staticmethod(GetEnglishWeekDayName)
    def GetAmPmStrings(*args, **kwargs):
        """
        GetAmPmStrings() -> (am, pm)

        Get the AM and PM strings in the current locale (may be empty)
        """
        return _misc_.DateTime_GetAmPmStrings(*args, **kwargs)

    GetAmPmStrings = staticmethod(GetAmPmStrings)
    def IsDSTApplicable(*args, **kwargs):
        """IsDSTApplicable(int year=Inv_Year, int country=Country_Default) -> bool"""
        return _misc_.DateTime_IsDSTApplicable(*args, **kwargs)

    IsDSTApplicable = staticmethod(IsDSTApplicable)
    def GetBeginDST(*args, **kwargs):
        """GetBeginDST(int year=Inv_Year, int country=Country_Default) -> DateTime"""
        return _misc_.DateTime_GetBeginDST(*args, **kwargs)

    GetBeginDST = staticmethod(GetBeginDST)
    def GetEndDST(*args, **kwargs):
        """GetEndDST(int year=Inv_Year, int country=Country_Default) -> DateTime"""
        return _misc_.DateTime_GetEndDST(*args, **kwargs)

    GetEndDST = staticmethod(GetEndDST)
    def Now(*args, **kwargs):
        """Now() -> DateTime"""
        return _misc_.DateTime_Now(*args, **kwargs)

    Now = staticmethod(Now)
    def UNow(*args, **kwargs):
        """UNow() -> DateTime"""
        return _misc_.DateTime_UNow(*args, **kwargs)

    UNow = staticmethod(UNow)
    def Today(*args, **kwargs):
        """Today() -> DateTime"""
        return _misc_.DateTime_Today(*args, **kwargs)

    Today = staticmethod(Today)
    def __init__(self, *args, **kwargs): 
        """__init__(self) -> DateTime"""
        _misc_.DateTime_swiginit(self,_misc_.new_DateTime(*args, **kwargs))
    __swig_destroy__ = _misc_.delete_DateTime
    __del__ = lambda self : None;
    def SetToCurrent(*args, **kwargs):
        """SetToCurrent(self) -> DateTime"""
        return _misc_.DateTime_SetToCurrent(*args, **kwargs)

    def SetTimeT(*args, **kwargs):
        """SetTimeT(self, time_t timet) -> DateTime"""
        return _misc_.DateTime_SetTimeT(*args, **kwargs)

    def SetJDN(*args, **kwargs):
        """SetJDN(self, double jdn) -> DateTime"""
        return _misc_.DateTime_SetJDN(*args, **kwargs)

    def SetHMS(*args, **kwargs):
        """SetHMS(self, int hour, int minute=0, int second=0, int millisec=0) -> DateTime"""
        return _misc_.DateTime_SetHMS(*args, **kwargs)

    def Set(*args, **kwargs):
        """
        Set(self, int day, int month=Inv_Month, int year=Inv_Year, int hour=0, 
            int minute=0, int second=0, int millisec=0) -> DateTime
        """
        return _misc_.DateTime_Set(*args, **kwargs)

    def ResetTime(*args, **kwargs):
        """ResetTime(self) -> DateTime"""
        return _misc_.DateTime_ResetTime(*args, **kwargs)

    def GetDateOnly(*args, **kwargs):
        """GetDateOnly(self) -> DateTime"""
        return _misc_.DateTime_GetDateOnly(*args, **kwargs)

    def SetYear(*args, **kwargs):
        """SetYear(self, int year) -> DateTime"""
        return _misc_.DateTime_SetYear(*args, **kwargs)

    def SetMonth(*args, **kwargs):
        """SetMonth(self, int month) -> DateTime"""
        return _misc_.DateTime_SetMonth(*args, **kwargs)

    def SetDay(*args, **kwargs):
        """SetDay(self, int day) -> DateTime"""
        return _misc_.DateTime_SetDay(*args, **kwargs)

    def SetHour(*args, **kwargs):
        """SetHour(self, int hour) -> DateTime"""
        return _misc_.DateTime_SetHour(*args, **kwargs)

    def SetMinute(*args, **kwargs):
        """SetMinute(self, int minute) -> DateTime"""
        return _misc_.DateTime_SetMinute(*args, **kwargs)

    def SetSecond(*args, **kwargs):
        """SetSecond(self, int second) -> DateTime"""
        return _misc_.DateTime_SetSecond(*args, **kwargs)

    def SetMillisecond(*args, **kwargs):
        """SetMillisecond(self, int millisecond) -> DateTime"""
        return _misc_.DateTime_SetMillisecond(*args, **kwargs)

    def SetToWeekDayInSameWeek(*args, **kwargs):
        """SetToWeekDayInSameWeek(self, int weekday, int flags=Monday_First) -> DateTime"""
        return _misc_.DateTime_SetToWeekDayInSameWeek(*args, **kwargs)

    def GetWeekDayInSameWeek(*args, **kwargs):
        """GetWeekDayInSameWeek(self, int weekday, int flags=Monday_First) -> DateTime"""
        return _misc_.DateTime_GetWeekDayInSameWeek(*args, **kwargs)

    def SetToNextWeekDay(*args, **kwargs):
        """SetToNextWeekDay(self, int weekday) -> DateTime"""
        return _misc_.DateTime_SetToNextWeekDay(*args, **kwargs)

    def GetNextWeekDay(*args, **kwargs):
        """GetNextWeekDay(self, int weekday) -> DateTime"""
        return _misc_.DateTime_GetNextWeekDay(*args, **kwargs)

    def SetToPrevWeekDay(*args, **kwargs):
        """SetToPrevWeekDay(self, int weekday) -> DateTime"""
        return _misc_.DateTime_SetToPrevWeekDay(*args, **kwargs)

    def GetPrevWeekDay(*args, **kwargs):
        """GetPrevWeekDay(self, int weekday) -> DateTime"""
        return _misc_.DateTime_GetPrevWeekDay(*args, **kwargs)

    def SetToWeekDay(*args, **kwargs):
        """SetToWeekDay(self, int weekday, int n=1, int month=Inv_Month, int year=Inv_Year) -> bool"""
        return _misc_.DateTime_SetToWeekDay(*args, **kwargs)

    def SetToLastWeekDay(*args, **kwargs):
        """SetToLastWeekDay(self, int weekday, int month=Inv_Month, int year=Inv_Year) -> bool"""
        return _misc_.DateTime_SetToLastWeekDay(*args, **kwargs)

    def GetLastWeekDay(*args, **kwargs):
        """GetLastWeekDay(self, int weekday, int month=Inv_Month, int year=Inv_Year) -> DateTime"""
        return _misc_.DateTime_GetLastWeekDay(*args, **kwargs)

    def SetToWeekOfYear(*args, **kwargs):
        """SetToWeekOfYear(int year, int numWeek, int weekday=Mon) -> DateTime"""
        return _misc_.DateTime_SetToWeekOfYear(*args, **kwargs)

    SetToWeekOfYear = staticmethod(SetToWeekOfYear)
    def SetToLastMonthDay(*args, **kwargs):
        """SetToLastMonthDay(self, int month=Inv_Month, int year=Inv_Year) -> DateTime"""
        return _misc_.DateTime_SetToLastMonthDay(*args, **kwargs)

    def GetLastMonthDay(*args, **kwargs):
        """GetLastMonthDay(self, int month=Inv_Month, int year=Inv_Year) -> DateTime"""
        return _misc_.DateTime_GetLastMonthDay(*args, **kwargs)

    def SetToYearDay(*args, **kwargs):
        """SetToYearDay(self, int yday) -> DateTime"""
        return _misc_.DateTime_SetToYearDay(*args, **kwargs)

    def GetYearDay(*args, **kwargs):
        """GetYearDay(self, int yday) -> DateTime"""
        return _misc_.DateTime_GetYearDay(*args, **kwargs)

    def GetJulianDayNumber(*args, **kwargs):
        """GetJulianDayNumber(self) -> double"""
        return _misc_.DateTime_GetJulianDayNumber(*args, **kwargs)

    def GetJDN(*args, **kwargs):
        """GetJDN(self) -> double"""
        return _misc_.DateTime_GetJDN(*args, **kwargs)

    def GetModifiedJulianDayNumber(*args, **kwargs):
        """GetModifiedJulianDayNumber(self) -> double"""
        return _misc_.DateTime_GetModifiedJulianDayNumber(*args, **kwargs)

    def GetMJD(*args, **kwargs):
        """GetMJD(self) -> double"""
        return _misc_.DateTime_GetMJD(*args, **kwargs)

    def GetRataDie(*args, **kwargs):
        """GetRataDie(self) -> double"""
        return _misc_.DateTime_GetRataDie(*args, **kwargs)

    def ToTimezone(*args, **kwargs):
        """ToTimezone(self, wxDateTime::TimeZone tz, bool noDST=False) -> DateTime"""
        return _misc_.DateTime_ToTimezone(*args, **kwargs)

    def MakeTimezone(*args, **kwargs):
        """MakeTimezone(self, wxDateTime::TimeZone tz, bool noDST=False) -> DateTime"""
        return _misc_.DateTime_MakeTimezone(*args, **kwargs)

    def FromTimezone(*args, **kwargs):
        """FromTimezone(self, wxDateTime::TimeZone tz, bool noDST=False) -> DateTime"""
        return _misc_.DateTime_FromTimezone(*args, **kwargs)

    def MakeFromTimezone(*args, **kwargs):
        """MakeFromTimezone(self, wxDateTime::TimeZone tz, bool noDST=False) -> DateTime"""
        return _misc_.DateTime_MakeFromTimezone(*args, **kwargs)

    def ToUTC(*args, **kwargs):
        """ToUTC(self, bool noDST=False) -> DateTime"""
        return _misc_.DateTime_ToUTC(*args, **kwargs)

    def MakeUTC(*args, **kwargs):
        """MakeUTC(self, bool noDST=False) -> DateTime"""
        return _misc_.DateTime_MakeUTC(*args, **kwargs)

    def ToGMT(*args, **kwargs):
        """ToGMT(self, bool noDST=False) -> DateTime"""
        return _misc_.DateTime_ToGMT(*args, **kwargs)

    def MakeGMT(*args, **kwargs):
        """MakeGMT(self, bool noDST=False) -> DateTime"""
        return _misc_.DateTime_MakeGMT(*args, **kwargs)

    def FromUTC(*args, **kwargs):
        """FromUTC(self, bool noDST=False) -> DateTime"""
        return _misc_.DateTime_FromUTC(*args, **kwargs)

    def MakeFromUTC(*args, **kwargs):
        """MakeFromUTC(self, bool noDST=False) -> DateTime"""
        return _misc_.DateTime_MakeFromUTC(*args, **kwargs)

    def IsDST(*args, **kwargs):
        """IsDST(self, int country=Country_Default) -> int"""
        return _misc_.DateTime_IsDST(*args, **kwargs)

    def IsValid(*args, **kwargs):
        """IsValid(self) -> bool"""
        return _misc_.DateTime_IsValid(*args, **kwargs)

    IsOk = IsValid 
    Ok = IsOk 
    def __nonzero__(self): return self.IsOk() 
    def GetTicks(*args, **kwargs):
        """GetTicks(self) -> time_t"""
        return _misc_.DateTime_GetTicks(*args, **kwargs)

    def GetYear(*args, **kwargs):
        """GetYear(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int"""
        return _misc_.DateTime_GetYear(*args, **kwargs)

    def GetMonth(*args, **kwargs):
        """GetMonth(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int"""
        return _misc_.DateTime_GetMonth(*args, **kwargs)

    def GetDay(*args, **kwargs):
        """GetDay(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int"""
        return _misc_.DateTime_GetDay(*args, **kwargs)

    def GetWeekDay(*args, **kwargs):
        """GetWeekDay(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int"""
        return _misc_.DateTime_GetWeekDay(*args, **kwargs)

    def GetHour(*args, **kwargs):
        """GetHour(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int"""
        return _misc_.DateTime_GetHour(*args, **kwargs)

    def GetMinute(*args, **kwargs):
        """GetMinute(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int"""
        return _misc_.DateTime_GetMinute(*args, **kwargs)

    def GetSecond(*args, **kwargs):
        """GetSecond(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int"""
        return _misc_.DateTime_GetSecond(*args, **kwargs)

    def GetMillisecond(*args, **kwargs):
        """GetMillisecond(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int"""
        return _misc_.DateTime_GetMillisecond(*args, **kwargs)

    def GetDayOfYear(*args, **kwargs):
        """GetDayOfYear(self, wxDateTime::TimeZone tz=LOCAL_TZ) -> int"""
        return _misc_.DateTime_GetDayOfYear(*args, **kwargs)

    def GetWeekOfYear(*args, **kwargs):
        """GetWeekOfYear(self, int flags=Monday_First, wxDateTime::TimeZone tz=LOCAL_TZ) -> int"""
        return _misc_.DateTime_GetWeekOfYear(*args, **kwargs)

    def GetWeekOfMonth(*args, **kwargs):
        """GetWeekOfMonth(self, int flags=Monday_First, wxDateTime::TimeZone tz=LOCAL_TZ) -> int"""
        return _misc_.DateTime_GetWeekOfMonth(*args, **kwargs)

    def IsWorkDay(*args, **kwargs):
        """IsWorkDay(self, int country=Country_Default) -> bool"""
        return _misc_.DateTime_IsWorkDay(*args, **kwargs)

    def IsEqualTo(*args, **kwargs):
        """IsEqualTo(self, DateTime datetime) -> bool"""
        return _misc_.DateTime_IsEqualTo(*args, **kwargs)

    def IsEarlierThan(*args, **kwargs):
        """IsEarlierThan(self, DateTime datetime) -> bool"""
        return _misc_.DateTime_IsEarlierThan(*args, **kwargs)

    def IsLaterThan(*args, **kwargs):
        """IsLaterThan(self, DateTime datetime) -> bool"""
        return _misc_.DateTime_IsLaterThan(*args, **kwargs)

    def IsStrictlyBetween(*args, **kwargs):
        """IsStrictlyBetween(self, DateTime t1, DateTime t2) -> bool"""
        return _misc_.DateTime_IsStrictlyBetween(*args, **kwargs)

    def IsBetween(*args, **kwargs):
        """IsBetween(self, DateTime t1, DateTime t2) -> bool"""
        return _misc_.DateTime_IsBetween(*args, **kwargs)

    def IsSameDate(*args, **kwargs):
        """IsSameDate(self, DateTime dt) -> bool"""
        return _misc_.DateTime_IsSameDate(*args, **kwargs)

    def IsSameTime(*args, **kwargs):
        """IsSameTime(self, DateTime dt) -> bool"""
        return _misc_.DateTime_IsSameTime(*args, **kwargs)

    def IsEqualUpTo(*args, **kwargs):
        """IsEqualUpTo(self, DateTime dt, TimeSpan ts) -> bool"""
        return _misc_.DateTime_IsEqualUpTo(*args, **kwargs)

    def AddTS(*args, **kwargs):
        """AddTS(self, TimeSpan diff) -> DateTime"""
        return _misc_.DateTime_AddTS(*args, **kwargs)

    def AddDS(*args, **kwargs):
        """AddDS(self, DateSpan diff) -> DateTime"""
        return _misc_.DateTime_AddDS(*args, **kwargs)

    def SubtractTS(*args, **kwargs):
        """SubtractTS(self, TimeSpan diff) -> DateTime"""
        return _misc_.DateTime_SubtractTS(*args, **kwargs)

    def SubtractDS(*args, **kwargs):
        """SubtractDS(self, DateSpan diff) -> DateTime"""
        return _misc_.DateTime_SubtractDS(*args, **kwargs)

    def Subtract(*args, **kwargs):
        """Subtract(self, DateTime dt) -> TimeSpan"""
        return _misc_.DateTime_Subtract(*args, **kwargs)

    def __iadd__(*args):
        """
        __iadd__(self, TimeSpan diff) -> DateTime
        __iadd__(self, DateSpan diff) -> DateTime
        """
        return _misc_.DateTime___iadd__(*args)

    def __isub__(*args):
        """
        __isub__(self, TimeSpan diff) -> DateTime
        __isub__(self, DateSpan diff) -> DateTime
        """
        return _misc_.DateTime___isub__(*args)

    def __add__(*args):
        """
        __add__(self, TimeSpan other) -> DateTime
        __add__(self, DateSpan other) -> DateTime
        """
        return _misc_.DateTime___add__(*args)

    def __sub__(*args):
        """
        __sub__(self, DateTime other) -> TimeSpan
        __sub__(self, TimeSpan other) -> DateTime
        __sub__(self, DateSpan other) -> DateTime
        """
        return _misc_.DateTime___sub__(*args)

    def __lt__(*args, **kwargs):
        """__lt__(self, DateTime other) -> bool"""
        return _misc_.DateTime___lt__(*args, **kwargs)

    def __le__(*args, **kwargs):
        """__le__(self, DateTime other) -> bool"""
        return _misc_.DateTime___le__(*args, **kwargs)

    def __gt__(*args, **kwargs):
        """__gt__(self, DateTime other) -> bool"""
        return _misc_.DateTime___gt__(*args, **kwargs)

    def __ge__(*args, **kwargs):
        """__ge__(self, DateTime other) -> bool"""
        return _misc_.DateTime___ge__(*args, **kwargs)

    def __eq__(*args, **kwargs):
        """__eq__(self, DateTime other) -> bool"""
        return _misc_.DateTime___eq__(*args, **kwargs)

    def __ne__(*args, **kwargs):
        """__ne__(self, DateTime other) -> bool"""
        return _misc_.DateTime___ne__(*args, **kwargs)

    def ParseRfc822Date(*args, **kwargs):
        """ParseRfc822Date(self, String date) -> bool"""
        return _misc_.DateTime_ParseRfc822Date(*args, **kwargs)

    def ParseFormat(*args, **kwargs):
        """ParseFormat(self, String date, String format=DefaultDateTimeFormat, DateTime dateDef=DefaultDateTime) -> bool"""
        return _misc_.DateTime_ParseFormat(*args, **kwargs)

    def ParseISODate(*args, **kwargs):
        """ParseISODate(self, String date) -> bool"""
        return _misc_.DateTime_ParseISODate(*args, **kwargs)

    def ParseISOTime(*args, **kwargs):
        """ParseISOTime(self, String time) -> bool"""
        return _misc_.DateTime_ParseISOTime(*args, **kwargs)

    def ParseISOCombined(*args, **kwargs):
        """ParseISOCombined(self, String datetime, char sep='T') -> bool"""
        return _misc_.DateTime_ParseISOCombined(*args, **kwargs)

    def ParseDateTime(*args, **kwargs):
        """ParseDateTime(self, String datetime) -> bool"""
        return _misc_.DateTime_ParseDateTime(*args, **kwargs)

    def ParseDate(*args, **kwargs):
        """ParseDate(self, String date) -> bool"""
        return _misc_.DateTime_ParseDate(*args, **kwargs)

    def ParseTime(*args, **kwargs):
        """ParseTime(self, String time) -> bool"""
        return _misc_.DateTime_ParseTime(*args, **kwargs)

    def Format(*args, **kwargs):
        """Format(self, String format=DefaultDateTimeFormat, wxDateTime::TimeZone tz=LOCAL_TZ) -> String"""
        return _misc_.DateTime_Format(*args, **kwargs)

    def FormatDate(*args, **kwargs):
        """FormatDate(self) -> String"""
        return _misc_.DateTime_FormatDate(*args, **kwargs)

    def FormatTime(*args, **kwargs):
        """FormatTime(self) -> String"""
        return _misc_.DateTime_FormatTime(*args, **kwargs)

    def FormatISODate(*args, **kwargs):
        """FormatISODate(self) -> String"""
        return _misc_.DateTime_FormatISODate(*args, **kwargs)

    def FormatISOTime(*args, **kwargs):
        """FormatISOTime(self) -> String"""
        return _misc_.DateTime_FormatISOTime(*args, **kwargs)

    def FormatISOCombined(*args, **kwargs):
        """FormatISOCombined(self, char sep='T') -> String"""
        return _misc_.DateTime_FormatISOCombined(*args, **kwargs)

    def __repr__(self):
        if self.IsValid():
            f = self.Format().encode(wx.GetDefaultPyEncoding())
            return '<wx.DateTime: \"%s\" at %s>' % ( f, self.this)
        else:
            return '<wx.DateTime: \"INVALID\" at %s>' % self.this
    def __str__(self):
        if self.IsValid():
            return self.Format().encode(wx.GetDefaultPyEncoding())
        else:
            return "INVALID DateTime"

    Day = property(GetDay,SetDay,doc="See `GetDay` and `SetDay`") 
    DayOfYear = property(GetDayOfYear,doc="See `GetDayOfYear`") 
    Hour = property(GetHour,SetHour,doc="See `GetHour` and `SetHour`") 
    JDN = property(GetJDN,SetJDN,doc="See `GetJDN` and `SetJDN`") 
    JulianDayNumber = property(GetJulianDayNumber,doc="See `GetJulianDayNumber`") 
    LastMonthDay = property(GetLastMonthDay,doc="See `GetLastMonthDay`") 
    LastWeekDay = property(GetLastWeekDay,doc="See `GetLastWeekDay`") 
    MJD = property(GetMJD,doc="See `GetMJD`") 
    Millisecond = property(GetMillisecond,SetMillisecond,doc="See `GetMillisecond` and `SetMillisecond`") 
    Minute = property(GetMinute,SetMinute,doc="See `GetMinute` and `SetMinute`") 
    ModifiedJulianDayNumber = property(GetModifiedJulianDayNumber,doc="See `GetModifiedJulianDayNumber`") 
    Month = property(GetMonth,SetMonth,doc="See `GetMonth` and `SetMonth`") 
    NextWeekDay = property(GetNextWeekDay,doc="See `GetNextWeekDay`") 
    PrevWeekDay = property(GetPrevWeekDay,doc="See `GetPrevWeekDay`") 
    RataDie = property(GetRataDie,doc="See `GetRataDie`") 
    Second = property(GetSecond,SetSecond,doc="See `GetSecond` and `SetSecond`") 
    Ticks = property(GetTicks,doc="See `GetTicks`") 
    WeekDay = property(GetWeekDay,doc="See `GetWeekDay`") 
    WeekDayInSameWeek = property(GetWeekDayInSameWeek,doc="See `GetWeekDayInSameWeek`") 
    WeekOfMonth = property(GetWeekOfMonth,doc="See `GetWeekOfMonth`") 
    WeekOfYear = property(GetWeekOfYear,doc="See `GetWeekOfYear`") 
    Year = property(GetYear,SetYear,doc="See `GetYear` and `SetYear`") 
    YearDay = property(GetYearDay,doc="See `GetYearDay`") 
_misc_.DateTime_swigregister(DateTime)
DefaultDateTimeFormat = cvar.DefaultDateTimeFormat
DefaultTimeSpanFormat = cvar.DefaultTimeSpanFormat

def DateTime_SetCountry(*args, **kwargs):
  """DateTime_SetCountry(int country)"""
  return _misc_.DateTime_SetCountry(*args, **kwargs)

def DateTime_GetCountry(*args):
  """DateTime_GetCountry() -> int"""
  return _misc_.DateTime_GetCountry(*args)

def DateTime_IsWestEuropeanCountry(*args, **kwargs):
  """DateTime_IsWestEuropeanCountry(int country=Country_Default) -> bool"""
  return _misc_.DateTime_IsWestEuropeanCountry(*args, **kwargs)

def DateTime_GetCurrentYear(*args, **kwargs):
  """DateTime_GetCurrentYear(int cal=Gregorian) -> int"""
  return _misc_.DateTime_GetCurrentYear(*args, **kwargs)

def DateTime_ConvertYearToBC(*args, **kwargs):
  """DateTime_ConvertYearToBC(int year) -> int"""
  return _misc_.DateTime_ConvertYearToBC(*args, **kwargs)

def DateTime_GetCurrentMonth(*args, **kwargs):
  """DateTime_GetCurrentMonth(int cal=Gregorian) -> int"""
  return _misc_.DateTime_GetCurrentMonth(*args, **kwargs)

def DateTime_IsLeapYear(*args, **kwargs):
  """DateTime_IsLeapYear(int year=Inv_Year, int cal=Gregorian) -> bool"""
  return _misc_.DateTime_IsLeapYear(*args, **kwargs)

def DateTime_GetCentury(*args, **kwargs):
  """DateTime_GetCentury(int year=Inv_Year) -> int"""
  return _misc_.DateTime_GetCentury(*args, **kwargs)

def DateTime_GetNumberOfDaysinYear(*args, **kwargs):
  """DateTime_GetNumberOfDaysinYear(int year, int cal=Gregorian) -> int"""
  return _misc_.DateTime_GetNumberOfDaysinYear(*args, **kwargs)

def DateTime_GetNumberOfDaysInMonth(*args, **kwargs):
  """DateTime_GetNumberOfDaysInMonth(int month, int year=Inv_Year, int cal=Gregorian) -> int"""
  return _misc_.DateTime_GetNumberOfDaysInMonth(*args, **kwargs)

def DateTime_GetMonthName(*args, **kwargs):
  """DateTime_GetMonthName(int month, int flags=Name_Full) -> String"""
  return _misc_.DateTime_GetMonthName(*args, **kwargs)

def DateTime_GetWeekDayName(*args, **kwargs):
  """DateTime_GetWeekDayName(int weekday, int flags=Name_Full) -> String"""
  return _misc_.DateTime_GetWeekDayName(*args, **kwargs)

def DateTime_GetEnglishMonthName(*args, **kwargs):
  """DateTime_GetEnglishMonthName(int month, int flags=Name_Full) -> String"""
  return _misc_.DateTime_GetEnglishMonthName(*args, **kwargs)

def DateTime_GetEnglishWeekDayName(*args, **kwargs):
  """DateTime_GetEnglishWeekDayName(int weekday, int flags=Name_Full) -> String"""
  return _misc_.DateTime_GetEnglishWeekDayName(*args, **kwargs)

def DateTime_GetAmPmStrings(*args):
  """
    GetAmPmStrings() -> (am, pm)

    Get the AM and PM strings in the current locale (may be empty)
    """
  return _misc_.DateTime_GetAmPmStrings(*args)

def DateTime_IsDSTApplicable(*args, **kwargs):
  """DateTime_IsDSTApplicable(int year=Inv_Year, int country=Country_Default) -> bool"""
  return _misc_.DateTime_IsDSTApplicable(*args, **kwargs)

def DateTime_GetBeginDST(*args, **kwargs):
  """DateTime_GetBeginDST(int year=Inv_Year, int country=Country_Default) -> DateTime"""
  return _misc_.DateTime_GetBeginDST(*args, **kwargs)

def DateTime_GetEndDST(*args, **kwargs):
  """DateTime_GetEndDST(int year=Inv_Year, int country=Country_Default) -> DateTime"""
  return _misc_.DateTime_GetEndDST(*args, **kwargs)

def DateTime_Now(*args):
  """DateTime_Now() -> DateTime"""
  return _misc_.DateTime_Now(*args)

def DateTime_UNow(*args):
  """DateTime_UNow() -> DateTime"""
  return _misc_.DateTime_UNow(*args)

def DateTime_Today(*args):
  """DateTime_Today() -> DateTime"""
  return _misc_.DateTime_Today(*args)

def DateTimeFromTimeT(*args, **kwargs):
    """DateTimeFromTimeT(time_t timet) -> DateTime"""
    val = _misc_.new_DateTimeFromTimeT(*args, **kwargs)
    return val

def DateTimeFromJDN(*args, **kwargs):
    """DateTimeFromJDN(double jdn) -> DateTime"""
    val = _misc_.new_DateTimeFromJDN(*args, **kwargs)
    return val

def DateTimeFromHMS(*args, **kwargs):
    """DateTimeFromHMS(int hour, int minute=0, int second=0, int millisec=0) -> DateTime"""
    val = _misc_.new_DateTimeFromHMS(*args, **kwargs)
    return val

def DateTimeFromDMY(*args, **kwargs):
    """
    DateTimeFromDMY(int day, int month=Inv_Month, int year=Inv_Year, int hour=0, 
        int minute=0, int second=0, int millisec=0) -> DateTime
    """
    val = _misc_.new_DateTimeFromDMY(*args, **kwargs)
    return val

def DateTimeFromDateTime(*args, **kwargs):
    """DateTimeFromDateTime(DateTime date) -> DateTime"""
    val = _misc_.new_DateTimeFromDateTime(*args, **kwargs)
    return val

def DateTime_SetToWeekOfYear(*args, **kwargs):
  """DateTime_SetToWeekOfYear(int year, int numWeek, int weekday=Mon) -> DateTime"""
  return _misc_.DateTime_SetToWeekOfYear(*args, **kwargs)

class TimeSpan(object):
    """Proxy of C++ TimeSpan class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def Milliseconds(*args, **kwargs):
        """Milliseconds(long ms) -> TimeSpan"""
        return _misc_.TimeSpan_Milliseconds(*args, **kwargs)

    Milliseconds = staticmethod(Milliseconds)
    def Millisecond(*args, **kwargs):
        """Millisecond() -> TimeSpan"""
        return _misc_.TimeSpan_Millisecond(*args, **kwargs)

    Millisecond = staticmethod(Millisecond)
    def Seconds(*args, **kwargs):
        """Seconds(long sec) -> TimeSpan"""
        return _misc_.TimeSpan_Seconds(*args, **kwargs)

    Seconds = staticmethod(Seconds)
    def Second(*args, **kwargs):
        """Second() -> TimeSpan"""
        return _misc_.TimeSpan_Second(*args, **kwargs)

    Second = staticmethod(Second)
    def Minutes(*args, **kwargs):
        """Minutes(long min) -> TimeSpan"""
        return _misc_.TimeSpan_Minutes(*args, **kwargs)

    Minutes = staticmethod(Minutes)
    def Minute(*args, **kwargs):
        """Minute() -> TimeSpan"""
        return _misc_.TimeSpan_Minute(*args, **kwargs)

    Minute = staticmethod(Minute)
    def Hours(*args, **kwargs):
        """Hours(long hours) -> TimeSpan"""
        return _misc_.TimeSpan_Hours(*args, **kwargs)

    Hours = staticmethod(Hours)
    def Hour(*args, **kwargs):
        """Hour() -> TimeSpan"""
        return _misc_.TimeSpan_Hour(*args, **kwargs)

    Hour = staticmethod(Hour)
    def Days(*args, **kwargs):
        """Days(long days) -> TimeSpan"""
        return _misc_.TimeSpan_Days(*args, **kwargs)

    Days = staticmethod(Days)
    def Day(*args, **kwargs):
        """Day() -> TimeSpan"""
        return _misc_.TimeSpan_Day(*args, **kwargs)

    Day = staticmethod(Day)
    def Weeks(*args, **kwargs):
        """Weeks(long days) -> TimeSpan"""
        return _misc_.TimeSpan_Weeks(*args, **kwargs)

    Weeks = staticmethod(Weeks)
    def Week(*args, **kwargs):
        """Week() -> TimeSpan"""
        return _misc_.TimeSpan_Week(*args, **kwargs)

    Week = staticmethod(Week)
    def __init__(self, *args, **kwargs): 
        """__init__(self, long hours=0, long minutes=0, long seconds=0, long milliseconds=0) -> TimeSpan"""
        _misc_.TimeSpan_swiginit(self,_misc_.new_TimeSpan(*args, **kwargs))
    __swig_destroy__ = _misc_.delete_TimeSpan
    __del__ = lambda self : None;
    def Add(*args, **kwargs):
        """Add(self, TimeSpan diff) -> TimeSpan"""
        return _misc_.TimeSpan_Add(*args, **kwargs)

    def Subtract(*args, **kwargs):
        """Subtract(self, TimeSpan diff) -> TimeSpan"""
        return _misc_.TimeSpan_Subtract(*args, **kwargs)

    def Multiply(*args, **kwargs):
        """Multiply(self, int n) -> TimeSpan"""
        return _misc_.TimeSpan_Multiply(*args, **kwargs)

    def Neg(*args, **kwargs):
        """Neg(self) -> TimeSpan"""
        return _misc_.TimeSpan_Neg(*args, **kwargs)

    def Abs(*args, **kwargs):
        """Abs(self) -> TimeSpan"""
        return _misc_.TimeSpan_Abs(*args, **kwargs)

    def __iadd__(*args, **kwargs):
        """__iadd__(self, TimeSpan diff) -> TimeSpan"""
        return _misc_.TimeSpan___iadd__(*args, **kwargs)

    def __isub__(*args, **kwargs):
        """__isub__(self, TimeSpan diff) -> TimeSpan"""
        return _misc_.TimeSpan___isub__(*args, **kwargs)

    def __imul__(*args, **kwargs):
        """__imul__(self, int n) -> TimeSpan"""
        return _misc_.TimeSpan___imul__(*args, **kwargs)

    def __neg__(*args, **kwargs):
        """__neg__(self) -> TimeSpan"""
        return _misc_.TimeSpan___neg__(*args, **kwargs)

    def __add__(*args, **kwargs):
        """__add__(self, TimeSpan other) -> TimeSpan"""
        return _misc_.TimeSpan___add__(*args, **kwargs)

    def __sub__(*args, **kwargs):
        """__sub__(self, TimeSpan other) -> TimeSpan"""
        return _misc_.TimeSpan___sub__(*args, **kwargs)

    def __mul__(*args, **kwargs):
        """__mul__(self, int n) -> TimeSpan"""
        return _misc_.TimeSpan___mul__(*args, **kwargs)

    def __rmul__(*args, **kwargs):
        """__rmul__(self, int n) -> TimeSpan"""
        return _misc_.TimeSpan___rmul__(*args, **kwargs)

    def __lt__(*args, **kwargs):
        """__lt__(self, TimeSpan other) -> bool"""
        return _misc_.TimeSpan___lt__(*args, **kwargs)

    def __le__(*args, **kwargs):
        """__le__(self, TimeSpan other) -> bool"""
        return _misc_.TimeSpan___le__(*args, **kwargs)

    def __gt__(*args, **kwargs):
        """__gt__(self, TimeSpan other) -> bool"""
        return _misc_.TimeSpan___gt__(*args, **kwargs)

    def __ge__(*args, **kwargs):
        """__ge__(self, TimeSpan other) -> bool"""
        return _misc_.TimeSpan___ge__(*args, **kwargs)

    def __eq__(*args, **kwargs):
        """__eq__(self, TimeSpan other) -> bool"""
        return _misc_.TimeSpan___eq__(*args, **kwargs)

    def __ne__(*args, **kwargs):
        """__ne__(self, TimeSpan other) -> bool"""
        return _misc_.TimeSpan___ne__(*args, **kwargs)

    def IsNull(*args, **kwargs):
        """IsNull(self) -> bool"""
        return _misc_.TimeSpan_IsNull(*args, **kwargs)

    def IsPositive(*args, **kwargs):
        """IsPositive(self) -> bool"""
        return _misc_.TimeSpan_IsPositive(*args, **kwargs)

    def IsNegative(*args, **kwargs):
        """IsNegative(self) -> bool"""
        return _misc_.TimeSpan_IsNegative(*args, **kwargs)

    def IsEqualTo(*args, **kwargs):
        """IsEqualTo(self, TimeSpan ts) -> bool"""
        return _misc_.TimeSpan_IsEqualTo(*args, **kwargs)

    def IsLongerThan(*args, **kwargs):
        """IsLongerThan(self, TimeSpan ts) -> bool"""
        return _misc_.TimeSpan_IsLongerThan(*args, **kwargs)

    def IsShorterThan(*args, **kwargs):
        """IsShorterThan(self, TimeSpan t) -> bool"""
        return _misc_.TimeSpan_IsShorterThan(*args, **kwargs)

    def GetWeeks(*args, **kwargs):
        """GetWeeks(self) -> int"""
        return _misc_.TimeSpan_GetWeeks(*args, **kwargs)

    def GetDays(*args, **kwargs):
        """GetDays(self) -> int"""
        return _misc_.TimeSpan_GetDays(*args, **kwargs)

    def GetHours(*args, **kwargs):
        """GetHours(self) -> int"""
        return _misc_.TimeSpan_GetHours(*args, **kwargs)

    def GetMinutes(*args, **kwargs):
        """GetMinutes(self) -> int"""
        return _misc_.TimeSpan_GetMinutes(*args, **kwargs)

    def GetSeconds(*args, **kwargs):
        """GetSeconds(self) -> wxLongLong"""
        return _misc_.TimeSpan_GetSeconds(*args, **kwargs)

    def GetMilliseconds(*args, **kwargs):
        """GetMilliseconds(self) -> wxLongLong"""
        return _misc_.TimeSpan_GetMilliseconds(*args, **kwargs)

    def Format(*args, **kwargs):
        """Format(self, String format=DefaultTimeSpanFormat) -> String"""
        return _misc_.TimeSpan_Format(*args, **kwargs)

    def __repr__(self):
        f = self.Format().encode(wx.GetDefaultPyEncoding())
        return '<wx.TimeSpan: \"%s\" at %s>' % ( f, self.this)
    def __str__(self):
        return self.Format().encode(wx.GetDefaultPyEncoding())

    days = property(GetDays,doc="See `GetDays`") 
    hours = property(GetHours,doc="See `GetHours`") 
    milliseconds = property(GetMilliseconds,doc="See `GetMilliseconds`") 
    minutes = property(GetMinutes,doc="See `GetMinutes`") 
    seconds = property(GetSeconds,doc="See `GetSeconds`") 
    weeks = property(GetWeeks,doc="See `GetWeeks`") 
_misc_.TimeSpan_swigregister(TimeSpan)

def TimeSpan_Milliseconds(*args, **kwargs):
  """TimeSpan_Milliseconds(long ms) -> TimeSpan"""
  return _misc_.TimeSpan_Milliseconds(*args, **kwargs)

def TimeSpan_Millisecond(*args):
  """TimeSpan_Millisecond() -> TimeSpan"""
  return _misc_.TimeSpan_Millisecond(*args)

def TimeSpan_Seconds(*args, **kwargs):
  """TimeSpan_Seconds(long sec) -> TimeSpan"""
  return _misc_.TimeSpan_Seconds(*args, **kwargs)

def TimeSpan_Second(*args):
  """TimeSpan_Second() -> TimeSpan"""
  return _misc_.TimeSpan_Second(*args)

def TimeSpan_Minutes(*args, **kwargs):
  """TimeSpan_Minutes(long min) -> TimeSpan"""
  return _misc_.TimeSpan_Minutes(*args, **kwargs)

def TimeSpan_Minute(*args):
  """TimeSpan_Minute() -> TimeSpan"""
  return _misc_.TimeSpan_Minute(*args)

def TimeSpan_Hours(*args, **kwargs):
  """TimeSpan_Hours(long hours) -> TimeSpan"""
  return _misc_.TimeSpan_Hours(*args, **kwargs)

def TimeSpan_Hour(*args):
  """TimeSpan_Hour() -> TimeSpan"""
  return _misc_.TimeSpan_Hour(*args)

def TimeSpan_Days(*args, **kwargs):
  """TimeSpan_Days(long days) -> TimeSpan"""
  return _misc_.TimeSpan_Days(*args, **kwargs)

def TimeSpan_Day(*args):
  """TimeSpan_Day() -> TimeSpan"""
  return _misc_.TimeSpan_Day(*args)

def TimeSpan_Weeks(*args, **kwargs):
  """TimeSpan_Weeks(long days) -> TimeSpan"""
  return _misc_.TimeSpan_Weeks(*args, **kwargs)

def TimeSpan_Week(*args):
  """TimeSpan_Week() -> TimeSpan"""
  return _misc_.TimeSpan_Week(*args)

class DateSpan(object):
    """Proxy of C++ DateSpan class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """__init__(self, int years=0, int months=0, int weeks=0, int days=0) -> DateSpan"""
        _misc_.DateSpan_swiginit(self,_misc_.new_DateSpan(*args, **kwargs))
    __swig_destroy__ = _misc_.delete_DateSpan
    __del__ = lambda self : None;
    def Days(*args, **kwargs):
        """Days(int days) -> DateSpan"""
        return _misc_.DateSpan_Days(*args, **kwargs)

    Days = staticmethod(Days)
    def Day(*args, **kwargs):
        """Day() -> DateSpan"""
        return _misc_.DateSpan_Day(*args, **kwargs)

    Day = staticmethod(Day)
    def Weeks(*args, **kwargs):
        """Weeks(int weeks) -> DateSpan"""
        return _misc_.DateSpan_Weeks(*args, **kwargs)

    Weeks = staticmethod(Weeks)
    def Week(*args, **kwargs):
        """Week() -> DateSpan"""
        return _misc_.DateSpan_Week(*args, **kwargs)

    Week = staticmethod(Week)
    def Months(*args, **kwargs):
        """Months(int mon) -> DateSpan"""
        return _misc_.DateSpan_Months(*args, **kwargs)

    Months = staticmethod(Months)
    def Month(*args, **kwargs):
        """Month() -> DateSpan"""
        return _misc_.DateSpan_Month(*args, **kwargs)

    Month = staticmethod(Month)
    def Years(*args, **kwargs):
        """Years(int years) -> DateSpan"""
        return _misc_.DateSpan_Years(*args, **kwargs)

    Years = staticmethod(Years)
    def Year(*args, **kwargs):
        """Year() -> DateSpan"""
        return _misc_.DateSpan_Year(*args, **kwargs)

    Year = staticmethod(Year)
    def SetYears(*args, **kwargs):
        """SetYears(self, int n) -> DateSpan"""
        return _misc_.DateSpan_SetYears(*args, **kwargs)

    def SetMonths(*args, **kwargs):
        """SetMonths(self, int n) -> DateSpan"""
        return _misc_.DateSpan_SetMonths(*args, **kwargs)

    def SetWeeks(*args, **kwargs):
        """SetWeeks(self, int n) -> DateSpan"""
        return _misc_.DateSpan_SetWeeks(*args, **kwargs)

    def SetDays(*args, **kwargs):
        """SetDays(self, int n) -> DateSpan"""
        return _misc_.DateSpan_SetDays(*args, **kwargs)

    def GetYears(*args, **kwargs):
        """GetYears(self) -> int"""
        return _misc_.DateSpan_GetYears(*args, **kwargs)

    def GetMonths(*args, **kwargs):
        """GetMonths(self) -> int"""
        return _misc_.DateSpan_GetMonths(*args, **kwargs)

    def GetWeeks(*args, **kwargs):
        """GetWeeks(self) -> int"""
        return _misc_.DateSpan_GetWeeks(*args, **kwargs)

    def GetDays(*args, **kwargs):
        """GetDays(self) -> int"""
        return _misc_.DateSpan_GetDays(*args, **kwargs)

    def GetTotalDays(*args, **kwargs):
        """GetTotalDays(self) -> int"""
        return _misc_.DateSpan_GetTotalDays(*args, **kwargs)

    def Add(*args, **kwargs):
        """Add(self, DateSpan other) -> DateSpan"""
        return _misc_.DateSpan_Add(*args, **kwargs)

    def Subtract(*args, **kwargs):
        """Subtract(self, DateSpan other) -> DateSpan"""
        return _misc_.DateSpan_Subtract(*args, **kwargs)

    def Neg(*args, **kwargs):
        """Neg(self) -> DateSpan"""
        return _misc_.DateSpan_Neg(*args, **kwargs)

    def Multiply(*args, **kwargs):
        """Multiply(self, int factor) -> DateSpan"""
        return _misc_.DateSpan_Multiply(*args, **kwargs)

    def __iadd__(*args, **kwargs):
        """__iadd__(self, DateSpan other) -> DateSpan"""
        return _misc_.DateSpan___iadd__(*args, **kwargs)

    def __isub__(*args, **kwargs):
        """__isub__(self, DateSpan other) -> DateSpan"""
        return _misc_.DateSpan___isub__(*args, **kwargs)

    def __neg__(*args, **kwargs):
        """__neg__(self) -> DateSpan"""
        return _misc_.DateSpan___neg__(*args, **kwargs)

    def __imul__(*args, **kwargs):
        """__imul__(self, int factor) -> DateSpan"""
        return _misc_.DateSpan___imul__(*args, **kwargs)

    def __add__(*args, **kwargs):
        """__add__(self, DateSpan other) -> DateSpan"""
        return _misc_.DateSpan___add__(*args, **kwargs)

    def __sub__(*args, **kwargs):
        """__sub__(self, DateSpan other) -> DateSpan"""
        return _misc_.DateSpan___sub__(*args, **kwargs)

    def __mul__(*args, **kwargs):
        """__mul__(self, int n) -> DateSpan"""
        return _misc_.DateSpan___mul__(*args, **kwargs)

    def __rmul__(*args, **kwargs):
        """__rmul__(self, int n) -> DateSpan"""
        return _misc_.DateSpan___rmul__(*args, **kwargs)

    def __eq__(*args, **kwargs):
        """__eq__(self, DateSpan other) -> bool"""
        return _misc_.DateSpan___eq__(*args, **kwargs)

    def __ne__(*args, **kwargs):
        """__ne__(self, DateSpan other) -> bool"""
        return _misc_.DateSpan___ne__(*args, **kwargs)

    days = property(GetDays,SetDays,doc="See `GetDays` and `SetDays`") 
    months = property(GetMonths,SetMonths,doc="See `GetMonths` and `SetMonths`") 
    totalDays = property(GetTotalDays,doc="See `GetTotalDays`") 
    weeks = property(GetWeeks,SetWeeks,doc="See `GetWeeks` and `SetWeeks`") 
    years = property(GetYears,SetYears,doc="See `GetYears` and `SetYears`") 
_misc_.DateSpan_swigregister(DateSpan)

def DateSpan_Days(*args, **kwargs):
  """DateSpan_Days(int days) -> DateSpan"""
  return _misc_.DateSpan_Days(*args, **kwargs)

def DateSpan_Day(*args):
  """DateSpan_Day() -> DateSpan"""
  return _misc_.DateSpan_Day(*args)

def DateSpan_Weeks(*args, **kwargs):
  """DateSpan_Weeks(int weeks) -> DateSpan"""
  return _misc_.DateSpan_Weeks(*args, **kwargs)

def DateSpan_Week(*args):
  """DateSpan_Week() -> DateSpan"""
  return _misc_.DateSpan_Week(*args)

def DateSpan_Months(*args, **kwargs):
  """DateSpan_Months(int mon) -> DateSpan"""
  return _misc_.DateSpan_Months(*args, **kwargs)

def DateSpan_Month(*args):
  """DateSpan_Month() -> DateSpan"""
  return _misc_.DateSpan_Month(*args)

def DateSpan_Years(*args, **kwargs):
  """DateSpan_Years(int years) -> DateSpan"""
  return _misc_.DateSpan_Years(*args, **kwargs)

def DateSpan_Year(*args):
  """DateSpan_Year() -> DateSpan"""
  return _misc_.DateSpan_Year(*args)


def GetLocalTime(*args):
  """GetLocalTime() -> long"""
  return _misc_.GetLocalTime(*args)

def GetUTCTime(*args):
  """GetUTCTime() -> long"""
  return _misc_.GetUTCTime(*args)

def GetCurrentTime(*args):
  """GetCurrentTime() -> long"""
  return _misc_.GetCurrentTime(*args)

def GetLocalTimeMillis(*args):
  """GetLocalTimeMillis() -> wxLongLong"""
  return _misc_.GetLocalTimeMillis(*args)
#---------------------------------------------------------------------------

DF_INVALID = _misc_.DF_INVALID
DF_TEXT = _misc_.DF_TEXT
DF_BITMAP = _misc_.DF_BITMAP
DF_METAFILE = _misc_.DF_METAFILE
DF_SYLK = _misc_.DF_SYLK
DF_DIF = _misc_.DF_DIF
DF_TIFF = _misc_.DF_TIFF
DF_OEMTEXT = _misc_.DF_OEMTEXT
DF_DIB = _misc_.DF_DIB
DF_PALETTE = _misc_.DF_PALETTE
DF_PENDATA = _misc_.DF_PENDATA
DF_RIFF = _misc_.DF_RIFF
DF_WAVE = _misc_.DF_WAVE
DF_UNICODETEXT = _misc_.DF_UNICODETEXT
DF_ENHMETAFILE = _misc_.DF_ENHMETAFILE
DF_FILENAME = _misc_.DF_FILENAME
DF_LOCALE = _misc_.DF_LOCALE
DF_PRIVATE = _misc_.DF_PRIVATE
DF_HTML = _misc_.DF_HTML
DF_MAX = _misc_.DF_MAX
class DataFormat(object):
    """
    A wx.DataFormat is an encapsulation of a platform-specific format
    handle which is used by the system for the clipboard and drag and drop
    operations. The applications are usually only interested in, for
    example, pasting data from the clipboard only if the data is in a
    format the program understands.  A data format is is used to uniquely
    identify this format.
    """
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """
        __init__(self, int type) -> DataFormat

        Constructs a data format object for one of the standard data formats
        or an empty data object (use SetType or SetId later in this case)
        """
        _misc_.DataFormat_swiginit(self,_misc_.new_DataFormat(*args, **kwargs))
    __swig_destroy__ = _misc_.delete_DataFormat
    __del__ = lambda self : None;
    def __eq__(*args):
        """
        __eq__(self, int format) -> bool
        __eq__(self, DataFormat format) -> bool
        """
        return _misc_.DataFormat___eq__(*args)

    def __ne__(*args):
        """
        __ne__(self, int format) -> bool
        __ne__(self, DataFormat format) -> bool
        """
        return _misc_.DataFormat___ne__(*args)

    def SetType(*args, **kwargs):
        """
        SetType(self, int format)

        Sets the format to the given value, which should be one of wx.DF_XXX
        constants.
        """
        return _misc_.DataFormat_SetType(*args, **kwargs)

    def GetType(*args, **kwargs):
        """
        GetType(self) -> int

        Returns the platform-specific number identifying the format.
        """
        return _misc_.DataFormat_GetType(*args, **kwargs)

    def _GetId(*args, **kwargs):
        """_GetId(self) -> String"""
        return _misc_.DataFormat__GetId(*args, **kwargs)

    def GetId(self):
        """Returns the name of a custom format (this function will fail for a
     format)."""
        nolog = wx.LogNull()
        return self._GetId()

    def SetId(*args, **kwargs):
        """
        SetId(self, String format)

        Sets the format to be the custom format identified by the given name.
        """
        return _misc_.DataFormat_SetId(*args, **kwargs)

    Id = property(GetId,SetId,doc="See `GetId` and `SetId`") 
    Type = property(GetType,SetType,doc="See `GetType` and `SetType`") 
_misc_.DataFormat_swigregister(DataFormat)
DefaultDateTime = cvar.DefaultDateTime

def CustomDataFormat(*args, **kwargs):
    """
    CustomDataFormat(String format) -> DataFormat

    Constructs a data format object for a custom format identified by its
    name.
    """
    val = _misc_.new_CustomDataFormat(*args, **kwargs)
    return val

class DataObject(object):
    """
    A wx.DataObject represents data that can be copied to or from the
    clipboard, or dragged and dropped. The important thing about
    wx.DataObject is that this is a 'smart' piece of data unlike usual
    'dumb' data containers such as memory buffers or files. Being 'smart'
    here means that the data object itself should know what data formats
    it supports and how to render itself in each of supported formats.

    **NOTE**: This class is an abstract base class and can not be used
    directly from Python.  If you need a custom type of data object then
    you should instead derive from `wx.PyDataObjectSimple` or use
    `wx.CustomDataObject`.

    """
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    def __init__(self): raise AttributeError, "No constructor defined"
    __repr__ = _swig_repr
    Get = _misc_.DataObject_Get
    Set = _misc_.DataObject_Set
    Both = _misc_.DataObject_Both
    __swig_destroy__ = _misc_.delete_DataObject
    __del__ = lambda self : None;
    def GetPreferredFormat(*args, **kwargs):
        """
        GetPreferredFormat(self, int dir=Get) -> DataFormat

        Returns the preferred format for either rendering the data (if dir is
        Get, its default value) or for setting it. Usually this will be the
        native format of the wx.DataObject.
        """
        return _misc_.DataObject_GetPreferredFormat(*args, **kwargs)

    def GetFormatCount(*args, **kwargs):
        """
        GetFormatCount(self, int dir=Get) -> size_t

        Returns the number of available formats for rendering or setting the
        data.
        """
        return _misc_.DataObject_GetFormatCount(*args, **kwargs)

    def IsSupported(*args, **kwargs):
        """
        IsSupported(self, DataFormat format, int dir=Get) -> bool

        Returns True if this format is supported.
        """
        return _misc_.DataObject_IsSupported(*args, **kwargs)

    def GetDataSize(*args, **kwargs):
        """
        GetDataSize(self, DataFormat format) -> size_t

        Get the (total) size of data for the given format
        """
        return _misc_.DataObject_GetDataSize(*args, **kwargs)

    def GetAllFormats(*args, **kwargs):
        """
        GetAllFormats(self, int dir=Get) -> [formats]

        Returns a list of all the wx.DataFormats that this dataobject supports
        in the given direction.
        """
        return _misc_.DataObject_GetAllFormats(*args, **kwargs)

    def GetDataHere(*args, **kwargs):
        """
        GetDataHere(self, DataFormat format) -> String

        Get the data bytes in the specified format, returns None on failure.
        """
        return _misc_.DataObject_GetDataHere(*args, **kwargs)

    def SetData(*args, **kwargs):
        """
        SetData(self, DataFormat format, String data) -> bool

        Set the data in the specified format from the bytes in the the data string.

        """
        return _misc_.DataObject_SetData(*args, **kwargs)

    AllFormats = property(GetAllFormats,doc="See `GetAllFormats`") 
    DataHere = property(GetDataHere,doc="See `GetDataHere`") 
    DataSize = property(GetDataSize,doc="See `GetDataSize`") 
    FormatCount = property(GetFormatCount,doc="See `GetFormatCount`") 
    PreferredFormat = property(GetPreferredFormat,doc="See `GetPreferredFormat`") 
_misc_.DataObject_swigregister(DataObject)
FormatInvalid = cvar.FormatInvalid

class DataObjectSimple(DataObject):
    """
    wx.DataObjectSimple is a `wx.DataObject` which only supports one
    format.  This is the simplest possible `wx.DataObject` implementation.

    This is still an "abstract base class" meaning that you can't use it
    directly.  You either need to use one of the predefined base classes,
    or derive your own class from `wx.PyDataObjectSimple`.

    """
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """
        __init__(self, DataFormat format=FormatInvalid) -> DataObjectSimple

        Constructor accepts the supported format (none by default) which may
        also be set later with `SetFormat`.
        """
        _misc_.DataObjectSimple_swiginit(self,_misc_.new_DataObjectSimple(*args, **kwargs))
    def GetFormat(*args, **kwargs):
        """
        GetFormat(self) -> DataFormat

        Returns the (one and only one) format supported by this object. It is
        assumed that the format is supported in both directions.
        """
        return _misc_.DataObjectSimple_GetFormat(*args, **kwargs)

    def SetFormat(*args, **kwargs):
        """
        SetFormat(self, DataFormat format)

        Sets the supported format.
        """
        return _misc_.DataObjectSimple_SetFormat(*args, **kwargs)

    def GetDataSize(*args, **kwargs):
        """
        GetDataSize(self) -> size_t

        Get the size of our data.
        """
        return _misc_.DataObjectSimple_GetDataSize(*args, **kwargs)

    def GetDataHere(*args, **kwargs):
        """
        GetDataHere(self) -> String

        Returns the data bytes from the data object as a string, returns None
        on failure.  Must be implemented in the derived class if the object
        supports rendering its data.
        """
        return _misc_.DataObjectSimple_GetDataHere(*args, **kwargs)

    def SetData(*args, **kwargs):
        """
        SetData(self, String data) -> bool

        Copy the data value to the data object.  Must be implemented in the
        derived class if the object supports setting its data.

        """
        return _misc_.DataObjectSimple_SetData(*args, **kwargs)

    Format = property(GetFormat,SetFormat,doc="See `GetFormat` and `SetFormat`") 
_misc_.DataObjectSimple_swigregister(DataObjectSimple)

class PyDataObjectSimple(DataObjectSimple):
    """
    wx.PyDataObjectSimple is a version of `wx.DataObjectSimple` that is
    Python-aware and knows how to reflect calls to its C++ virtual methods
    to methods in the Python derived class.  You should derive from this
    class and overload `GetDataSize`, `GetDataHere` and `SetData` when you
    need to create your own simple single-format type of `wx.DataObject`.

    """
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """
        __init__(self, DataFormat format=FormatInvalid) -> PyDataObjectSimple

        wx.PyDataObjectSimple is a version of `wx.DataObjectSimple` that is
        Python-aware and knows how to reflect calls to its C++ virtual methods
        to methods in the Python derived class.  You should derive from this
        class and overload `GetDataSize`, `GetDataHere` and `SetData` when you
        need to create your own simple single-format type of `wx.DataObject`.

        """
        _misc_.PyDataObjectSimple_swiginit(self,_misc_.new_PyDataObjectSimple(*args, **kwargs))
        PyDataObjectSimple._setCallbackInfo(self, self, PyDataObjectSimple)

    def _setCallbackInfo(*args, **kwargs):
        """_setCallbackInfo(self, PyObject self, PyObject _class)"""
        return _misc_.PyDataObjectSimple__setCallbackInfo(*args, **kwargs)

_misc_.PyDataObjectSimple_swigregister(PyDataObjectSimple)

class DataObjectComposite(DataObject):
    """
    wx.DataObjectComposite is the simplest `wx.DataObject` derivation
    which may be used to support multiple formats. It contains several
    'wx.DataObjectSimple` objects and supports any format supported by at
    least one of them. Only one of these data objects is *preferred* (the
    first one if not explicitly changed by using the second parameter of
    `Add`) and its format determines the preferred format of the composite
    data object as well.

    See `wx.DataObject` documentation for the reasons why you might prefer
    to use wx.DataObject directly instead of wx.DataObjectComposite for
    efficiency reasons.

    """
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """
        __init__(self) -> DataObjectComposite

        wx.DataObjectComposite is the simplest `wx.DataObject` derivation
        which may be used to support multiple formats. It contains several
        'wx.DataObjectSimple` objects and supports any format supported by at
        least one of them. Only one of these data objects is *preferred* (the
        first one if not explicitly changed by using the second parameter of
        `Add`) and its format determines the preferred format of the composite
        data object as well.

        See `wx.DataObject` documentation for the reasons why you might prefer
        to use wx.DataObject directly instead of wx.DataObjectComposite for
        efficiency reasons.

        """
        _misc_.DataObjectComposite_swiginit(self,_misc_.new_DataObjectComposite(*args, **kwargs))
    def Add(*args, **kwargs):
        """
        Add(self, DataObjectSimple dataObject, bool preferred=False)

        Adds the dataObject to the list of supported objects and it becomes
        the preferred object if preferred is True.
        """
        return _misc_.DataObjectComposite_Add(*args, **kwargs)

    def GetReceivedFormat(*args, **kwargs):
        """
        GetReceivedFormat(self) -> DataFormat

        Report the format passed to the `SetData` method.  This should be the
        format of the data object within the composite that recieved data from
        the clipboard or the DnD operation.  You can use this method to find
        out what kind of data object was recieved.
        """
        return _misc_.DataObjectComposite_GetReceivedFormat(*args, **kwargs)

    ReceivedFormat = property(GetReceivedFormat,doc="See `GetReceivedFormat`") 
    def GetObject(*args, **kwargs):
        """
        GetObject(self, DataFormat format, wxDataObjectBase::Direction dir=Get) -> DataObjectSimple

        Returns the pointer to the object which supports this format or None.
        TODO: Fix this to use OOR and return the right object type.
        """
        return _misc_.DataObjectComposite_GetObject(*args, **kwargs)

_misc_.DataObjectComposite_swigregister(DataObjectComposite)

class TextDataObject(DataObjectSimple):
    """
    wx.TextDataObject is a specialization of `wx.DataObject` for text
    data. It can be used without change to paste data into the `wx.Clipboard`
    or a `wx.DropSource`.

    Alternativly, you may wish to derive a new class from the
    `wx.PyTextDataObject` class for providing text on-demand in order to
    minimize memory consumption when offering data in several formats,
    such as plain text and RTF, because by default the text is stored in a
    string in this class, but it might as well be generated on demand when
    requested. For this, `GetTextLength` and `GetText` will have to be
    overridden.
    """
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """
        __init__(self, String text=EmptyString) -> TextDataObject

        Constructor, may be used to initialise the text (otherwise `SetText`
        should be used later).
        """
        _misc_.TextDataObject_swiginit(self,_misc_.new_TextDataObject(*args, **kwargs))
    def GetTextLength(*args, **kwargs):
        """
        GetTextLength(self) -> size_t

        Returns the data size.  By default, returns the size of the text data
        set in the constructor or using `SetText`.  This can be overridden (via
        `wx.PyTextDataObject`) to provide text size data on-demand. It is
        recommended to return the text length plus 1 for a trailing zero, but
        this is not strictly required.
        """
        return _misc_.TextDataObject_GetTextLength(*args, **kwargs)

    def GetText(*args, **kwargs):
        """
        GetText(self) -> String

        Returns the text associated with the data object.
        """
        return _misc_.TextDataObject_GetText(*args, **kwargs)

    def SetText(*args, **kwargs):
        """
        SetText(self, String text)

        Sets the text associated with the data object. This method is called
        when the data object receives the data and, by default, copies the
        text into the member variable. If you want to process the text on the
        fly you may wish to override this function (via
        `wx.PyTextDataObject`.)
        """
        return _misc_.TextDataObject_SetText(*args, **kwargs)

    Text = property(GetText,SetText,doc="See `GetText` and `SetText`") 
    TextLength = property(GetTextLength,doc="See `GetTextLength`") 
_misc_.TextDataObject_swigregister(TextDataObject)

class PyTextDataObject(TextDataObject):
    """
    wx.PyTextDataObject is a version of `wx.TextDataObject` that is
    Python-aware and knows how to reflect calls to its C++ virtual methods
    to methods in the Python derived class.  You should derive from this
    class and overload `GetTextLength`, `GetText`, and `SetText` when you
    want to be able to provide text on demand instead of preloading it
    into the data object.
    """
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """
        __init__(self, String text=EmptyString) -> PyTextDataObject

        wx.PyTextDataObject is a version of `wx.TextDataObject` that is
        Python-aware and knows how to reflect calls to its C++ virtual methods
        to methods in the Python derived class.  You should derive from this
        class and overload `GetTextLength`, `GetText`, and `SetText` when you
        want to be able to provide text on demand instead of preloading it
        into the data object.
        """
        _misc_.PyTextDataObject_swiginit(self,_misc_.new_PyTextDataObject(*args, **kwargs))
        PyTextDataObject._setCallbackInfo(self, self, PyTextDataObject)

    def _setCallbackInfo(*args, **kwargs):
        """_setCallbackInfo(self, PyObject self, PyObject _class)"""
        return _misc_.PyTextDataObject__setCallbackInfo(*args, **kwargs)

_misc_.PyTextDataObject_swigregister(PyTextDataObject)

class BitmapDataObject(DataObjectSimple):
    """
    wx.BitmapDataObject is a specialization of wxDataObject for bitmap
    data. It can be used without change to paste data into the `wx.Clipboard`
    or a `wx.DropSource`.

    """
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """
        __init__(self, Bitmap bitmap=wxNullBitmap) -> BitmapDataObject

        Constructor, optionally passing a bitmap (otherwise use `SetBitmap`
        later).
        """
        _misc_.BitmapDataObject_swiginit(self,_misc_.new_BitmapDataObject(*args, **kwargs))
    def GetBitmap(*args, **kwargs):
        """
        GetBitmap(self) -> Bitmap

        Returns the bitmap associated with the data object.  You may wish to
        override this method (by deriving from `wx.PyBitmapDataObject`) when
        offering data on-demand, but this is not required by wxWidgets'
        internals. Use this method to get data in bitmap form from the
        `wx.Clipboard`.
        """
        return _misc_.BitmapDataObject_GetBitmap(*args, **kwargs)

    def SetBitmap(*args, **kwargs):
        """
        SetBitmap(self, Bitmap bitmap)

        Sets the bitmap associated with the data object. This method is called
        when the data object receives data. Usually there will be no reason to
        override this function.
        """
        return _misc_.BitmapDataObject_SetBitmap(*args, **kwargs)

    Bitmap = property(GetBitmap,SetBitmap,doc="See `GetBitmap` and `SetBitmap`") 
_misc_.BitmapDataObject_swigregister(BitmapDataObject)

class PyBitmapDataObject(BitmapDataObject):
    """
    wx.PyBitmapDataObject is a version of `wx.BitmapDataObject` that is
    Python-aware and knows how to reflect calls to its C++ virtual methods
    to methods in the Python derived class. To be able to provide bitmap
    data on demand derive from this class and overload `GetBitmap`.
    """
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """
        __init__(self, Bitmap bitmap=wxNullBitmap) -> PyBitmapDataObject

        wx.PyBitmapDataObject is a version of `wx.BitmapDataObject` that is
        Python-aware and knows how to reflect calls to its C++ virtual methods
        to methods in the Python derived class. To be able to provide bitmap
        data on demand derive from this class and overload `GetBitmap`.
        """
        _misc_.PyBitmapDataObject_swiginit(self,_misc_.new_PyBitmapDataObject(*args, **kwargs))
        PyBitmapDataObject._setCallbackInfo(self, self, PyBitmapDataObject)

    def _setCallbackInfo(*args, **kwargs):
        """_setCallbackInfo(self, PyObject self, PyObject _class)"""
        return _misc_.PyBitmapDataObject__setCallbackInfo(*args, **kwargs)

_misc_.PyBitmapDataObject_swigregister(PyBitmapDataObject)

class FileDataObject(DataObjectSimple):
    """
    wx.FileDataObject is a specialization of `wx.DataObjectSimple` for
    file names. The program works with it just as if it were a list of
    absolute file names, but internally it uses the same format as
    Explorer and other compatible programs under Windows or GNOME/KDE
    filemanager under Unix which makes it possible to receive files from
    them using this class.
    """
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """__init__(self) -> FileDataObject"""
        _misc_.FileDataObject_swiginit(self,_misc_.new_FileDataObject(*args, **kwargs))
    def GetFilenames(*args, **kwargs):
        """
        GetFilenames(self) -> [names]

        Returns a list of file names.
        """
        return _misc_.FileDataObject_GetFilenames(*args, **kwargs)

    def AddFile(*args, **kwargs):
        """
        AddFile(self, String filename)

        Adds a file to the list of files represented by this data object.
        """
        return _misc_.FileDataObject_AddFile(*args, **kwargs)

    Filenames = property(GetFilenames,doc="See `GetFilenames`") 
_misc_.FileDataObject_swigregister(FileDataObject)

class CustomDataObject(DataObjectSimple):
    """
    wx.CustomDataObject is a specialization of `wx.DataObjectSimple` for
    some application-specific data in arbitrary format.  Python strings
    are used for getting and setting data, but any picklable object can
    easily be transfered via strings.  A copy of the data is stored in the
    data object.
    """
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """
        __init__(self, DataFormat format) -> CustomDataObject
        __init__(self, String formatName) -> CustomDataObject
        __init__(self) -> CustomDataObject

        wx.CustomDataObject is a specialization of `wx.DataObjectSimple` for
        some application-specific data in arbitrary format.  Python strings
        are used for getting and setting data, but any picklable object can
        easily be transfered via strings.  A copy of the data is stored in the
        data object.
        """
        _misc_.CustomDataObject_swiginit(self,_misc_.new_CustomDataObject(*args))
    def SetData(*args, **kwargs):
        """
        SetData(self, String data) -> bool

        Copy the data value to the data object.
        """
        return _misc_.CustomDataObject_SetData(*args, **kwargs)

    TakeData = SetData 
    def GetSize(*args, **kwargs):
        """
        GetSize(self) -> size_t

        Get the size of the data.
        """
        return _misc_.CustomDataObject_GetSize(*args, **kwargs)

    def GetData(*args, **kwargs):
        """
        GetData(self) -> String

        Returns the data bytes from the data object as a string.
        """
        return _misc_.CustomDataObject_GetData(*args, **kwargs)

    Data = property(GetData,SetData,doc="See `GetData` and `SetData`") 
    Size = property(GetSize,doc="See `GetSize`") 
_misc_.CustomDataObject_swigregister(CustomDataObject)

class URLDataObject(DataObject):
    """
    This data object holds a URL in a format that is compatible with some
    browsers such that it is able to be dragged to or from them.
    """
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """
        __init__(self, String url=EmptyString) -> URLDataObject

        This data object holds a URL in a format that is compatible with some
        browsers such that it is able to be dragged to or from them.
        """
        _misc_.URLDataObject_swiginit(self,_misc_.new_URLDataObject(*args, **kwargs))
    def GetURL(*args, **kwargs):
        """
        GetURL(self) -> String

        Returns a string containing the current URL.
        """
        return _misc_.URLDataObject_GetURL(*args, **kwargs)

    def SetURL(*args, **kwargs):
        """
        SetURL(self, String url)

        Set the URL.
        """
        return _misc_.URLDataObject_SetURL(*args, **kwargs)

    URL = property(GetURL,SetURL,doc="See `GetURL` and `SetURL`") 
_misc_.URLDataObject_swigregister(URLDataObject)

class MetafileDataObject(DataObjectSimple):
    """Proxy of C++ MetafileDataObject class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """__init__(self) -> MetafileDataObject"""
        _misc_.MetafileDataObject_swiginit(self,_misc_.new_MetafileDataObject(*args, **kwargs))
    def SetMetafile(*args, **kwargs):
        """SetMetafile(self, MetaFile metafile)"""
        return _misc_.MetafileDataObject_SetMetafile(*args, **kwargs)

    def GetMetafile(*args, **kwargs):
        """GetMetafile(self) -> MetaFile"""
        return _misc_.MetafileDataObject_GetMetafile(*args, **kwargs)

_misc_.MetafileDataObject_swigregister(MetafileDataObject)

#---------------------------------------------------------------------------

Drag_CopyOnly = _misc_.Drag_CopyOnly
Drag_AllowMove = _misc_.Drag_AllowMove
Drag_DefaultMove = _misc_.Drag_DefaultMove
DragError = _misc_.DragError
DragNone = _misc_.DragNone
DragCopy = _misc_.DragCopy
DragMove = _misc_.DragMove
DragLink = _misc_.DragLink
DragCancel = _misc_.DragCancel

def IsDragResultOk(*args, **kwargs):
  """IsDragResultOk(int res) -> bool"""
  return _misc_.IsDragResultOk(*args, **kwargs)
class DropSource(object):
    """Proxy of C++ DropSource class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """
        __init__(self, Window win, Cursor copy=wxNullCursor, Cursor move=wxNullCursor, 
            Cursor none=wxNullCursor) -> DropSource
        """
        _misc_.DropSource_swiginit(self,_misc_.new_DropSource(*args, **kwargs))
        DropSource._setCallbackInfo(self, self, DropSource)

    def _setCallbackInfo(*args, **kwargs):
        """_setCallbackInfo(self, PyObject self, PyObject _class, int incref=0)"""
        return _misc_.DropSource__setCallbackInfo(*args, **kwargs)

    __swig_destroy__ = _misc_.delete_DropSource
    __del__ = lambda self : None;
    def SetData(*args, **kwargs):
        """SetData(self, DataObject data)"""
        return _misc_.DropSource_SetData(*args, **kwargs)

    def GetDataObject(*args, **kwargs):
        """GetDataObject(self) -> DataObject"""
        return _misc_.DropSource_GetDataObject(*args, **kwargs)

    def SetCursor(*args, **kwargs):
        """SetCursor(self, int res, Cursor cursor)"""
        return _misc_.DropSource_SetCursor(*args, **kwargs)

    def DoDragDrop(*args, **kwargs):
        """DoDragDrop(self, int flags=Drag_CopyOnly) -> int"""
        return _misc_.DropSource_DoDragDrop(*args, **kwargs)

    def GiveFeedback(*args, **kwargs):
        """GiveFeedback(self, int effect) -> bool"""
        return _misc_.DropSource_GiveFeedback(*args, **kwargs)

    def base_GiveFeedback(*args, **kw):
        return DropSource.GiveFeedback(*args, **kw)
    base_GiveFeedback = wx.deprecated(base_GiveFeedback,
                                   "Please use DropSource.GiveFeedback instead.")

    DataObject = property(GetDataObject,SetData,doc="See `GetDataObject` and `SetData`") 
_misc_.DropSource_swigregister(DropSource)

def DROP_ICON(filename):
    """
    Returns either a `wx.Cursor` or `wx.Icon` created from the image file
    ``filename``.  This function is useful with the `wx.DropSource` class
    which, depending on platform accepts either a icon or a cursor.
    """
    img = wx.Image(filename)
    if wx.Platform == '__WXGTK__':
        return wx.IconFromBitmap(wx.BitmapFromImage(img))
    else:
        return wx.CursorFromImage(img)

class DropTarget(object):
    """Proxy of C++ DropTarget class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """__init__(self, DataObject dataObject=None) -> DropTarget"""
        _misc_.DropTarget_swiginit(self,_misc_.new_DropTarget(*args, **kwargs))
        DropTarget._setCallbackInfo(self, self, DropTarget)

    def _setCallbackInfo(*args, **kwargs):
        """_setCallbackInfo(self, PyObject self, PyObject _class)"""
        return _misc_.DropTarget__setCallbackInfo(*args, **kwargs)

    __swig_destroy__ = _misc_.delete_DropTarget
    __del__ = lambda self : None;
    def GetDataObject(*args, **kwargs):
        """GetDataObject(self) -> DataObject"""
        return _misc_.DropTarget_GetDataObject(*args, **kwargs)

    def SetDataObject(*args, **kwargs):
        """SetDataObject(self, DataObject dataObject)"""
        return _misc_.DropTarget_SetDataObject(*args, **kwargs)

    def OnEnter(*args, **kwargs):
        """OnEnter(self, int x, int y, int def) -> int"""
        return _misc_.DropTarget_OnEnter(*args, **kwargs)

    def OnDragOver(*args, **kwargs):
        """OnDragOver(self, int x, int y, int def) -> int"""
        return _misc_.DropTarget_OnDragOver(*args, **kwargs)

    def OnLeave(*args, **kwargs):
        """OnLeave(self)"""
        return _misc_.DropTarget_OnLeave(*args, **kwargs)

    def OnDrop(*args, **kwargs):
        """OnDrop(self, int x, int y) -> bool"""
        return _misc_.DropTarget_OnDrop(*args, **kwargs)

    def base_OnEnter(*args, **kw):
        return DropTarget.OnEnter(*args, **kw)
    base_OnEnter = wx.deprecated(base_OnEnter,
                                   "Please use DropTarget.OnEnter instead.")

    def base_OnDragOver(*args, **kw):
        return DropTarget.OnDragOver(*args, **kw)
    base_OnDragOver = wx.deprecated(base_OnDragOver,
                                   "Please use DropTarget.OnDragOver instead.")

    def base_OnLeave(*args, **kw):
        return DropTarget.OnLeave(*args, **kw)
    base_OnLeave = wx.deprecated(base_OnLeave,
                                   "Please use DropTarget.OnLeave instead.")

    def base_OnDrop(*args, **kw):
        return DropTarget.OnDrop(*args, **kw)
    base_OnDrop = wx.deprecated(base_OnDrop,
                                   "Please use DropTarget.OnDrop instead.")

    def GetData(*args, **kwargs):
        """GetData(self) -> bool"""
        return _misc_.DropTarget_GetData(*args, **kwargs)

    def SetDefaultAction(*args, **kwargs):
        """SetDefaultAction(self, int action)"""
        return _misc_.DropTarget_SetDefaultAction(*args, **kwargs)

    def GetDefaultAction(*args, **kwargs):
        """GetDefaultAction(self) -> int"""
        return _misc_.DropTarget_GetDefaultAction(*args, **kwargs)

    DataObject = property(GetDataObject,SetDataObject,doc="See `GetDataObject` and `SetDataObject`") 
    DefaultAction = property(GetDefaultAction,SetDefaultAction,doc="See `GetDefaultAction` and `SetDefaultAction`") 
_misc_.DropTarget_swigregister(DropTarget)

PyDropTarget = DropTarget 
class TextDropTarget(DropTarget):
    """Proxy of C++ TextDropTarget class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """__init__(self) -> TextDropTarget"""
        _misc_.TextDropTarget_swiginit(self,_misc_.new_TextDropTarget(*args, **kwargs))
        TextDropTarget._setCallbackInfo(self, self, TextDropTarget)

    def _setCallbackInfo(*args, **kwargs):
        """_setCallbackInfo(self, PyObject self, PyObject _class)"""
        return _misc_.TextDropTarget__setCallbackInfo(*args, **kwargs)

    def OnDropText(*args, **kwargs):
        """OnDropText(self, int x, int y, String text) -> bool"""
        return _misc_.TextDropTarget_OnDropText(*args, **kwargs)

    def OnEnter(*args, **kwargs):
        """OnEnter(self, int x, int y, int def) -> int"""
        return _misc_.TextDropTarget_OnEnter(*args, **kwargs)

    def OnDragOver(*args, **kwargs):
        """OnDragOver(self, int x, int y, int def) -> int"""
        return _misc_.TextDropTarget_OnDragOver(*args, **kwargs)

    def OnLeave(*args, **kwargs):
        """OnLeave(self)"""
        return _misc_.TextDropTarget_OnLeave(*args, **kwargs)

    def OnDrop(*args, **kwargs):
        """OnDrop(self, int x, int y) -> bool"""
        return _misc_.TextDropTarget_OnDrop(*args, **kwargs)

    def OnData(*args, **kwargs):
        """OnData(self, int x, int y, int def) -> int"""
        return _misc_.TextDropTarget_OnData(*args, **kwargs)

    def base_OnDropText(*args, **kw):
        return TextDropTarget.OnDropText(*args, **kw)
    base_OnDropText = wx.deprecated(base_OnDropText,
                                   "Please use TextDropTarget.OnDropText instead.")

    def base_OnEnter(*args, **kw):
        return TextDropTarget.OnEnter(*args, **kw)
    base_OnEnter = wx.deprecated(base_OnEnter,
                                   "Please use TextDropTarget.OnEnter instead.")

    def base_OnDragOver(*args, **kw):
        return TextDropTarget.OnDragOver(*args, **kw)
    base_OnDragOver = wx.deprecated(base_OnDragOver,
                                   "Please use TextDropTarget.OnDragOver instead.")

    def base_OnLeave(*args, **kw):
        return TextDropTarget.OnLeave(*args, **kw)
    base_OnLeave = wx.deprecated(base_OnLeave,
                                   "Please use TextDropTarget.OnLeave instead.")

    def base_OnDrop(*args, **kw):
        return TextDropTarget.OnDrop(*args, **kw)
    base_OnDrop = wx.deprecated(base_OnDrop,
                                   "Please use TextDropTarget.OnDrop instead.")

    def base_OnData(*args, **kw):
        return TextDropTarget.OnData(*args, **kw)
    base_OnData = wx.deprecated(base_OnData,
                                   "Please use TextDropTarget.OnData instead.")

_misc_.TextDropTarget_swigregister(TextDropTarget)

class FileDropTarget(DropTarget):
    """Proxy of C++ FileDropTarget class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """__init__(self) -> FileDropTarget"""
        _misc_.FileDropTarget_swiginit(self,_misc_.new_FileDropTarget(*args, **kwargs))
        FileDropTarget._setCallbackInfo(self, self, FileDropTarget)

    def _setCallbackInfo(*args, **kwargs):
        """_setCallbackInfo(self, PyObject self, PyObject _class)"""
        return _misc_.FileDropTarget__setCallbackInfo(*args, **kwargs)

    def OnDropFiles(*args, **kwargs):
        """OnDropFiles(self, int x, int y, wxArrayString filenames) -> bool"""
        return _misc_.FileDropTarget_OnDropFiles(*args, **kwargs)

    def OnEnter(*args, **kwargs):
        """OnEnter(self, int x, int y, int def) -> int"""
        return _misc_.FileDropTarget_OnEnter(*args, **kwargs)

    def OnDragOver(*args, **kwargs):
        """OnDragOver(self, int x, int y, int def) -> int"""
        return _misc_.FileDropTarget_OnDragOver(*args, **kwargs)

    def OnLeave(*args, **kwargs):
        """OnLeave(self)"""
        return _misc_.FileDropTarget_OnLeave(*args, **kwargs)

    def OnDrop(*args, **kwargs):
        """OnDrop(self, int x, int y) -> bool"""
        return _misc_.FileDropTarget_OnDrop(*args, **kwargs)

    def OnData(*args, **kwargs):
        """OnData(self, int x, int y, int def) -> int"""
        return _misc_.FileDropTarget_OnData(*args, **kwargs)

    def base_OnDropFiles(*args, **kw):
        return FileDropTarget.OnDropFiles(*args, **kw)
    base_OnDropFiles = wx.deprecated(base_OnDropFiles,
                                   "Please use FileDropTarget.OnDropFiles instead.")

    def base_OnEnter(*args, **kw):
        return FileDropTarget.OnEnter(*args, **kw)
    base_OnEnter = wx.deprecated(base_OnEnter,
                                   "Please use FileDropTarget.OnEnter instead.")

    def base_OnDragOver(*args, **kw):
        return FileDropTarget.OnDragOver(*args, **kw)
    base_OnDragOver = wx.deprecated(base_OnDragOver,
                                   "Please use FileDropTarget.OnDragOver instead.")

    def base_OnLeave(*args, **kw):
        return FileDropTarget.OnLeave(*args, **kw)
    base_OnLeave = wx.deprecated(base_OnLeave,
                                   "Please use FileDropTarget.OnLeave instead.")

    def base_OnDrop(*args, **kw):
        return FileDropTarget.OnDrop(*args, **kw)
    base_OnDrop = wx.deprecated(base_OnDrop,
                                   "Please use FileDropTarget.OnDrop instead.")

    def base_OnData(*args, **kw):
        return FileDropTarget.OnData(*args, **kw)
    base_OnData = wx.deprecated(base_OnData,
                                   "Please use FileDropTarget.OnData instead.")

_misc_.FileDropTarget_swigregister(FileDropTarget)

#---------------------------------------------------------------------------

class Clipboard(_core.Object):
    """
    wx.Clipboard represents the system clipboard and provides methods to
    copy data to it or paste data from it.  Normally, you should only use
    ``wx.TheClipboard`` which is a reference to a global wx.Clipboard
    instance.

    Call ``wx.TheClipboard``'s `Open` method to get ownership of the
    clipboard. If this operation returns True, you now own the
    clipboard. Call `SetData` to put data on the clipboard, or `GetData`
    to retrieve data from the clipboard.  Call `Close` to close the
    clipboard and relinquish ownership. You should keep the clipboard open
    only momentarily.

    :see: `wx.DataObject`

    """
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """__init__(self) -> Clipboard"""
        _misc_.Clipboard_swiginit(self,_misc_.new_Clipboard(*args, **kwargs))
    __swig_destroy__ = _misc_.delete_Clipboard
    __del__ = lambda self : None;
    def Open(*args, **kwargs):
        """
        Open(self) -> bool

        Call this function to open the clipboard before calling SetData and
        GetData.  Call Close when you have finished with the clipboard.  You
        should keep the clipboard open for only a very short time.  Returns
        True on success.
        """
        return _misc_.Clipboard_Open(*args, **kwargs)

    def Close(*args, **kwargs):
        """
        Close(self)

        Closes the clipboard.
        """
        return _misc_.Clipboard_Close(*args, **kwargs)

    def IsOpened(*args, **kwargs):
        """
        IsOpened(self) -> bool

        Query whether the clipboard is opened
        """
        return _misc_.Clipboard_IsOpened(*args, **kwargs)

    def AddData(*args, **kwargs):
        """
        AddData(self, DataObject data) -> bool

        Call this function to add the data object to the clipboard. You may
        call this function repeatedly after having cleared the clipboard.
        After this function has been called, the clipboard owns the data, so
        do not delete the data explicitly.

        :see: `wx.DataObject`
        """
        return _misc_.Clipboard_AddData(*args, **kwargs)

    def SetData(*args, **kwargs):
        """
        SetData(self, DataObject data) -> bool

        Set the clipboard data, this is the same as `Clear` followed by
        `AddData`.

        :see: `wx.DataObject`
        """
        return _misc_.Clipboard_SetData(*args, **kwargs)

    def IsSupported(*args, **kwargs):
        """
        IsSupported(self, DataFormat format) -> bool

        Returns True if the given format is available in the data object(s) on
        the clipboard.
        """
        return _misc_.Clipboard_IsSupported(*args, **kwargs)

    def IsSupportedAsync(*args, **kwargs):
        """IsSupportedAsync(self, EvtHandler sink) -> bool"""
        return _misc_.Clipboard_IsSupportedAsync(*args, **kwargs)

    def GetData(*args, **kwargs):
        """
        GetData(self, DataObject data) -> bool

        Call this function to fill data with data on the clipboard, if
        available in the required format. Returns true on success.
        """
        return _misc_.Clipboard_GetData(*args, **kwargs)

    def Clear(*args, **kwargs):
        """
        Clear(self)

        Clears data from the clipboard object and also the system's clipboard
        if possible.
        """
        return _misc_.Clipboard_Clear(*args, **kwargs)

    def Flush(*args, **kwargs):
        """
        Flush(self) -> bool

        Flushes the clipboard: this means that the data which is currently on
        clipboard will stay available even after the application exits,
        possibly eating memory, otherwise the clipboard will be emptied on
        exit.  Returns False if the operation is unsuccesful for any reason.
        """
        return _misc_.Clipboard_Flush(*args, **kwargs)

    def UsePrimarySelection(*args, **kwargs):
        """
        UsePrimarySelection(self, bool primary=True)

        On platforms supporting it (the X11 based platforms), selects the so
        called PRIMARY SELECTION as the clipboard as opposed to the normal
        clipboard, if primary is True.  On other platforms all clipboard
        operations fail when using the primary selection.  This allows code
        supporting the primary selection to be written without ill effects on
        the other platforms.
        """
        return _misc_.Clipboard_UsePrimarySelection(*args, **kwargs)

    def IsUsingPrimarySelection(*args, **kwargs):
        """
        IsUsingPrimarySelection(self) -> bool

        Return true if we're using primary selection
        """
        return _misc_.Clipboard_IsUsingPrimarySelection(*args, **kwargs)

    def Get(*args, **kwargs):
        """
        Get() -> Clipboard

        Returns global instance (wxTheClipboard) of the object.
        """
        return _misc_.Clipboard_Get(*args, **kwargs)

    Get = staticmethod(Get)
    def __enter__(self):
        return self
    def __exit__(self, exc_type, exc_val, exc_tb):
        self.Close()

_misc_.Clipboard_swigregister(Clipboard)

def Clipboard_Get(*args):
  """
    Clipboard_Get() -> Clipboard

    Returns global instance (wxTheClipboard) of the object.
    """
  return _misc_.Clipboard_Get(*args)

class _wxPyDelayedInitWrapper(object):
    def __init__(self, initfunc, *args, **kwargs):
        self._initfunc = initfunc
        self._args = args
        self._kwargs = kwargs
        self._instance = None
    def _checkInstance(self):
        if self._instance is None:
            if wx.GetApp():
                self._instance = self._initfunc(*self._args, **self._kwargs)        
    def __getattr__(self, name):
        self._checkInstance()
        return getattr(self._instance, name)
    def __repr__(self):
        self._checkInstance()
        return repr(self._instance)
TheClipboard = _wxPyDelayedInitWrapper(Clipboard.Get)

class ClipboardLocker(object):
    """
    A helpful class for opening the clipboard and automatically
    closing it when the locker is destroyed.
    """
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """
        __init__(self, Clipboard clipboard=None) -> ClipboardLocker

        A helpful class for opening the clipboard and automatically
        closing it when the locker is destroyed.
        """
        _misc_.ClipboardLocker_swiginit(self,_misc_.new_ClipboardLocker(*args, **kwargs))
    __swig_destroy__ = _misc_.delete_ClipboardLocker
    __del__ = lambda self : None;
    def __nonzero__(*args, **kwargs):
        """
        __nonzero__(self) -> bool

        A ClipboardLocker instance evaluates to True if the clipboard was
        successfully opened.
        """
        return _misc_.ClipboardLocker___nonzero__(*args, **kwargs)

_misc_.ClipboardLocker_swigregister(ClipboardLocker)

class ClipboardEvent(_core.Event):
    """Proxy of C++ ClipboardEvent class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """__init__(self, EventType evtType=wxEVT_NULL) -> ClipboardEvent"""
        _misc_.ClipboardEvent_swiginit(self,_misc_.new_ClipboardEvent(*args, **kwargs))
    def SupportsFormat(*args, **kwargs):
        """SupportsFormat(self, DataFormat format) -> bool"""
        return _misc_.ClipboardEvent_SupportsFormat(*args, **kwargs)

    def AddFormat(*args, **kwargs):
        """AddFormat(self, DataFormat format)"""
        return _misc_.ClipboardEvent_AddFormat(*args, **kwargs)

_misc_.ClipboardEvent_swigregister(ClipboardEvent)

wxEVT_CLIPBOARD_CHANGED = _misc_.wxEVT_CLIPBOARD_CHANGED
EVT_CLIPBOARD_CHANGED = wx.PyEventBinder( wxEVT_CLIPBOARD_CHANGED )

#---------------------------------------------------------------------------

class VideoMode(object):
    """A simple struct containing video mode parameters for a display"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """
        __init__(self, int width=0, int height=0, int depth=0, int freq=0) -> VideoMode

        A simple struct containing video mode parameters for a display
        """
        _misc_.VideoMode_swiginit(self,_misc_.new_VideoMode(*args, **kwargs))
    __swig_destroy__ = _misc_.delete_VideoMode
    __del__ = lambda self : None;
    def Matches(*args, **kwargs):
        """
        Matches(self, VideoMode other) -> bool

        Returns True if this mode matches the other one in the sense that all
        non-zero fields of the other mode have the same value in this
        one (except for refresh which is allowed to have a greater value)
        """
        return _misc_.VideoMode_Matches(*args, **kwargs)

    def GetWidth(*args, **kwargs):
        """
        GetWidth(self) -> int

        Returns the screen width in pixels (e.g. 640*480), 0 means unspecified
        """
        return _misc_.VideoMode_GetWidth(*args, **kwargs)

    def GetHeight(*args, **kwargs):
        """
        GetHeight(self) -> int

        Returns the screen height in pixels (e.g. 640*480), 0 means unspecified
        """
        return _misc_.VideoMode_GetHeight(*args, **kwargs)

    def GetDepth(*args, **kwargs):
        """
        GetDepth(self) -> int

        Returns the screen's bits per pixel (e.g. 32), 1 is monochrome and 0
        means unspecified/known
        """
        return _misc_.VideoMode_GetDepth(*args, **kwargs)

    def GetRefresh(*args, **kwargs):
        """GetRefresh(self) -> int"""
        return _misc_.VideoMode_GetRefresh(*args, **kwargs)

    def IsOk(*args, **kwargs):
        """
        IsOk(self) -> bool

        returns true if the object has been initialized
        """
        return _misc_.VideoMode_IsOk(*args, **kwargs)

    def __nonzero__(self): return self.IsOk() 
    def __eq__(*args, **kwargs):
        """__eq__(self, VideoMode other) -> bool"""
        return _misc_.VideoMode___eq__(*args, **kwargs)

    def __ne__(*args, **kwargs):
        """__ne__(self, VideoMode other) -> bool"""
        return _misc_.VideoMode___ne__(*args, **kwargs)

    w = property(_misc_.VideoMode_w_get, _misc_.VideoMode_w_set)
    h = property(_misc_.VideoMode_h_get, _misc_.VideoMode_h_set)
    bpp = property(_misc_.VideoMode_bpp_get, _misc_.VideoMode_bpp_set)
    refresh = property(_misc_.VideoMode_refresh_get, _misc_.VideoMode_refresh_set)
    Depth = property(GetDepth,doc="See `GetDepth`") 
    Height = property(GetHeight,doc="See `GetHeight`") 
    Width = property(GetWidth,doc="See `GetWidth`") 
    Refresh = property(GetRefresh) 
_misc_.VideoMode_swigregister(VideoMode)

class Display(object):
    """Represents a display/monitor attached to the system"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """
        __init__(self, unsigned int index=0) -> Display

        Set up a Display instance with the specified display.  The displays
        are numbered from 0 to GetCount() - 1, 0 is always the primary display
        and the only one which is always supported
        """
        _misc_.Display_swiginit(self,_misc_.new_Display(*args, **kwargs))
    __swig_destroy__ = _misc_.delete_Display
    __del__ = lambda self : None;
    def GetCount(*args, **kwargs):
        """
        GetCount() -> unsigned int

        Return the number of available displays.
        """
        return _misc_.Display_GetCount(*args, **kwargs)

    GetCount = staticmethod(GetCount)
    def GetFromPoint(*args, **kwargs):
        """
        GetFromPoint(Point pt) -> int

        Find the display where the given point lies, return wx.NOT_FOUND if it
        doesn't belong to any display
        """
        return _misc_.Display_GetFromPoint(*args, **kwargs)

    GetFromPoint = staticmethod(GetFromPoint)
    def GetFromWindow(*args, **kwargs):
        """
        GetFromWindow(Window window) -> int

        Find the display where the given window lies, return wx.NOT_FOUND if
        it is not shown at all.
        """
        return _misc_.Display_GetFromWindow(*args, **kwargs)

    GetFromWindow = staticmethod(GetFromWindow)
    def IsOk(*args, **kwargs):
        """
        IsOk(self) -> bool

        Return true if the object was initialized successfully
        """
        return _misc_.Display_IsOk(*args, **kwargs)

    def __nonzero__(self): return self.IsOk() 
    def GetGeometry(*args, **kwargs):
        """
        GetGeometry(self) -> Rect

        Returns the bounding rectangle of the display whose index was passed
        to the constructor.
        """
        return _misc_.Display_GetGeometry(*args, **kwargs)

    def GetClientArea(*args, **kwargs):
        """
        GetClientArea(self) -> Rect

        Returns the bounding rectangle the client area of the display,
        i.e., without taskbars and such.
        """
        return _misc_.Display_GetClientArea(*args, **kwargs)

    def GetName(*args, **kwargs):
        """
        GetName(self) -> String

        Returns the display's name. A name is not available on all platforms.
        """
        return _misc_.Display_GetName(*args, **kwargs)

    def IsPrimary(*args, **kwargs):
        """
        IsPrimary(self) -> bool

        Returns True if the display is the primary display. The primary
        display is the one whose index is 0.
        """
        return _misc_.Display_IsPrimary(*args, **kwargs)

    def GetModes(*args, **kwargs):
        """
        GetModes(VideoMode mode=DefaultVideoMode) -> [videoMode...]

        Enumerate all video modes supported by this display matching the given
        one (in the sense of VideoMode.Match()).

        As any mode matches the default value of the argument and there is
        always at least one video mode supported by display, the returned
        array is only empty for the default value of the argument if this
        function is not supported at all on this platform.
        """
        return _misc_.Display_GetModes(*args, **kwargs)

    def GetCurrentMode(*args, **kwargs):
        """
        GetCurrentMode(self) -> VideoMode

        Get the current video mode.
        """
        return _misc_.Display_GetCurrentMode(*args, **kwargs)

    def ChangeMode(*args, **kwargs):
        """
        ChangeMode(self, VideoMode mode=DefaultVideoMode) -> bool

        Changes the video mode of this display to the mode specified in the
        mode parameter.

        If wx.DefaultVideoMode is passed in as the mode parameter, the defined
        behaviour is that wx.Display will reset the video mode to the default
        mode used by the display.  On Windows, the behavior is normal.
        However, there are differences on other platforms. On Unix variations
        using X11 extensions it should behave as defined, but some
        irregularities may occur.

        On wxMac passing in wx.DefaultVideoMode as the mode parameter does
        nothing.  This happens because Carbon no longer has access to
        DMUseScreenPrefs, an undocumented function that changed the video mode
        to the system default by using the system's 'scrn' resource.

        Returns True if succeeded, False otherwise
        """
        return _misc_.Display_ChangeMode(*args, **kwargs)

    def ResetMode(*args, **kwargs):
        """
        ResetMode(self)

        Restore the default video mode (just a more readable synonym)
        """
        return _misc_.Display_ResetMode(*args, **kwargs)

    ClientArea = property(GetClientArea,doc="See `GetClientArea`") 
    CurrentMode = property(GetCurrentMode,doc="See `GetCurrentMode`") 
    Geometry = property(GetGeometry,doc="See `GetGeometry`") 
    Modes = property(GetModes,doc="See `GetModes`") 
    Name = property(GetName,doc="See `GetName`") 
_misc_.Display_swigregister(Display)
DefaultVideoMode = cvar.DefaultVideoMode

def Display_GetCount(*args):
  """
    Display_GetCount() -> unsigned int

    Return the number of available displays.
    """
  return _misc_.Display_GetCount(*args)

def Display_GetFromPoint(*args, **kwargs):
  """
    Display_GetFromPoint(Point pt) -> int

    Find the display where the given point lies, return wx.NOT_FOUND if it
    doesn't belong to any display
    """
  return _misc_.Display_GetFromPoint(*args, **kwargs)

def Display_GetFromWindow(*args, **kwargs):
  """
    Display_GetFromWindow(Window window) -> int

    Find the display where the given window lies, return wx.NOT_FOUND if
    it is not shown at all.
    """
  return _misc_.Display_GetFromWindow(*args, **kwargs)

#---------------------------------------------------------------------------

class StandardPaths(object):
    """
    wx.StandardPaths returns standard locations in the file system and
    should be used by programs to find their data files in a portable way.

    In the description of the methods below, the example return values are
    given for the Unix, Windows and Mac OS X systems, however please note
    that these are just  examples and the actual values may differ. For
    example, under Windows the system administrator may change the
    standard directories locations, i.e. the Windows directory may be
    named W:/Win2003 instead of the default C:/Windows.

    The strings appname and username should be replaced with the value
    returned by `wx.App.GetAppName` and the name of the currently logged
    in user, respectively. The string prefix is only used under Unix and
    is /usr/local by default but may be changed using `SetInstallPrefix`.

    The directories returned by the methods of this class may or may not
    exist. If they don't exist, it's up to the caller to create them,
    wx.StandardPaths doesn't do it.

    Finally note that these functions only work with standardly packaged
    applications. I.e. under Unix you should follow the standard
    installation conventions and under Mac you should create your
    application bundle according to the Apple guidelines. Again, this
    class doesn't help you to do it.
    """
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    def __init__(self): raise AttributeError, "No constructor defined"
    __repr__ = _swig_repr
    ResourceCat_None = _misc_.StandardPaths_ResourceCat_None
    ResourceCat_Messages = _misc_.StandardPaths_ResourceCat_Messages
    ResourceCat_Max = _misc_.StandardPaths_ResourceCat_Max
    AppInfo_None = _misc_.StandardPaths_AppInfo_None
    AppInfo_AppName = _misc_.StandardPaths_AppInfo_AppName
    AppInfo_VendorName = _misc_.StandardPaths_AppInfo_VendorName
    def Get(*args, **kwargs):
        """
        Get() -> StandardPaths

        Return the global standard paths singleton
        """
        return _misc_.StandardPaths_Get(*args, **kwargs)

    Get = staticmethod(Get)
    def GetExecutablePath(*args, **kwargs):
        """
        GetExecutablePath(self) -> String

        Return the path (directory+filename) of the running executable or an
        empty string if it couldn't be determined.  The path is returned as an
        absolute path whenever possible.
        """
        return _misc_.StandardPaths_GetExecutablePath(*args, **kwargs)

    def GetConfigDir(*args, **kwargs):
        """
        GetConfigDir(self) -> String

        Return the directory with system config files: /etc under Unix,
        'c:/Documents and Settings/All Users/Application Data' under Windows,
        /Library/Preferences for Mac
        """
        return _misc_.StandardPaths_GetConfigDir(*args, **kwargs)

    def GetUserConfigDir(*args, **kwargs):
        """
        GetUserConfigDir(self) -> String

        Return the directory for the user config files: $HOME under Unix,
        'c:/Documents and Settings/username' under Windows, and 
        ~/Library/Preferences under Mac
            
        Only use this if you have a single file to put there, otherwise
        `GetUserDataDir` is more appropriate
        """
        return _misc_.StandardPaths_GetUserConfigDir(*args, **kwargs)

    def GetDataDir(*args, **kwargs):
        """
        GetDataDir(self) -> String

        Return the location of the application's global, (i.e. not
        user-specific,) data files: prefix/share/appname under Unix,
        'c:/Program Files/appname' under Windows,
        appname.app/Contents/SharedSupport app bundle directory under Mac.
        """
        return _misc_.StandardPaths_GetDataDir(*args, **kwargs)

    def GetLocalDataDir(*args, **kwargs):
        """
        GetLocalDataDir(self) -> String

        Return the location for application data files which are
        host-specific.  Same as `GetDataDir` except under Unix where it is
        /etc/appname
        """
        return _misc_.StandardPaths_GetLocalDataDir(*args, **kwargs)

    def GetUserDataDir(*args, **kwargs):
        """
        GetUserDataDir(self) -> String

        Return the directory for the user-dependent application data files:
        $HOME/.appname under Unix, c:/Documents and
        Settings/username/Application Data/appname under Windows and
        ~/Library/Application Support/appname under Mac
        """
        return _misc_.StandardPaths_GetUserDataDir(*args, **kwargs)

    def GetUserLocalDataDir(*args, **kwargs):
        """
        GetUserLocalDataDir(self) -> String

        Return the directory for user data files which shouldn't be shared
        with the other machines

        Same as `GetUserDataDir` for all platforms except Windows where it is
        the 'Local Settings/Application Data/appname' directory.
        """
        return _misc_.StandardPaths_GetUserLocalDataDir(*args, **kwargs)

    def GetPluginsDir(*args, **kwargs):
        """
        GetPluginsDir(self) -> String

        Return the directory where the loadable modules (plugins) live:
        prefix/lib/appname under Unix, program directory under Windows and
        Contents/Plugins app bundle subdirectory under Mac
        """
        return _misc_.StandardPaths_GetPluginsDir(*args, **kwargs)

    def GetResourcesDir(*args, **kwargs):
        """
        GetResourcesDir(self) -> String

        Get resources directory.  Resources are auxiliary files used by the
        application and include things like image and sound files.

        Same as `GetDataDir` for all platforms except Mac where it returns
        Contents/Resources subdirectory of the app bundle.
        """
        return _misc_.StandardPaths_GetResourcesDir(*args, **kwargs)

    def GetLocalizedResourcesDir(*args, **kwargs):
        """
        GetLocalizedResourcesDir(self, String lang, int category=ResourceCat_None) -> String

        Get localized resources directory containing the resource files of the
        specified category for the given language.

        In general this is just GetResourcesDir()/lang under Windows and Unix
        and GetResourcesDir()/lang.lproj under Mac but is something quite
        different under Unix for the message catalog category (namely the
        standard prefix/share/locale/lang/LC_MESSAGES.)
        """
        return _misc_.StandardPaths_GetLocalizedResourcesDir(*args, **kwargs)

    def GetDocumentsDir(*args, **kwargs):
        """
        GetDocumentsDir(self) -> String

        Return the Documents directory for the current user.

        C:/Documents and Settings/username/Documents under Windows,
        $HOME under Unix and ~/Documents under Mac
        """
        return _misc_.StandardPaths_GetDocumentsDir(*args, **kwargs)

    def GetAppDocumentsDir(*args, **kwargs):
        """
        GetAppDocumentsDir(self) -> String

        Return the directory for the documents files used by this application:
        it's a subdirectory of GetDocumentsDir() constructed using the
        application name/vendor if it exists or just GetDocumentsDir()
        otherwise.
        """
        return _misc_.StandardPaths_GetAppDocumentsDir(*args, **kwargs)

    def GetTempDir(*args, **kwargs):
        """
        GetTempDir(self) -> String

        Return the user's directory for temporary files.
        """
        return _misc_.StandardPaths_GetTempDir(*args, **kwargs)

    def SetInstallPrefix(*args, **kwargs):
        """
        SetInstallPrefix(self, String prefix)

        Set the program installation directory which is /usr/local by default.
        This value will be used by other methods such as `GetDataDir` and
        `GetPluginsDir` as the prefix for what they return. (This function
        only has meaning on Unix systems.)
        """
        return _misc_.StandardPaths_SetInstallPrefix(*args, **kwargs)

    def GetInstallPrefix(*args, **kwargs):
        """
        GetInstallPrefix(self) -> String

        Get the program installation prefix. The default is the prefix where
        Python is installed. (This function only has meaning on Unix systems.)
        """
        return _misc_.StandardPaths_GetInstallPrefix(*args, **kwargs)

    def UseAppInfo(*args, **kwargs):
        """UseAppInfo(self, int info)"""
        return _misc_.StandardPaths_UseAppInfo(*args, **kwargs)

    def UsesAppInfo(*args, **kwargs):
        """UsesAppInfo(self, int info) -> bool"""
        return _misc_.StandardPaths_UsesAppInfo(*args, **kwargs)

_misc_.StandardPaths_swigregister(StandardPaths)

def StandardPaths_Get(*args):
  """
    StandardPaths_Get() -> StandardPaths

    Return the global standard paths singleton
    """
  return _misc_.StandardPaths_Get(*args)

#---------------------------------------------------------------------------

POWER_SOCKET = _misc_.POWER_SOCKET
POWER_BATTERY = _misc_.POWER_BATTERY
POWER_UNKNOWN = _misc_.POWER_UNKNOWN
BATTERY_NORMAL_STATE = _misc_.BATTERY_NORMAL_STATE
BATTERY_LOW_STATE = _misc_.BATTERY_LOW_STATE
BATTERY_CRITICAL_STATE = _misc_.BATTERY_CRITICAL_STATE
BATTERY_SHUTDOWN_STATE = _misc_.BATTERY_SHUTDOWN_STATE
BATTERY_UNKNOWN_STATE = _misc_.BATTERY_UNKNOWN_STATE
class PowerEvent(_core.Event):
    """
    wx.PowerEvent is generated when the system online status changes.
    Currently this is only implemented for Windows.
    """
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """
        __init__(self, EventType evtType) -> PowerEvent

        wx.PowerEvent is generated when the system online status changes.
        Currently this is only implemented for Windows.
        """
        _misc_.PowerEvent_swiginit(self,_misc_.new_PowerEvent(*args, **kwargs))
    def Veto(*args, **kwargs):
        """Veto(self)"""
        return _misc_.PowerEvent_Veto(*args, **kwargs)

    def IsVetoed(*args, **kwargs):
        """IsVetoed(self) -> bool"""
        return _misc_.PowerEvent_IsVetoed(*args, **kwargs)

_misc_.PowerEvent_swigregister(PowerEvent)

wxEVT_POWER_SUSPENDING = _misc_.wxEVT_POWER_SUSPENDING
wxEVT_POWER_SUSPENDED = _misc_.wxEVT_POWER_SUSPENDED
wxEVT_POWER_SUSPEND_CANCEL = _misc_.wxEVT_POWER_SUSPEND_CANCEL
wxEVT_POWER_RESUME = _misc_.wxEVT_POWER_RESUME
EVT_POWER_SUSPENDING       = wx.PyEventBinder( wxEVT_POWER_SUSPENDING , 1 )
EVT_POWER_SUSPENDED        = wx.PyEventBinder( wxEVT_POWER_SUSPENDED , 1 )
EVT_POWER_SUSPEND_CANCEL   = wx.PyEventBinder( wxEVT_POWER_SUSPEND_CANCEL , 1 )
EVT_POWER_RESUME           = wx.PyEventBinder( wxEVT_POWER_RESUME , 1 )


def GetPowerType(*args):
  """
    GetPowerType() -> int

    return the current system power state: online or offline
    """
  return _misc_.GetPowerType(*args)

def GetBatteryState(*args):
  """
    GetBatteryState() -> int

    return approximate battery state
    """
  return _misc_.GetBatteryState(*args)
#---------------------------------------------------------------------------

class AboutDialogInfo(object):
    """
    `wx.AboutDialogInfo` contains information to be shown in the standard
    About dialog displayed by the `wx.AboutBox` function.  This class
    contains the general information about the program, such as its name,
    version, copyright and so on, as well as lists of the program
    developers, documentation writers, artists and translators.

    While all the main platforms have a native implementation of the about
    dialog, they are often more limited than the generic version provided
    by wxWidgets and so the generic version is used if
    `wx.AboutDialogInfo` has any fields not supported by the native
    version. Currently GTK+ version supports all the possible fields
    natively but MSW and Mac versions don't support URLs, licence text nor
    custom icons in the about dialog and if either of those is used,
    wxAboutBox() will automatically use the generic version so you should
    avoid specifying these fields to achieve more native look and feel.

    """
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """
        __init__(self) -> AboutDialogInfo

        `wx.AboutDialogInfo` contains information to be shown in the standard
        About dialog displayed by the `wx.AboutBox` function.  This class
        contains the general information about the program, such as its name,
        version, copyright and so on, as well as lists of the program
        developers, documentation writers, artists and translators.

        While all the main platforms have a native implementation of the about
        dialog, they are often more limited than the generic version provided
        by wxWidgets and so the generic version is used if
        `wx.AboutDialogInfo` has any fields not supported by the native
        version. Currently GTK+ version supports all the possible fields
        natively but MSW and Mac versions don't support URLs, licence text nor
        custom icons in the about dialog and if either of those is used,
        wxAboutBox() will automatically use the generic version so you should
        avoid specifying these fields to achieve more native look and feel.

        """
        _misc_.AboutDialogInfo_swiginit(self,_misc_.new_AboutDialogInfo(*args, **kwargs))
    __swig_destroy__ = _misc_.delete_AboutDialogInfo
    __del__ = lambda self : None;
    def SetName(*args, **kwargs):
        """
        SetName(self, String name)

        Set the name of the program. If this method is not called, the string
        returned by `wx.App.GetAppName` will be shown in the dialog.
        """
        return _misc_.AboutDialogInfo_SetName(*args, **kwargs)

    def GetName(*args, **kwargs):
        """
        GetName(self) -> String

        Returns the program name.
        """
        return _misc_.AboutDialogInfo_GetName(*args, **kwargs)

    Name = property(GetName,SetName) 
    def SetVersion(*args, **kwargs):
        """
        SetVersion(self, String version, String longVersion=wxEmptyString)

        Set the version of the program. The version is in free format,
        i.e. not necessarily in the x.y.z form but it shouldn't contain the
        "version" word.
        """
        return _misc_.AboutDialogInfo_SetVersion(*args, **kwargs)

    def HasVersion(*args, **kwargs):
        """
        HasVersion(self) -> bool

        Returns ``True`` if the version property has been set.
        """
        return _misc_.AboutDialogInfo_HasVersion(*args, **kwargs)

    def GetVersion(*args, **kwargs):
        """
        GetVersion(self) -> String

        Returns the version value.
        """
        return _misc_.AboutDialogInfo_GetVersion(*args, **kwargs)

    Version = property(GetVersion,SetVersion) 
    def GetLongVersion(*args, **kwargs):
        """GetLongVersion(self) -> String"""
        return _misc_.AboutDialogInfo_GetLongVersion(*args, **kwargs)

    LongVersion = property(GetLongVersion) 
    def SetDescription(*args, **kwargs):
        """
        SetDescription(self, String desc)

        Set brief, but possibly multiline, description of the program.
        """
        return _misc_.AboutDialogInfo_SetDescription(*args, **kwargs)

    def HasDescription(*args, **kwargs):
        """
        HasDescription(self) -> bool

        Returns ``True`` if the description property has been set.
        """
        return _misc_.AboutDialogInfo_HasDescription(*args, **kwargs)

    def GetDescription(*args, **kwargs):
        """
        GetDescription(self) -> String

        Returns the description value.
        """
        return _misc_.AboutDialogInfo_GetDescription(*args, **kwargs)

    Description = property(GetDescription,SetDescription) 
    def SetCopyright(*args, **kwargs):
        """
        SetCopyright(self, String copyright)

        Set the short string containing the program copyright
        information. Notice that any occurrences of "(C)" in ``copyright``
        will be replaced by the copyright symbol (circled C) automatically,
        which means that you can avoid using this symbol in the program source
        code which can be problematic.
        """
        return _misc_.AboutDialogInfo_SetCopyright(*args, **kwargs)

    def HasCopyright(*args, **kwargs):
        """
        HasCopyright(self) -> bool

        Returns ``True`` if the copyright property has been set.
        """
        return _misc_.AboutDialogInfo_HasCopyright(*args, **kwargs)

    def GetCopyright(*args, **kwargs):
        """
        GetCopyright(self) -> String

        Returns the copyright value.
        """
        return _misc_.AboutDialogInfo_GetCopyright(*args, **kwargs)

    Copyright = property(GetCopyright,SetCopyright) 
    def SetLicence(*args, **kwargs):
        """
        SetLicence(self, String licence)

        Set the long, multiline string containing the text of the program
        licence.

        Only GTK+ version supports showing the licence text in the native
        about dialog currently so the generic version will be used under all
        the other platforms if this method is called. To preserve the native
        look and feel it is advised that you do not call this method but
        provide a separate menu item in the "Help" menu for displaying the
        text of your program licence.

        """
        return _misc_.AboutDialogInfo_SetLicence(*args, **kwargs)

    def SetLicense(*args, **kwargs):
        """
        SetLicense(self, String licence)

        This is the same as `SetLicence`.
        """
        return _misc_.AboutDialogInfo_SetLicense(*args, **kwargs)

    def HasLicence(*args, **kwargs):
        """
        HasLicence(self) -> bool

        Returns ``True`` if the licence property has been set.
        """
        return _misc_.AboutDialogInfo_HasLicence(*args, **kwargs)

    def GetLicence(*args, **kwargs):
        """
        GetLicence(self) -> String

        Returns the licence value.
        """
        return _misc_.AboutDialogInfo_GetLicence(*args, **kwargs)

    Licence = property(GetLicence,SetLicence) 
    License = Licence 
    def SetIcon(*args, **kwargs):
        """
        SetIcon(self, Icon icon)

        Set the icon to be shown in the dialog. By default the icon of the
        main frame will be shown if the native about dialog supports custom
        icons. If it doesn't but a valid icon is specified using this method,
        the generic about dialog is used instead so you should avoid calling
        this function for maximally native look and feel.
        """
        return _misc_.AboutDialogInfo_SetIcon(*args, **kwargs)

    def HasIcon(*args, **kwargs):
        """
        HasIcon(self) -> bool

        Returns ``True`` if the icon property has been set.
        """
        return _misc_.AboutDialogInfo_HasIcon(*args, **kwargs)

    def GetIcon(*args, **kwargs):
        """
        GetIcon(self) -> Icon

        Return the current icon value.
        """
        return _misc_.AboutDialogInfo_GetIcon(*args, **kwargs)

    Icon = property(GetIcon,SetIcon) 
    def _SetWebSite(*args, **kwargs):
        """_SetWebSite(self, String url, String desc=wxEmptyString)"""
        return _misc_.AboutDialogInfo__SetWebSite(*args, **kwargs)

    def _GetWebSiteURL(*args, **kwargs):
        """_GetWebSiteURL(self) -> String"""
        return _misc_.AboutDialogInfo__GetWebSiteURL(*args, **kwargs)

    def _GetWebSiteDescription(*args, **kwargs):
        """_GetWebSiteDescription(self) -> String"""
        return _misc_.AboutDialogInfo__GetWebSiteDescription(*args, **kwargs)

    def HasWebSite(*args, **kwargs):
        """HasWebSite(self) -> bool"""
        return _misc_.AboutDialogInfo_HasWebSite(*args, **kwargs)

    def SetWebSite(self, args):
        """
        SetWebSite(self, URL, [Description])

        Set the web site property.  The ``args`` parameter can
        either be a single string for the URL, to a 2-tuple of
        (URL, Description) strings.
        """
        if type(args) in [str, unicode]:
            self._SetWebSite(args)
        else:
            self._SetWebSite(args[0], args[1])
                
    def GetWebSite(self):
        """
        GetWebSite(self) --> (URL, Description)
        """
        return (self._GetWebSiteURL(), self._GetWebSiteDescription())

    WebSite = property(GetWebSite,SetWebSite) 
    def SetDevelopers(*args, **kwargs):
        """
        SetDevelopers(self, list developers)

        Set the list of the developers of the program.
        """
        return _misc_.AboutDialogInfo_SetDevelopers(*args, **kwargs)

    def AddDeveloper(*args, **kwargs):
        """
        AddDeveloper(self, String developer)

        Add a string to the list of developers.
        """
        return _misc_.AboutDialogInfo_AddDeveloper(*args, **kwargs)

    def HasDevelopers(*args, **kwargs):
        """
        HasDevelopers(self) -> bool

        Returns ``True if any developers have been set.
        """
        return _misc_.AboutDialogInfo_HasDevelopers(*args, **kwargs)

    def GetDevelopers(*args, **kwargs):
        """
        GetDevelopers(self) --> list

        Returns the list of developers.
        """
        return _misc_.AboutDialogInfo_GetDevelopers(*args, **kwargs)

    Developers = property(GetDevelopers,SetDevelopers) 
    def SetDocWriters(*args, **kwargs):
        """
        SetDocWriters(self, list docwriters)

        Set the list of the documentation writers.
        """
        return _misc_.AboutDialogInfo_SetDocWriters(*args, **kwargs)

    def AddDocWriter(*args, **kwargs):
        """
        AddDocWriter(self, String docwriter)

        Add a string to the list of documentation writers.
        """
        return _misc_.AboutDialogInfo_AddDocWriter(*args, **kwargs)

    def HasDocWriters(*args, **kwargs):
        """
        HasDocWriters(self) -> bool

        Returns ``True if any documentation writers have been set.
        """
        return _misc_.AboutDialogInfo_HasDocWriters(*args, **kwargs)

    def GetDocWriters(*args, **kwargs):
        """
        GetDocWriters(self) --> list

        Returns the list of documentation writers.
        """
        return _misc_.AboutDialogInfo_GetDocWriters(*args, **kwargs)

    DocWriters = property(GetDocWriters,SetDocWriters) 
    def SetArtists(*args, **kwargs):
        """
        SetArtists(self, list artists)

        Set the list of artists for the program.
        """
        return _misc_.AboutDialogInfo_SetArtists(*args, **kwargs)

    def AddArtist(*args, **kwargs):
        """
        AddArtist(self, String artist)

        Add a string to the list of artists.
        """
        return _misc_.AboutDialogInfo_AddArtist(*args, **kwargs)

    def HasArtists(*args, **kwargs):
        """
        HasArtists(self) -> bool

        Returns ``True`` if any artists have been set.
        """
        return _misc_.AboutDialogInfo_HasArtists(*args, **kwargs)

    def GetArtists(*args, **kwargs):
        """
        GetArtists(self) --> list

        Returns the list od artists.
        """
        return _misc_.AboutDialogInfo_GetArtists(*args, **kwargs)

    Artists = property(GetArtists,SetArtists) 
    def SetTranslators(*args, **kwargs):
        """
        SetTranslators(self, list translators)

        Sets the list of program translators.
        """
        return _misc_.AboutDialogInfo_SetTranslators(*args, **kwargs)

    def AddTranslator(*args, **kwargs):
        """
        AddTranslator(self, String translator)

        Add a string to the list of translators.
        """
        return _misc_.AboutDialogInfo_AddTranslator(*args, **kwargs)

    def HasTranslators(*args, **kwargs):
        """
        HasTranslators(self) -> bool

        Returns ``True`` if any translators have been set.
        """
        return _misc_.AboutDialogInfo_HasTranslators(*args, **kwargs)

    def GetTranslators(*args, **kwargs):
        """
        GetTranslators(self) --> list

        Returns the list of program translators.
        """
        return _misc_.AboutDialogInfo_GetTranslators(*args, **kwargs)

    Translators = property(GetTranslators,SetTranslators) 
    def IsSimple(*args, **kwargs):
        """IsSimple(self) -> bool"""
        return _misc_.AboutDialogInfo_IsSimple(*args, **kwargs)

    def GetDescriptionAndCredits(*args, **kwargs):
        """GetDescriptionAndCredits(self) -> String"""
        return _misc_.AboutDialogInfo_GetDescriptionAndCredits(*args, **kwargs)

    def GetCopyrightToDisplay(*args, **kwargs):
        """GetCopyrightToDisplay(self) -> String"""
        return _misc_.AboutDialogInfo_GetCopyrightToDisplay(*args, **kwargs)

_misc_.AboutDialogInfo_swigregister(AboutDialogInfo)


def AboutBox(*args, **kwargs):
  """
    AboutBox(AboutDialogInfo info, Window parent=None)

    This function shows the standard about dialog containing the
    information specified in ``info``. If the current platform has a
    native about dialog which is capable of showing all the fields in
    `wx.AboutDialogInfo`, the native dialog is used, otherwise the
    function falls back to the generic wxWidgets version of the dialog.
    """
  return _misc_.AboutBox(*args, **kwargs)
#---------------------------------------------------------------------------

class UIActionSimulator(object):
    """Proxy of C++ UIActionSimulator class"""
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args, **kwargs): 
        """__init__(self) -> UIActionSimulator"""
        _misc_.UIActionSimulator_swiginit(self,_misc_.new_UIActionSimulator(*args, **kwargs))
    __swig_destroy__ = _misc_.delete_UIActionSimulator
    __del__ = lambda self : None;
    def MouseMove(*args):
        """
        MouseMove(self, long x, long y) -> bool
        MouseMove(self, Point point) -> bool
        """
        return _misc_.UIActionSimulator_MouseMove(*args)

    def MouseDown(*args, **kwargs):
        """MouseDown(self, int button=MOUSE_BTN_LEFT) -> bool"""
        return _misc_.UIActionSimulator_MouseDown(*args, **kwargs)

    def MouseUp(*args, **kwargs):
        """MouseUp(self, int button=MOUSE_BTN_LEFT) -> bool"""
        return _misc_.UIActionSimulator_MouseUp(*args, **kwargs)

    def MouseClick(*args, **kwargs):
        """MouseClick(self, int button=MOUSE_BTN_LEFT) -> bool"""
        return _misc_.UIActionSimulator_MouseClick(*args, **kwargs)

    def MouseDblClick(*args, **kwargs):
        """MouseDblClick(self, int button=MOUSE_BTN_LEFT) -> bool"""
        return _misc_.UIActionSimulator_MouseDblClick(*args, **kwargs)

    def MouseDragDrop(*args, **kwargs):
        """MouseDragDrop(self, long x1, long y1, long x2, long y2, int button=MOUSE_BTN_LEFT) -> bool"""
        return _misc_.UIActionSimulator_MouseDragDrop(*args, **kwargs)

    def KeyDown(*args, **kwargs):
        """KeyDown(self, int keycode, int modifiers=MOD_NONE) -> bool"""
        return _misc_.UIActionSimulator_KeyDown(*args, **kwargs)

    def KeyUp(*args, **kwargs):
        """KeyUp(self, int keycode, int modifiers=MOD_NONE) -> bool"""
        return _misc_.UIActionSimulator_KeyUp(*args, **kwargs)

    def Char(*args, **kwargs):
        """Char(self, int keycode, int modifiers=MOD_NONE) -> bool"""
        return _misc_.UIActionSimulator_Char(*args, **kwargs)

    def Text(*args, **kwargs):
        """Text(self, char text) -> bool"""
        return _misc_.UIActionSimulator_Text(*args, **kwargs)

_misc_.UIActionSimulator_swigregister(UIActionSimulator)