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
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>wxWidgets: wxAppConsole Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="extra_stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="page_container">
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0" style="width: 100%;">
<tbody>
<tr>
<td id="projectlogo">
<a href="http://www.wxwidgets.org/" target="_new">
<img alt="wxWidgets" src="logo.png"/>
</a>
</td>
<td style="padding-left: 0.5em; text-align: right;">
<span id="projectnumber">Version: 3.0.2</span>
</td>
</tr>
</tbody>
</table>
</div>
<!-- Generated by Doxygen 1.8.2 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Categories</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="classes.html"><span>Class Index</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pub-static-methods">Static Public Member Functions</a> |
<a href="#pub-attribs">Public Attributes</a> |
<a href="#pro-methods">Protected Member Functions</a> |
<a href="classwx_app_console-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">wxAppConsole Class Reference<div class="ingroups"><a class="el" href="group__group__class__appmanagement.html">Application and Process Management</a></div></div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include <wx/app.h></code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
<img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for wxAppConsole:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classwx_app_console__inherit__graph.png" border="0" usemap="#wx_app_console_inherit__map" alt="Inheritance graph"/></div>
<map name="wx_app_console_inherit__map" id="wx_app_console_inherit__map">
<area shape="rect" id="node11" href="classwx_app.html" title="The wxApp class represents the application itself when wxUSE_GUI=1." alt="" coords="128,238,187,266"/><area shape="rect" id="node2" href="classwx_evt_handler.html" title="A class that can handle events from the windowing system." alt="" coords="47,83,145,111"/><area shape="rect" id="node4" href="classwx_object.html" title="This is the root class of many of the wxWidgets classes." alt="" coords="5,6,80,34"/><area shape="rect" id="node6" href="classwx_trackable.html" title="Add-on base class for a trackable object." alt="" coords="104,6,197,34"/><area shape="rect" id="node8" href="classwx_event_filter.html" title="A global event filter for pre-processing all the events generated in the program." alt="" coords="169,83,268,111"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>This class is essential for writing console-only or hybrid apps without having to define <code>wxUSE_GUI=0</code>. </p>
<p>It is used to: </p>
<ul>
<li>set and get application-wide properties (see <a class="el" href="classwx_app_console.html#ab2811644bfee7a93d0564a09397c4408" title="Creates the wxAppTraits object when GetTraits() needs it for the first time.">wxAppConsole::CreateTraits</a> and wxAppConsole::SetXXX functions) </li>
<li>implement the windowing system message or event loop: events in fact are supported even in console-mode applications (see <a class="el" href="classwx_app_console.html#a78a6f9e56b77addf8251f0f5c10004fb" title="This function simply invokes the given method func of the specified event handler handler with the ev...">wxAppConsole::HandleEvent</a> and <a class="el" href="classwx_app_console.html#ab62db8e6265c1e841220c47b9778ab7e" title="Process all pending events; it is necessary to call this function to process events posted with wxEvt...">wxAppConsole::ProcessPendingEvents</a>); </li>
<li>initiate application processing via <a class="el" href="classwx_app_console.html#a99953775a2fd83fa2456e390779afe15" title="This must be provided by the application, and will usually create the application's main window...">wxApp::OnInit</a>; </li>
<li>allow default processing of events not handled by other objects in the application (see <a class="el" href="classwx_app_console.html#ada7ab606e014a10d46e4b3c6f602e20c" title="Overridden wxEventFilter method.">wxAppConsole::FilterEvent</a>) </li>
<li>implement Apple-specific event handlers (see wxAppConsole::MacXXX functions)</li>
</ul>
<p>You should use the macro <a class="el" href="group__group__funcmacro__rtti.html#ga967aafaa261481fe2d2e1cf599e3e003" title="This is used in the application class implementation file to make the application class known to wxWi...">wxIMPLEMENT_APP(appClass)</a> in your application implementation file to tell wxWidgets how to create an instance of your application class.</p>
<p>Use <a class="el" href="group__group__funcmacro__rtti.html#ga1523a2d553dea288d66cd35e8a0ffd5c" title="This is used in headers to create a forward declaration of the wxGetApp() function implemented by wxI...">wxDECLARE_APP(appClass)</a> in a header file if you want the <a class="el" href="group__group__funcmacro__appinitterm.html#gac387a69e740a149f9888e4992a3a4c6c" title="This function doesn't exist in wxWidgets but it is created by using the wxIMPLEMENT_APP() macro...">wxGetApp()</a> function (which returns a reference to your application object) to be visible to other files.</p>
<h2></h2>
<div><span class="lib">Library:</span>  <span class="lib_text"><a class="el" href="page_libs.html#page_libs_wxbase">wxBase</a></span></div><div><span class="category">Category:</span>  <span class="category_text"><a class="el" href="group__group__class__appmanagement.html">Application and Process Management</a></span></div><dl class="section see"><dt>See Also</dt><dd><a class="el" href="overview_app.html">wxApp Overview</a>, <a class="el" href="classwx_app.html" title="The wxApp class represents the application itself when wxUSE_GUI=1.">wxApp</a>, <a class="el" href="classwx_app_traits.html" title="The wxAppTraits class defines various configurable aspects of a wxApp.">wxAppTraits</a>, <a class="el" href="classwx_event_loop_base.html" title="Base class for all event loop implementations.">wxEventLoopBase</a> </dd></dl>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a15802038794a8646f42f0cdd3bf74b3d"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_app_console.html#a15802038794a8646f42f0cdd3bf74b3d">~wxAppConsole</a> ()</td></tr>
<tr class="memdesc:a15802038794a8646f42f0cdd3bf74b3d"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#a15802038794a8646f42f0cdd3bf74b3d"></a><br/></td></tr>
<tr class="separator:a15802038794a8646f42f0cdd3bf74b3d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a302adeb701f247bf8cac1570efc25020"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_app_console.html#a302adeb701f247bf8cac1570efc25020">Yield</a> (bool onlyIfNeeded=false)</td></tr>
<tr class="separator:a302adeb701f247bf8cac1570efc25020"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9a02416d2eeaf63b0cb9313dad69bb0f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_app_console.html#a9a02416d2eeaf63b0cb9313dad69bb0f">SetCLocale</a> ()</td></tr>
<tr class="memdesc:a9a02416d2eeaf63b0cb9313dad69bb0f"><td class="mdescLeft"> </td><td class="mdescRight">Sets the C locale to the default locale for the current environment. <a href="#a9a02416d2eeaf63b0cb9313dad69bb0f"></a><br/></td></tr>
<tr class="separator:a9a02416d2eeaf63b0cb9313dad69bb0f"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Event-handling</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p>Note that you should look at wxEvtLoopBase for more event-processing documentation. </p>
</div></td></tr>
<tr class="memitem:a14523f3e9ab468c19c697c65484b36db"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_app_console.html#a14523f3e9ab468c19c697c65484b36db">MainLoop</a> ()</td></tr>
<tr class="memdesc:a14523f3e9ab468c19c697c65484b36db"><td class="mdescLeft"> </td><td class="mdescRight">Called by wxWidgets on creation of the application. <a href="#a14523f3e9ab468c19c697c65484b36db"></a><br/></td></tr>
<tr class="separator:a14523f3e9ab468c19c697c65484b36db"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad0f1e724efa8ae1e94cde655c74c85dc"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_app_console.html#ad0f1e724efa8ae1e94cde655c74c85dc">ExitMainLoop</a> ()</td></tr>
<tr class="memdesc:ad0f1e724efa8ae1e94cde655c74c85dc"><td class="mdescLeft"> </td><td class="mdescRight">Call this to explicitly exit the main message (event) loop. <a href="#ad0f1e724efa8ae1e94cde655c74c85dc"></a><br/></td></tr>
<tr class="separator:ad0f1e724efa8ae1e94cde655c74c85dc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ada7ab606e014a10d46e4b3c6f602e20c"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_app_console.html#ada7ab606e014a10d46e4b3c6f602e20c">FilterEvent</a> (<a class="el" href="classwx_event.html">wxEvent</a> &event)</td></tr>
<tr class="memdesc:ada7ab606e014a10d46e4b3c6f602e20c"><td class="mdescLeft"> </td><td class="mdescRight">Overridden <a class="el" href="classwx_event_filter.html" title="A global event filter for pre-processing all the events generated in the program.">wxEventFilter</a> method. <a href="#ada7ab606e014a10d46e4b3c6f602e20c"></a><br/></td></tr>
<tr class="separator:ada7ab606e014a10d46e4b3c6f602e20c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a131ba350b1be3ef88a764170c59d8e40"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_event_loop_base.html">wxEventLoopBase</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_app_console.html#a131ba350b1be3ef88a764170c59d8e40">GetMainLoop</a> () const </td></tr>
<tr class="memdesc:a131ba350b1be3ef88a764170c59d8e40"><td class="mdescLeft"> </td><td class="mdescRight">Returns the main event loop instance, i.e. the event loop which is started by <a class="el" href="classwx_app_console.html#ac05a28c7cdb529f2cdfe77b3431c385c" title="This virtual function is where the execution of a program written in wxWidgets starts.">OnRun()</a> and which dispatches all events sent from the native toolkit to the application (except when new event loops are temporarily set-up). <a href="#a131ba350b1be3ef88a764170c59d8e40"></a><br/></td></tr>
<tr class="separator:a131ba350b1be3ef88a764170c59d8e40"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a78a6f9e56b77addf8251f0f5c10004fb"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_app_console.html#a78a6f9e56b77addf8251f0f5c10004fb">HandleEvent</a> (<a class="el" href="classwx_evt_handler.html">wxEvtHandler</a> *handler, wxEventFunction func, <a class="el" href="classwx_event.html">wxEvent</a> &event) const </td></tr>
<tr class="memdesc:a78a6f9e56b77addf8251f0f5c10004fb"><td class="mdescLeft"> </td><td class="mdescRight">This function simply invokes the given method <em>func</em> of the specified event handler <em>handler</em> with the <em>event</em> as parameter. <a href="#a78a6f9e56b77addf8251f0f5c10004fb"></a><br/></td></tr>
<tr class="separator:a78a6f9e56b77addf8251f0f5c10004fb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af393b68a318373e43ee731bec38bdc29"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_app_console.html#af393b68a318373e43ee731bec38bdc29">UsesEventLoop</a> () const </td></tr>
<tr class="memdesc:af393b68a318373e43ee731bec38bdc29"><td class="mdescLeft"> </td><td class="mdescRight">Returns <span class="literal">true</span> if the application is using an event loop. <a href="#af393b68a318373e43ee731bec38bdc29"></a><br/></td></tr>
<tr class="separator:af393b68a318373e43ee731bec38bdc29"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Pending events</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p>Pending events are handled by <a class="el" href="classwx_app_console.html" title="This class is essential for writing console-only or hybrid apps without having to define wxUSE_GUI=0...">wxAppConsole</a> rather than <a class="el" href="classwx_event_loop_base.html" title="Base class for all event loop implementations.">wxEventLoopBase</a> to allow queuing of events even when there's no event loop (e.g.</p>
<p>in <a class="el" href="classwx_app_console.html#a99953775a2fd83fa2456e390779afe15" title="This must be provided by the application, and will usually create the application's main window...">wxAppConsole::OnInit</a>). </p>
</div></td></tr>
<tr class="memitem:ab62db8e6265c1e841220c47b9778ab7e"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_app_console.html#ab62db8e6265c1e841220c47b9778ab7e">ProcessPendingEvents</a> ()</td></tr>
<tr class="memdesc:ab62db8e6265c1e841220c47b9778ab7e"><td class="mdescLeft"> </td><td class="mdescRight">Process all pending events; it is necessary to call this function to process events posted with <a class="el" href="classwx_evt_handler.html#acffd03bf407a856166ea71ef0318b59a" title="Queue event for a later processing.">wxEvtHandler::QueueEvent</a> or <a class="el" href="classwx_evt_handler.html#a0737c6d2cbcd5ded4b1ecdd53ed0def3" title="Post an event to be processed later.">wxEvtHandler::AddPendingEvent</a>. <a href="#ab62db8e6265c1e841220c47b9778ab7e"></a><br/></td></tr>
<tr class="separator:ab62db8e6265c1e841220c47b9778ab7e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad89ebde765071beef409f6e6e81d1b31"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_app_console.html#ad89ebde765071beef409f6e6e81d1b31">DeletePendingEvents</a> ()</td></tr>
<tr class="memdesc:ad89ebde765071beef409f6e6e81d1b31"><td class="mdescLeft"> </td><td class="mdescRight">Deletes the pending events of all wxEvtHandlers of this application. <a href="#ad89ebde765071beef409f6e6e81d1b31"></a><br/></td></tr>
<tr class="separator:ad89ebde765071beef409f6e6e81d1b31"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a253eccb58ac202af728ac4f137c88619"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_app_console.html#a253eccb58ac202af728ac4f137c88619">HasPendingEvents</a> () const </td></tr>
<tr class="memdesc:a253eccb58ac202af728ac4f137c88619"><td class="mdescLeft"> </td><td class="mdescRight">Returns <span class="literal">true</span> if there are pending events on the internal pending event list. <a href="#a253eccb58ac202af728ac4f137c88619"></a><br/></td></tr>
<tr class="separator:a253eccb58ac202af728ac4f137c88619"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af892210f0e50a1c7df9ae39280cbc972"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_app_console.html#af892210f0e50a1c7df9ae39280cbc972">SuspendProcessingOfPendingEvents</a> ()</td></tr>
<tr class="memdesc:af892210f0e50a1c7df9ae39280cbc972"><td class="mdescLeft"> </td><td class="mdescRight">Temporary suspends processing of the pending events. <a href="#af892210f0e50a1c7df9ae39280cbc972"></a><br/></td></tr>
<tr class="separator:af892210f0e50a1c7df9ae39280cbc972"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3ddc42127ce53b8cac04716315124765"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_app_console.html#a3ddc42127ce53b8cac04716315124765">ResumeProcessingOfPendingEvents</a> ()</td></tr>
<tr class="memdesc:a3ddc42127ce53b8cac04716315124765"><td class="mdescLeft"> </td><td class="mdescRight">Resume processing of the pending events previously stopped because of a call to <a class="el" href="classwx_app_console.html#af892210f0e50a1c7df9ae39280cbc972" title="Temporary suspends processing of the pending events.">SuspendProcessingOfPendingEvents()</a>. <a href="#a3ddc42127ce53b8cac04716315124765"></a><br/></td></tr>
<tr class="separator:a3ddc42127ce53b8cac04716315124765"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr class="memitem:adc46f57d8691bc0098830522f9de9d90"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_app_console.html#adc46f57d8691bc0098830522f9de9d90">ScheduleForDestruction</a> (<a class="el" href="classwx_object.html">wxObject</a> *object)</td></tr>
<tr class="memdesc:adc46f57d8691bc0098830522f9de9d90"><td class="mdescLeft"> </td><td class="mdescRight">Delayed objects destruction. <a href="#adc46f57d8691bc0098830522f9de9d90"></a><br/></td></tr>
<tr class="separator:adc46f57d8691bc0098830522f9de9d90"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aad8d60da021487976b4a620364100fa5"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_app_console.html#aad8d60da021487976b4a620364100fa5">IsScheduledForDestruction</a> (<a class="el" href="classwx_object.html">wxObject</a> *object) const </td></tr>
<tr class="memdesc:aad8d60da021487976b4a620364100fa5"><td class="mdescLeft"> </td><td class="mdescRight">Check if the object had been scheduled for destruction with <a class="el" href="classwx_app_console.html#adc46f57d8691bc0098830522f9de9d90" title="Delayed objects destruction.">ScheduleForDestruction()</a>. <a href="#aad8d60da021487976b4a620364100fa5"></a><br/></td></tr>
<tr class="separator:aad8d60da021487976b4a620364100fa5"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Callbacks for application-wide "events"</div></td></tr>
<tr class="memitem:a5f91d78bbfe3c9ef28e8e3c8fdf29989"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_app_console.html#a5f91d78bbfe3c9ef28e8e3c8fdf29989">OnAssertFailure</a> (const <a class="el" href="group__group__funcmacro__string.html#gad42f64d8c82f1ce4ae58773a89b2d6a7">wxChar</a> *file, int line, const <a class="el" href="group__group__funcmacro__string.html#gad42f64d8c82f1ce4ae58773a89b2d6a7">wxChar</a> *func, const <a class="el" href="group__group__funcmacro__string.html#gad42f64d8c82f1ce4ae58773a89b2d6a7">wxChar</a> *cond, const <a class="el" href="group__group__funcmacro__string.html#gad42f64d8c82f1ce4ae58773a89b2d6a7">wxChar</a> *msg)</td></tr>
<tr class="memdesc:a5f91d78bbfe3c9ef28e8e3c8fdf29989"><td class="mdescLeft"> </td><td class="mdescRight">This function is called when an assert failure occurs, i.e. the condition specified in <a class="el" href="group__group__funcmacro__debug.html#ga204cc264ee560b67e6c6467ba8ffee5f" title="Assert macro.">wxASSERT()</a> macro evaluated to <span class="literal">false</span>. <a href="#a5f91d78bbfe3c9ef28e8e3c8fdf29989"></a><br/></td></tr>
<tr class="separator:a5f91d78bbfe3c9ef28e8e3c8fdf29989"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1c8bf26b12a280fd03911caac70e3144"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_app_console.html#a1c8bf26b12a280fd03911caac70e3144">OnCmdLineError</a> (<a class="el" href="classwx_cmd_line_parser.html">wxCmdLineParser</a> &parser)</td></tr>
<tr class="memdesc:a1c8bf26b12a280fd03911caac70e3144"><td class="mdescLeft"> </td><td class="mdescRight">Called when command line parsing fails (i.e. an incorrect command line option was specified by the user). <a href="#a1c8bf26b12a280fd03911caac70e3144"></a><br/></td></tr>
<tr class="separator:a1c8bf26b12a280fd03911caac70e3144"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1d9ee414483ec30c03acde70d2dc1e3b"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_app_console.html#a1d9ee414483ec30c03acde70d2dc1e3b">OnCmdLineHelp</a> (<a class="el" href="classwx_cmd_line_parser.html">wxCmdLineParser</a> &parser)</td></tr>
<tr class="memdesc:a1d9ee414483ec30c03acde70d2dc1e3b"><td class="mdescLeft"> </td><td class="mdescRight">Called when the help option (<code>–help</code>) was specified on the command line. <a href="#a1d9ee414483ec30c03acde70d2dc1e3b"></a><br/></td></tr>
<tr class="separator:a1d9ee414483ec30c03acde70d2dc1e3b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa6a309dbbaec2f75720df2d5743cf0e0"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_app_console.html#aa6a309dbbaec2f75720df2d5743cf0e0">OnCmdLineParsed</a> (<a class="el" href="classwx_cmd_line_parser.html">wxCmdLineParser</a> &parser)</td></tr>
<tr class="memdesc:aa6a309dbbaec2f75720df2d5743cf0e0"><td class="mdescLeft"> </td><td class="mdescRight">Called after the command line had been successfully parsed. <a href="#aa6a309dbbaec2f75720df2d5743cf0e0"></a><br/></td></tr>
<tr class="separator:aa6a309dbbaec2f75720df2d5743cf0e0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa116701a3bd7700fe6979117e53ae999"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_app_console.html#aa116701a3bd7700fe6979117e53ae999">OnEventLoopEnter</a> (<a class="el" href="classwx_event_loop_base.html">wxEventLoopBase</a> *loop)</td></tr>
<tr class="memdesc:aa116701a3bd7700fe6979117e53ae999"><td class="mdescLeft"> </td><td class="mdescRight">Called by <a class="el" href="classwx_event_loop_base.html#a23646c8c2bdf2def39c856ac8ec250d8" title="Set currently active (running) event loop.">wxEventLoopBase::SetActive()</a>: you can override this function and put here the code which needs an active event loop. <a href="#aa116701a3bd7700fe6979117e53ae999"></a><br/></td></tr>
<tr class="separator:aa116701a3bd7700fe6979117e53ae999"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8f94f02a752bb416e99161710637d8f3"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_app_console.html#a8f94f02a752bb416e99161710637d8f3">OnEventLoopExit</a> (<a class="el" href="classwx_event_loop_base.html">wxEventLoopBase</a> *loop)</td></tr>
<tr class="memdesc:a8f94f02a752bb416e99161710637d8f3"><td class="mdescLeft"> </td><td class="mdescRight">Called by <a class="el" href="classwx_event_loop_base.html#aeb893bc6dbbf80f19925a9e108965669" title="This function is called before the event loop terminates, whether this happens normally (because of E...">wxEventLoopBase::OnExit()</a> for each event loop which is exited. <a href="#a8f94f02a752bb416e99161710637d8f3"></a><br/></td></tr>
<tr class="separator:a8f94f02a752bb416e99161710637d8f3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aca806b41cf74fd6166e4fb2e2708e9bf"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_app_console.html#aca806b41cf74fd6166e4fb2e2708e9bf">OnExceptionInMainLoop</a> ()</td></tr>
<tr class="memdesc:aca806b41cf74fd6166e4fb2e2708e9bf"><td class="mdescLeft"> </td><td class="mdescRight">This function is called if an unhandled exception occurs inside the main application event loop. <a href="#aca806b41cf74fd6166e4fb2e2708e9bf"></a><br/></td></tr>
<tr class="separator:aca806b41cf74fd6166e4fb2e2708e9bf"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5ee60051c92b0b2933258799626a0485"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_app_console.html#a5ee60051c92b0b2933258799626a0485">OnExit</a> ()</td></tr>
<tr class="memdesc:a5ee60051c92b0b2933258799626a0485"><td class="mdescLeft"> </td><td class="mdescRight">Override this member function for any processing which needs to be done as the application is about to exit. <a href="#a5ee60051c92b0b2933258799626a0485"></a><br/></td></tr>
<tr class="separator:a5ee60051c92b0b2933258799626a0485"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a927931aafbb7aec4debdfc02ee6f6f9d"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_app_console.html#a927931aafbb7aec4debdfc02ee6f6f9d">OnFatalException</a> ()</td></tr>
<tr class="memdesc:a927931aafbb7aec4debdfc02ee6f6f9d"><td class="mdescLeft"> </td><td class="mdescRight">This function may be called if something fatal happens: an unhandled exception under Win32 or a fatal signal under Unix, for example. <a href="#a927931aafbb7aec4debdfc02ee6f6f9d"></a><br/></td></tr>
<tr class="separator:a927931aafbb7aec4debdfc02ee6f6f9d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a99953775a2fd83fa2456e390779afe15"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_app_console.html#a99953775a2fd83fa2456e390779afe15">OnInit</a> ()</td></tr>
<tr class="memdesc:a99953775a2fd83fa2456e390779afe15"><td class="mdescLeft"> </td><td class="mdescRight">This must be provided by the application, and will usually create the application's main window, optionally calling SetTopWindow(). <a href="#a99953775a2fd83fa2456e390779afe15"></a><br/></td></tr>
<tr class="separator:a99953775a2fd83fa2456e390779afe15"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1708aeb916cbc3dc4a3333f1a6f33e04"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_app_console.html#a1708aeb916cbc3dc4a3333f1a6f33e04">OnInitCmdLine</a> (<a class="el" href="classwx_cmd_line_parser.html">wxCmdLineParser</a> &parser)</td></tr>
<tr class="memdesc:a1708aeb916cbc3dc4a3333f1a6f33e04"><td class="mdescLeft"> </td><td class="mdescRight">Called from <a class="el" href="classwx_app_console.html#a99953775a2fd83fa2456e390779afe15" title="This must be provided by the application, and will usually create the application's main window...">OnInit()</a> and may be used to initialize the parser with the command line options for this application. <a href="#a1708aeb916cbc3dc4a3333f1a6f33e04"></a><br/></td></tr>
<tr class="separator:a1708aeb916cbc3dc4a3333f1a6f33e04"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac05a28c7cdb529f2cdfe77b3431c385c"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_app_console.html#ac05a28c7cdb529f2cdfe77b3431c385c">OnRun</a> ()</td></tr>
<tr class="memdesc:ac05a28c7cdb529f2cdfe77b3431c385c"><td class="mdescLeft"> </td><td class="mdescRight">This virtual function is where the execution of a program written in wxWidgets starts. <a href="#ac05a28c7cdb529f2cdfe77b3431c385c"></a><br/></td></tr>
<tr class="separator:ac05a28c7cdb529f2cdfe77b3431c385c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8c241ae1aa045da4470664813b7ec960"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_app_console.html#a8c241ae1aa045da4470664813b7ec960">OnUnhandledException</a> ()</td></tr>
<tr class="memdesc:a8c241ae1aa045da4470664813b7ec960"><td class="mdescLeft"> </td><td class="mdescRight">This function is called when an unhandled C++ exception occurs in user code called by wxWidgets. <a href="#a8c241ae1aa045da4470664813b7ec960"></a><br/></td></tr>
<tr class="separator:a8c241ae1aa045da4470664813b7ec960"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader">Application information</div></td></tr>
<tr class="memitem:a83aa5fdf1e636dc441b62ceb95c8bf5a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_app_console.html#a83aa5fdf1e636dc441b62ceb95c8bf5a">GetAppDisplayName</a> () const </td></tr>
<tr class="memdesc:a83aa5fdf1e636dc441b62ceb95c8bf5a"><td class="mdescLeft"> </td><td class="mdescRight">Returns the user-readable application name. <a href="#a83aa5fdf1e636dc441b62ceb95c8bf5a"></a><br/></td></tr>
<tr class="separator:a83aa5fdf1e636dc441b62ceb95c8bf5a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2bfe9c53c57d61f8b115705796f258eb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_app_console.html#a2bfe9c53c57d61f8b115705796f258eb">GetAppName</a> () const </td></tr>
<tr class="memdesc:a2bfe9c53c57d61f8b115705796f258eb"><td class="mdescLeft"> </td><td class="mdescRight">Returns the application name. <a href="#a2bfe9c53c57d61f8b115705796f258eb"></a><br/></td></tr>
<tr class="separator:a2bfe9c53c57d61f8b115705796f258eb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a938d78da101d4edfbd76387ad4d221be"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_app_console.html#a938d78da101d4edfbd76387ad4d221be">GetClassName</a> () const </td></tr>
<tr class="memdesc:a938d78da101d4edfbd76387ad4d221be"><td class="mdescLeft"> </td><td class="mdescRight">Gets the class name of the application. <a href="#a938d78da101d4edfbd76387ad4d221be"></a><br/></td></tr>
<tr class="separator:a938d78da101d4edfbd76387ad4d221be"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a75ed8ce022a4ca58785f14f736853e93"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_app_traits.html">wxAppTraits</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_app_console.html#a75ed8ce022a4ca58785f14f736853e93">GetTraits</a> ()</td></tr>
<tr class="memdesc:a75ed8ce022a4ca58785f14f736853e93"><td class="mdescLeft"> </td><td class="mdescRight">Returns a pointer to the <a class="el" href="classwx_app_traits.html" title="The wxAppTraits class defines various configurable aspects of a wxApp.">wxAppTraits</a> object for the application. <a href="#a75ed8ce022a4ca58785f14f736853e93"></a><br/></td></tr>
<tr class="separator:a75ed8ce022a4ca58785f14f736853e93"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aff0e285cecca295bc6de1ad8323093df"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_app_console.html#aff0e285cecca295bc6de1ad8323093df">GetVendorDisplayName</a> () const </td></tr>
<tr class="memdesc:aff0e285cecca295bc6de1ad8323093df"><td class="mdescLeft"> </td><td class="mdescRight">Returns the user-readable vendor name. <a href="#aff0e285cecca295bc6de1ad8323093df"></a><br/></td></tr>
<tr class="separator:aff0e285cecca295bc6de1ad8323093df"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af73ec0d186dd10b7fdabb57cf097bef8"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classwx_string.html">wxString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_app_console.html#af73ec0d186dd10b7fdabb57cf097bef8">GetVendorName</a> () const </td></tr>
<tr class="memdesc:af73ec0d186dd10b7fdabb57cf097bef8"><td class="mdescLeft"> </td><td class="mdescRight">Returns the application's vendor name. <a href="#af73ec0d186dd10b7fdabb57cf097bef8"></a><br/></td></tr>
<tr class="separator:af73ec0d186dd10b7fdabb57cf097bef8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a716fee0bf023e73e80c75dc9e817a8b2"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_app_console.html#a716fee0bf023e73e80c75dc9e817a8b2">SetAppDisplayName</a> (const <a class="el" href="classwx_string.html">wxString</a> &name)</td></tr>
<tr class="memdesc:a716fee0bf023e73e80c75dc9e817a8b2"><td class="mdescLeft"> </td><td class="mdescRight">Set the application name to be used in the user-visible places such as window titles. <a href="#a716fee0bf023e73e80c75dc9e817a8b2"></a><br/></td></tr>
<tr class="separator:a716fee0bf023e73e80c75dc9e817a8b2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a31ba1a76d63a2265d981ceedbfd6d5cf"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_app_console.html#a31ba1a76d63a2265d981ceedbfd6d5cf">SetAppName</a> (const <a class="el" href="classwx_string.html">wxString</a> &name)</td></tr>
<tr class="memdesc:a31ba1a76d63a2265d981ceedbfd6d5cf"><td class="mdescLeft"> </td><td class="mdescRight">Sets the name of the application. <a href="#a31ba1a76d63a2265d981ceedbfd6d5cf"></a><br/></td></tr>
<tr class="separator:a31ba1a76d63a2265d981ceedbfd6d5cf"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aabcfbdc9d4ec3f31fe14589eee873960"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_app_console.html#aabcfbdc9d4ec3f31fe14589eee873960">SetClassName</a> (const <a class="el" href="classwx_string.html">wxString</a> &name)</td></tr>
<tr class="memdesc:aabcfbdc9d4ec3f31fe14589eee873960"><td class="mdescLeft"> </td><td class="mdescRight">Sets the class name of the application. <a href="#aabcfbdc9d4ec3f31fe14589eee873960"></a><br/></td></tr>
<tr class="separator:aabcfbdc9d4ec3f31fe14589eee873960"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5ad4d1e383bc2fbb2d1c12f118140d4a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_app_console.html#a5ad4d1e383bc2fbb2d1c12f118140d4a">SetVendorDisplayName</a> (const <a class="el" href="classwx_string.html">wxString</a> &name)</td></tr>
<tr class="memdesc:a5ad4d1e383bc2fbb2d1c12f118140d4a"><td class="mdescLeft"> </td><td class="mdescRight">Set the vendor name to be used in the user-visible places. <a href="#a5ad4d1e383bc2fbb2d1c12f118140d4a"></a><br/></td></tr>
<tr class="separator:a5ad4d1e383bc2fbb2d1c12f118140d4a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afc276a78f5ad56d4f34fcf0e93872913"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_app_console.html#afc276a78f5ad56d4f34fcf0e93872913">SetVendorName</a> (const <a class="el" href="classwx_string.html">wxString</a> &name)</td></tr>
<tr class="memdesc:afc276a78f5ad56d4f34fcf0e93872913"><td class="mdescLeft"> </td><td class="mdescRight">Sets the name of application's vendor. <a href="#afc276a78f5ad56d4f34fcf0e93872913"></a><br/></td></tr>
<tr class="separator:afc276a78f5ad56d4f34fcf0e93872913"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classwx_evt_handler"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classwx_evt_handler')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classwx_evt_handler.html">wxEvtHandler</a></td></tr>
<tr class="memitem:a3f0166c4154227d05575b01eb2c8d4be inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a3f0166c4154227d05575b01eb2c8d4be">wxEvtHandler</a> ()</td></tr>
<tr class="memdesc:a3f0166c4154227d05575b01eb2c8d4be inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#a3f0166c4154227d05575b01eb2c8d4be"></a><br/></td></tr>
<tr class="separator:a3f0166c4154227d05575b01eb2c8d4be inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a372d2239d91521eddc8fd2715fcab584 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a372d2239d91521eddc8fd2715fcab584">~wxEvtHandler</a> ()</td></tr>
<tr class="memdesc:a372d2239d91521eddc8fd2715fcab584 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#a372d2239d91521eddc8fd2715fcab584"></a><br/></td></tr>
<tr class="separator:a372d2239d91521eddc8fd2715fcab584 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acffd03bf407a856166ea71ef0318b59a inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#acffd03bf407a856166ea71ef0318b59a">QueueEvent</a> (<a class="el" href="classwx_event.html">wxEvent</a> *event)</td></tr>
<tr class="memdesc:acffd03bf407a856166ea71ef0318b59a inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Queue event for a later processing. <a href="#acffd03bf407a856166ea71ef0318b59a"></a><br/></td></tr>
<tr class="separator:acffd03bf407a856166ea71ef0318b59a inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0737c6d2cbcd5ded4b1ecdd53ed0def3 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a0737c6d2cbcd5ded4b1ecdd53ed0def3">AddPendingEvent</a> (const <a class="el" href="classwx_event.html">wxEvent</a> &event)</td></tr>
<tr class="memdesc:a0737c6d2cbcd5ded4b1ecdd53ed0def3 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Post an event to be processed later. <a href="#a0737c6d2cbcd5ded4b1ecdd53ed0def3"></a><br/></td></tr>
<tr class="separator:a0737c6d2cbcd5ded4b1ecdd53ed0def3 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a63c7351618fd77330d80a250b3719519 inherit pub_methods_classwx_evt_handler"><td class="memTemplParams" colspan="2">template<typename T , typename T1 , ... > </td></tr>
<tr class="memitem:a63c7351618fd77330d80a250b3719519 inherit pub_methods_classwx_evt_handler"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a63c7351618fd77330d80a250b3719519">CallAfter</a> (void(T::*method)(T1,...), T1 x1,...)</td></tr>
<tr class="memdesc:a63c7351618fd77330d80a250b3719519 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Asynchronously call the given method. <a href="#a63c7351618fd77330d80a250b3719519"></a><br/></td></tr>
<tr class="separator:a63c7351618fd77330d80a250b3719519 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a910416e4d0b1f38cec02213b8a0c6a12 inherit pub_methods_classwx_evt_handler"><td class="memTemplParams" colspan="2">template<typename T > </td></tr>
<tr class="memitem:a910416e4d0b1f38cec02213b8a0c6a12 inherit pub_methods_classwx_evt_handler"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a910416e4d0b1f38cec02213b8a0c6a12">CallAfter</a> (const T &functor)</td></tr>
<tr class="memdesc:a910416e4d0b1f38cec02213b8a0c6a12 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Asynchronously call the given functor. <a href="#a910416e4d0b1f38cec02213b8a0c6a12"></a><br/></td></tr>
<tr class="separator:a910416e4d0b1f38cec02213b8a0c6a12 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a65968dd27f3aac7718f2dd6b2ddd5a08 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a65968dd27f3aac7718f2dd6b2ddd5a08">ProcessEvent</a> (<a class="el" href="classwx_event.html">wxEvent</a> &event)</td></tr>
<tr class="memdesc:a65968dd27f3aac7718f2dd6b2ddd5a08 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Processes an event, searching event tables and calling zero or more suitable event handler function(s). <a href="#a65968dd27f3aac7718f2dd6b2ddd5a08"></a><br/></td></tr>
<tr class="separator:a65968dd27f3aac7718f2dd6b2ddd5a08 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac0f5d2cb29a04c1f7f82eb6b351f79fb inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#ac0f5d2cb29a04c1f7f82eb6b351f79fb">ProcessEventLocally</a> (<a class="el" href="classwx_event.html">wxEvent</a> &event)</td></tr>
<tr class="memdesc:ac0f5d2cb29a04c1f7f82eb6b351f79fb inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Try to process the event in this handler and all those chained to it. <a href="#ac0f5d2cb29a04c1f7f82eb6b351f79fb"></a><br/></td></tr>
<tr class="separator:ac0f5d2cb29a04c1f7f82eb6b351f79fb inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8205cb1a5a00d8b550b3ead22266b16b inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a8205cb1a5a00d8b550b3ead22266b16b">SafelyProcessEvent</a> (<a class="el" href="classwx_event.html">wxEvent</a> &event)</td></tr>
<tr class="memdesc:a8205cb1a5a00d8b550b3ead22266b16b inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Processes an event by calling <a class="el" href="classwx_evt_handler.html#a65968dd27f3aac7718f2dd6b2ddd5a08" title="Processes an event, searching event tables and calling zero or more suitable event handler function(s...">ProcessEvent()</a> and handles any exceptions that occur in the process. <a href="#a8205cb1a5a00d8b550b3ead22266b16b"></a><br/></td></tr>
<tr class="separator:a8205cb1a5a00d8b550b3ead22266b16b inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6f643dbdcf8e914ae1c8b70dd305e6f2 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a6f643dbdcf8e914ae1c8b70dd305e6f2">ProcessPendingEvents</a> ()</td></tr>
<tr class="memdesc:a6f643dbdcf8e914ae1c8b70dd305e6f2 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Processes the pending events previously queued using <a class="el" href="classwx_evt_handler.html#acffd03bf407a856166ea71ef0318b59a" title="Queue event for a later processing.">QueueEvent()</a> or <a class="el" href="classwx_evt_handler.html#a0737c6d2cbcd5ded4b1ecdd53ed0def3" title="Post an event to be processed later.">AddPendingEvent()</a>; you must call this function only if you are sure there are pending events for this handler, otherwise a <code>wxCHECK</code> will fail. <a href="#a6f643dbdcf8e914ae1c8b70dd305e6f2"></a><br/></td></tr>
<tr class="separator:a6f643dbdcf8e914ae1c8b70dd305e6f2 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6e7f9cf4ebd0623c1d94979855d096f8 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a6e7f9cf4ebd0623c1d94979855d096f8">DeletePendingEvents</a> ()</td></tr>
<tr class="memdesc:a6e7f9cf4ebd0623c1d94979855d096f8 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Deletes all events queued on this event handler using <a class="el" href="classwx_evt_handler.html#acffd03bf407a856166ea71ef0318b59a" title="Queue event for a later processing.">QueueEvent()</a> or <a class="el" href="classwx_evt_handler.html#a0737c6d2cbcd5ded4b1ecdd53ed0def3" title="Post an event to be processed later.">AddPendingEvent()</a>. <a href="#a6e7f9cf4ebd0623c1d94979855d096f8"></a><br/></td></tr>
<tr class="separator:a6e7f9cf4ebd0623c1d94979855d096f8 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3c07426130d2868a5ae7fa918a251f49 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a3c07426130d2868a5ae7fa918a251f49">SearchEventTable</a> (wxEventTable &table, <a class="el" href="classwx_event.html">wxEvent</a> &event)</td></tr>
<tr class="memdesc:a3c07426130d2868a5ae7fa918a251f49 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Searches the event table, executing an event handler function if an appropriate one is found. <a href="#a3c07426130d2868a5ae7fa918a251f49"></a><br/></td></tr>
<tr class="separator:a3c07426130d2868a5ae7fa918a251f49 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a78719e8b82c9f9c6e4056b3449df1943 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a78719e8b82c9f9c6e4056b3449df1943">Connect</a> (int id, int lastId, <a class="el" href="group__group__funcmacro__events.html#ga6a7fd172612c0d6d9029bfa3aa91aca0">wxEventType</a> eventType, wxObjectEventFunction function, <a class="el" href="classwx_object.html">wxObject</a> *userData=NULL, <a class="el" href="classwx_evt_handler.html">wxEvtHandler</a> *eventSink=NULL)</td></tr>
<tr class="memdesc:a78719e8b82c9f9c6e4056b3449df1943 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Connects the given function dynamically with the event handler, id and event type. <a href="#a78719e8b82c9f9c6e4056b3449df1943"></a><br/></td></tr>
<tr class="separator:a78719e8b82c9f9c6e4056b3449df1943 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1e8b5fc4c7e7f6d32d40bc00d4108ba4 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a1e8b5fc4c7e7f6d32d40bc00d4108ba4">Connect</a> (int id, <a class="el" href="group__group__funcmacro__events.html#ga6a7fd172612c0d6d9029bfa3aa91aca0">wxEventType</a> eventType, wxObjectEventFunction function, <a class="el" href="classwx_object.html">wxObject</a> *userData=NULL, <a class="el" href="classwx_evt_handler.html">wxEvtHandler</a> *eventSink=NULL)</td></tr>
<tr class="memdesc:a1e8b5fc4c7e7f6d32d40bc00d4108ba4 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">See the <a class="el" href="classwx_evt_handler.html#a78719e8b82c9f9c6e4056b3449df1943" title="Connects the given function dynamically with the event handler, id and event type.">Connect(int, int, wxEventType, wxObjectEventFunction, wxObject*, wxEvtHandler*)</a> overload for more info. <a href="#a1e8b5fc4c7e7f6d32d40bc00d4108ba4"></a><br/></td></tr>
<tr class="separator:a1e8b5fc4c7e7f6d32d40bc00d4108ba4 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa290d9b67348e74c1da8497955a4e35c inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#aa290d9b67348e74c1da8497955a4e35c">Connect</a> (<a class="el" href="group__group__funcmacro__events.html#ga6a7fd172612c0d6d9029bfa3aa91aca0">wxEventType</a> eventType, wxObjectEventFunction function, <a class="el" href="classwx_object.html">wxObject</a> *userData=NULL, <a class="el" href="classwx_evt_handler.html">wxEvtHandler</a> *eventSink=NULL)</td></tr>
<tr class="memdesc:aa290d9b67348e74c1da8497955a4e35c inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">See the <a class="el" href="classwx_evt_handler.html#a78719e8b82c9f9c6e4056b3449df1943" title="Connects the given function dynamically with the event handler, id and event type.">Connect(int, int, wxEventType, wxObjectEventFunction, wxObject*, wxEvtHandler*)</a> overload for more info. <a href="#aa290d9b67348e74c1da8497955a4e35c"></a><br/></td></tr>
<tr class="separator:aa290d9b67348e74c1da8497955a4e35c inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a13061cf0ed01ac10a804ac057ef4bdbc inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a13061cf0ed01ac10a804ac057ef4bdbc">Disconnect</a> (<a class="el" href="group__group__funcmacro__events.html#ga6a7fd172612c0d6d9029bfa3aa91aca0">wxEventType</a> eventType, wxObjectEventFunction function, <a class="el" href="classwx_object.html">wxObject</a> *userData=NULL, <a class="el" href="classwx_evt_handler.html">wxEvtHandler</a> *eventSink=NULL)</td></tr>
<tr class="memdesc:a13061cf0ed01ac10a804ac057ef4bdbc inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Disconnects the given function dynamically from the event handler, using the specified parameters as search criteria and returning <span class="literal">true</span> if a matching function has been found and removed. <a href="#a13061cf0ed01ac10a804ac057ef4bdbc"></a><br/></td></tr>
<tr class="separator:a13061cf0ed01ac10a804ac057ef4bdbc inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2f171e19444b9c4034c5e11f24fa9c91 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a2f171e19444b9c4034c5e11f24fa9c91">Disconnect</a> (int id=<a class="el" href="defs_8h.html#ac66d0a09761e7d86b2ac0b2e0c6a8cbba1f375b01ea03a713bbb7e32a36a2589c">wxID_ANY</a>, <a class="el" href="group__group__funcmacro__events.html#ga6a7fd172612c0d6d9029bfa3aa91aca0">wxEventType</a> eventType=<a class="el" href="group__group__funcmacro__events.html#ga310bc3f7977ae79ac1198c7a287dbffe">wxEVT_NULL</a>, wxObjectEventFunction function=NULL, <a class="el" href="classwx_object.html">wxObject</a> *userData=NULL, <a class="el" href="classwx_evt_handler.html">wxEvtHandler</a> *eventSink=NULL)</td></tr>
<tr class="memdesc:a2f171e19444b9c4034c5e11f24fa9c91 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">See the <a class="el" href="classwx_evt_handler.html#a13061cf0ed01ac10a804ac057ef4bdbc" title="Disconnects the given function dynamically from the event handler, using the specified parameters as ...">Disconnect(wxEventType, wxObjectEventFunction, wxObject*, wxEvtHandler*)</a> overload for more info. <a href="#a2f171e19444b9c4034c5e11f24fa9c91"></a><br/></td></tr>
<tr class="separator:a2f171e19444b9c4034c5e11f24fa9c91 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a16a6f823853e4b74b43dd9a2cf3abee6 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a16a6f823853e4b74b43dd9a2cf3abee6">Disconnect</a> (int id, int lastId, <a class="el" href="group__group__funcmacro__events.html#ga6a7fd172612c0d6d9029bfa3aa91aca0">wxEventType</a> eventType, wxObjectEventFunction function=NULL, <a class="el" href="classwx_object.html">wxObject</a> *userData=NULL, <a class="el" href="classwx_evt_handler.html">wxEvtHandler</a> *eventSink=NULL)</td></tr>
<tr class="memdesc:a16a6f823853e4b74b43dd9a2cf3abee6 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">See the <a class="el" href="classwx_evt_handler.html#a13061cf0ed01ac10a804ac057ef4bdbc" title="Disconnects the given function dynamically from the event handler, using the specified parameters as ...">Disconnect(wxEventType, wxObjectEventFunction, wxObject*, wxEvtHandler*)</a> overload for more info. <a href="#a16a6f823853e4b74b43dd9a2cf3abee6"></a><br/></td></tr>
<tr class="separator:a16a6f823853e4b74b43dd9a2cf3abee6 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0f30c8fa5583b4a5f661897d63de3b62 inherit pub_methods_classwx_evt_handler"><td class="memTemplParams" colspan="2">template<typename EventTag , typename Functor > </td></tr>
<tr class="memitem:a0f30c8fa5583b4a5f661897d63de3b62 inherit pub_methods_classwx_evt_handler"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a0f30c8fa5583b4a5f661897d63de3b62">Bind</a> (const EventTag &eventType, Functor functor, int id=<a class="el" href="defs_8h.html#ac66d0a09761e7d86b2ac0b2e0c6a8cbba1f375b01ea03a713bbb7e32a36a2589c">wxID_ANY</a>, int lastId=<a class="el" href="defs_8h.html#ac66d0a09761e7d86b2ac0b2e0c6a8cbba1f375b01ea03a713bbb7e32a36a2589c">wxID_ANY</a>, <a class="el" href="classwx_object.html">wxObject</a> *userData=NULL)</td></tr>
<tr class="memdesc:a0f30c8fa5583b4a5f661897d63de3b62 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Binds the given function, functor or method dynamically with the event. <a href="#a0f30c8fa5583b4a5f661897d63de3b62"></a><br/></td></tr>
<tr class="separator:a0f30c8fa5583b4a5f661897d63de3b62 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a03cc68ca201fb79c7e837919025be71a inherit pub_methods_classwx_evt_handler"><td class="memTemplParams" colspan="2">template<typename EventTag , typename Class , typename EventArg , typename EventHandler > </td></tr>
<tr class="memitem:a03cc68ca201fb79c7e837919025be71a inherit pub_methods_classwx_evt_handler"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a03cc68ca201fb79c7e837919025be71a">Bind</a> (const EventTag &eventType, void(Class::*method)(EventArg &), EventHandler *handler, int id=<a class="el" href="defs_8h.html#ac66d0a09761e7d86b2ac0b2e0c6a8cbba1f375b01ea03a713bbb7e32a36a2589c">wxID_ANY</a>, int lastId=<a class="el" href="defs_8h.html#ac66d0a09761e7d86b2ac0b2e0c6a8cbba1f375b01ea03a713bbb7e32a36a2589c">wxID_ANY</a>, <a class="el" href="classwx_object.html">wxObject</a> *userData=NULL)</td></tr>
<tr class="memdesc:a03cc68ca201fb79c7e837919025be71a inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">See the <a class="el" href="classwx_evt_handler.html#a0f30c8fa5583b4a5f661897d63de3b62" title="Binds the given function, functor or method dynamically with the event.">Bind<>(const EventTag&, Functor, int, int, wxObject*)</a> overload for more info. <a href="#a03cc68ca201fb79c7e837919025be71a"></a><br/></td></tr>
<tr class="separator:a03cc68ca201fb79c7e837919025be71a inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2b7df8272075a96daea78cdd799c00da inherit pub_methods_classwx_evt_handler"><td class="memTemplParams" colspan="2">template<typename EventTag , typename Functor > </td></tr>
<tr class="memitem:a2b7df8272075a96daea78cdd799c00da inherit pub_methods_classwx_evt_handler"><td class="memTemplItemLeft" align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a2b7df8272075a96daea78cdd799c00da">Unbind</a> (const EventTag &eventType, Functor functor, int id=<a class="el" href="defs_8h.html#ac66d0a09761e7d86b2ac0b2e0c6a8cbba1f375b01ea03a713bbb7e32a36a2589c">wxID_ANY</a>, int lastId=<a class="el" href="defs_8h.html#ac66d0a09761e7d86b2ac0b2e0c6a8cbba1f375b01ea03a713bbb7e32a36a2589c">wxID_ANY</a>, <a class="el" href="classwx_object.html">wxObject</a> *userData=NULL)</td></tr>
<tr class="memdesc:a2b7df8272075a96daea78cdd799c00da inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Unbinds the given function, functor or method dynamically from the event handler, using the specified parameters as search criteria and returning <span class="literal">true</span> if a matching function has been found and removed. <a href="#a2b7df8272075a96daea78cdd799c00da"></a><br/></td></tr>
<tr class="separator:a2b7df8272075a96daea78cdd799c00da inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa49f9c4ad4462456b4fe4bd1ab53533d inherit pub_methods_classwx_evt_handler"><td class="memTemplParams" colspan="2">template<typename EventTag , typename Class , typename EventArg , typename EventHandler > </td></tr>
<tr class="memitem:aa49f9c4ad4462456b4fe4bd1ab53533d inherit pub_methods_classwx_evt_handler"><td class="memTemplItemLeft" align="right" valign="top">bool </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#aa49f9c4ad4462456b4fe4bd1ab53533d">Unbind</a> (const EventTag &eventType, void(Class::*method)(EventArg &), EventHandler *handler, int id=<a class="el" href="defs_8h.html#ac66d0a09761e7d86b2ac0b2e0c6a8cbba1f375b01ea03a713bbb7e32a36a2589c">wxID_ANY</a>, int lastId=<a class="el" href="defs_8h.html#ac66d0a09761e7d86b2ac0b2e0c6a8cbba1f375b01ea03a713bbb7e32a36a2589c">wxID_ANY</a>, <a class="el" href="classwx_object.html">wxObject</a> *userData=NULL)</td></tr>
<tr class="memdesc:aa49f9c4ad4462456b4fe4bd1ab53533d inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">See the <a class="el" href="classwx_evt_handler.html#a2b7df8272075a96daea78cdd799c00da" title="Unbinds the given function, functor or method dynamically from the event handler, using the specified...">Unbind<>(const EventTag&, Functor, int, int, wxObject*)</a> overload for more info. <a href="#aa49f9c4ad4462456b4fe4bd1ab53533d"></a><br/></td></tr>
<tr class="separator:aa49f9c4ad4462456b4fe4bd1ab53533d inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad6e543115a9405962152630138645588 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#ad6e543115a9405962152630138645588">GetClientData</a> () const </td></tr>
<tr class="memdesc:ad6e543115a9405962152630138645588 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Returns user-supplied client data. <a href="#ad6e543115a9405962152630138645588"></a><br/></td></tr>
<tr class="separator:ad6e543115a9405962152630138645588 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2b3949eaba1f25cb48618163a7c0583b inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_client_data.html">wxClientData</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a2b3949eaba1f25cb48618163a7c0583b">GetClientObject</a> () const </td></tr>
<tr class="memdesc:a2b3949eaba1f25cb48618163a7c0583b inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Returns a pointer to the user-supplied client data object. <a href="#a2b3949eaba1f25cb48618163a7c0583b"></a><br/></td></tr>
<tr class="separator:a2b3949eaba1f25cb48618163a7c0583b inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a82c74f2cebfa02cb3c1563d459c872bf inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a82c74f2cebfa02cb3c1563d459c872bf">SetClientData</a> (void *data)</td></tr>
<tr class="memdesc:a82c74f2cebfa02cb3c1563d459c872bf inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Sets user-supplied client data. <a href="#a82c74f2cebfa02cb3c1563d459c872bf"></a><br/></td></tr>
<tr class="separator:a82c74f2cebfa02cb3c1563d459c872bf inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af1e33a06087b8b2ddc43c7d15a91b326 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#af1e33a06087b8b2ddc43c7d15a91b326">SetClientObject</a> (<a class="el" href="classwx_client_data.html">wxClientData</a> *data)</td></tr>
<tr class="memdesc:af1e33a06087b8b2ddc43c7d15a91b326 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Set the client data object. <a href="#af1e33a06087b8b2ddc43c7d15a91b326"></a><br/></td></tr>
<tr class="separator:af1e33a06087b8b2ddc43c7d15a91b326 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a533e62afcb125abf1fcc8bb53fbc2e81 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a533e62afcb125abf1fcc8bb53fbc2e81">GetEvtHandlerEnabled</a> () const </td></tr>
<tr class="memdesc:a533e62afcb125abf1fcc8bb53fbc2e81 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Returns <span class="literal">true</span> if the event handler is enabled, <span class="literal">false</span> otherwise. <a href="#a533e62afcb125abf1fcc8bb53fbc2e81"></a><br/></td></tr>
<tr class="separator:a533e62afcb125abf1fcc8bb53fbc2e81 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4b2f853f5c7a64432ae72f9b606698f9 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_evt_handler.html">wxEvtHandler</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a4b2f853f5c7a64432ae72f9b606698f9">GetNextHandler</a> () const </td></tr>
<tr class="memdesc:a4b2f853f5c7a64432ae72f9b606698f9 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Returns the pointer to the next handler in the chain. <a href="#a4b2f853f5c7a64432ae72f9b606698f9"></a><br/></td></tr>
<tr class="separator:a4b2f853f5c7a64432ae72f9b606698f9 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aad1ba7fa9ccbf12ee2d80f5f12350adb inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_evt_handler.html">wxEvtHandler</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#aad1ba7fa9ccbf12ee2d80f5f12350adb">GetPreviousHandler</a> () const </td></tr>
<tr class="memdesc:aad1ba7fa9ccbf12ee2d80f5f12350adb inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Returns the pointer to the previous handler in the chain. <a href="#aad1ba7fa9ccbf12ee2d80f5f12350adb"></a><br/></td></tr>
<tr class="separator:aad1ba7fa9ccbf12ee2d80f5f12350adb inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7388ae19c8657e5656471b658c320036 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a7388ae19c8657e5656471b658c320036">SetEvtHandlerEnabled</a> (bool enabled)</td></tr>
<tr class="memdesc:a7388ae19c8657e5656471b658c320036 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Enables or disables the event handler. <a href="#a7388ae19c8657e5656471b658c320036"></a><br/></td></tr>
<tr class="separator:a7388ae19c8657e5656471b658c320036 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a68e2ef2d2b7d68c4c9c18ca92933031b inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a68e2ef2d2b7d68c4c9c18ca92933031b">SetNextHandler</a> (<a class="el" href="classwx_evt_handler.html">wxEvtHandler</a> *handler)</td></tr>
<tr class="memdesc:a68e2ef2d2b7d68c4c9c18ca92933031b inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Sets the pointer to the next handler. <a href="#a68e2ef2d2b7d68c4c9c18ca92933031b"></a><br/></td></tr>
<tr class="separator:a68e2ef2d2b7d68c4c9c18ca92933031b inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aff0d1836464be82e2ad723ad3a58eccc inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#aff0d1836464be82e2ad723ad3a58eccc">SetPreviousHandler</a> (<a class="el" href="classwx_evt_handler.html">wxEvtHandler</a> *handler)</td></tr>
<tr class="memdesc:aff0d1836464be82e2ad723ad3a58eccc inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Sets the pointer to the previous handler. <a href="#aff0d1836464be82e2ad723ad3a58eccc"></a><br/></td></tr>
<tr class="separator:aff0d1836464be82e2ad723ad3a58eccc inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a22e5db2ec1d19c8252c056fd116975d7 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a22e5db2ec1d19c8252c056fd116975d7">Unlink</a> ()</td></tr>
<tr class="memdesc:a22e5db2ec1d19c8252c056fd116975d7 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Unlinks this event handler from the chain it's part of (if any); then links the "previous" event handler to the "next" one (so that the chain won't be interrupted). <a href="#a22e5db2ec1d19c8252c056fd116975d7"></a><br/></td></tr>
<tr class="separator:a22e5db2ec1d19c8252c056fd116975d7 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a360fdeefcf53b62fb49fb828406bb8a6 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a360fdeefcf53b62fb49fb828406bb8a6">IsUnlinked</a> () const </td></tr>
<tr class="memdesc:a360fdeefcf53b62fb49fb828406bb8a6 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Returns <span class="literal">true</span> if the next and the previous handler pointers of this event handler instance are <span class="literal">NULL</span>. <a href="#a360fdeefcf53b62fb49fb828406bb8a6"></a><br/></td></tr>
<tr class="separator:a360fdeefcf53b62fb49fb828406bb8a6 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classwx_object"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classwx_object')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classwx_object.html">wxObject</a></td></tr>
<tr class="memitem:acaa378363a28af421ab56ad7b46eadf0 inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#acaa378363a28af421ab56ad7b46eadf0">wxObject</a> ()</td></tr>
<tr class="memdesc:acaa378363a28af421ab56ad7b46eadf0 inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Default ctor; initializes to <span class="literal">NULL</span> the internal reference data. <a href="#acaa378363a28af421ab56ad7b46eadf0"></a><br/></td></tr>
<tr class="separator:acaa378363a28af421ab56ad7b46eadf0 inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4721b4dc9b7aff0f30904ba2ea3954cf inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a4721b4dc9b7aff0f30904ba2ea3954cf">wxObject</a> (const <a class="el" href="classwx_object.html">wxObject</a> &other)</td></tr>
<tr class="memdesc:a4721b4dc9b7aff0f30904ba2ea3954cf inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Copy ctor. <a href="#a4721b4dc9b7aff0f30904ba2ea3954cf"></a><br/></td></tr>
<tr class="separator:a4721b4dc9b7aff0f30904ba2ea3954cf inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2a51aa8bfbab47ca2f051bcf84b3f35b inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a2a51aa8bfbab47ca2f051bcf84b3f35b">~wxObject</a> ()</td></tr>
<tr class="memdesc:a2a51aa8bfbab47ca2f051bcf84b3f35b inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#a2a51aa8bfbab47ca2f051bcf84b3f35b"></a><br/></td></tr>
<tr class="separator:a2a51aa8bfbab47ca2f051bcf84b3f35b inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab3a0c6f723cbaddb47be4e8dd98cc8e2 inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_class_info.html">wxClassInfo</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#ab3a0c6f723cbaddb47be4e8dd98cc8e2">GetClassInfo</a> () const </td></tr>
<tr class="memdesc:ab3a0c6f723cbaddb47be4e8dd98cc8e2 inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">This virtual function is redefined for every class that requires run-time type information, when using the <a class="el" href="group__group__funcmacro__rtti.html#ga20465fc7e022e29a5dacfad46e152e75" title="Used inside a class declaration to declare that the class should be made known to the class hierarchy...">wxDECLARE_CLASS</a> macro (or similar). <a href="#ab3a0c6f723cbaddb47be4e8dd98cc8e2"></a><br/></td></tr>
<tr class="separator:ab3a0c6f723cbaddb47be4e8dd98cc8e2 inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aabdb4fc957226544a8408167844e4f42 inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_object_ref_data.html">wxObjectRefData</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#aabdb4fc957226544a8408167844e4f42">GetRefData</a> () const </td></tr>
<tr class="memdesc:aabdb4fc957226544a8408167844e4f42 inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <a class="el" href="classwx_object.html#a9e31954530a0abd54982effc443ed2b8" title="Pointer to an object which is the object's reference-counted data.">wxObject::m_refData</a> pointer, i.e. the data referenced by this object. <a href="#aabdb4fc957226544a8408167844e4f42"></a><br/></td></tr>
<tr class="separator:aabdb4fc957226544a8408167844e4f42 inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af40d580385cf4f8112fae7713404b01e inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#af40d580385cf4f8112fae7713404b01e">IsKindOf</a> (const <a class="el" href="classwx_class_info.html">wxClassInfo</a> *info) const </td></tr>
<tr class="memdesc:af40d580385cf4f8112fae7713404b01e inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Determines whether this class is a subclass of (or the same class as) the given class. <a href="#af40d580385cf4f8112fae7713404b01e"></a><br/></td></tr>
<tr class="separator:af40d580385cf4f8112fae7713404b01e inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a80a1a3fda7b14396a9ddd3d7a46a88bd inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a80a1a3fda7b14396a9ddd3d7a46a88bd">IsSameAs</a> (const <a class="el" href="classwx_object.html">wxObject</a> &obj) const </td></tr>
<tr class="memdesc:a80a1a3fda7b14396a9ddd3d7a46a88bd inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Returns <span class="literal">true</span> if this object has the same data pointer as <em>obj</em>. <a href="#a80a1a3fda7b14396a9ddd3d7a46a88bd"></a><br/></td></tr>
<tr class="separator:a80a1a3fda7b14396a9ddd3d7a46a88bd inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2f6f1aa51fe9fc2b1415ca4211a90e9e inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a2f6f1aa51fe9fc2b1415ca4211a90e9e">Ref</a> (const <a class="el" href="classwx_object.html">wxObject</a> &clone)</td></tr>
<tr class="memdesc:a2f6f1aa51fe9fc2b1415ca4211a90e9e inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Makes this object refer to the data in <em>clone</em>. <a href="#a2f6f1aa51fe9fc2b1415ca4211a90e9e"></a><br/></td></tr>
<tr class="separator:a2f6f1aa51fe9fc2b1415ca4211a90e9e inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afab780710f2adc1bb33310e27590140b inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#afab780710f2adc1bb33310e27590140b">SetRefData</a> (<a class="el" href="classwx_object_ref_data.html">wxObjectRefData</a> *data)</td></tr>
<tr class="memdesc:afab780710f2adc1bb33310e27590140b inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Sets the <a class="el" href="classwx_object.html#a9e31954530a0abd54982effc443ed2b8" title="Pointer to an object which is the object's reference-counted data.">wxObject::m_refData</a> pointer. <a href="#afab780710f2adc1bb33310e27590140b"></a><br/></td></tr>
<tr class="separator:afab780710f2adc1bb33310e27590140b inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af51efc6b1ae632fc7f0cd7ebbce9fa36 inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#af51efc6b1ae632fc7f0cd7ebbce9fa36">UnRef</a> ()</td></tr>
<tr class="memdesc:af51efc6b1ae632fc7f0cd7ebbce9fa36 inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Decrements the reference count in the associated data, and if it is zero, deletes the data. <a href="#af51efc6b1ae632fc7f0cd7ebbce9fa36"></a><br/></td></tr>
<tr class="separator:af51efc6b1ae632fc7f0cd7ebbce9fa36 inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a74b40e42d19a4b9e9bec0b57d62a5725 inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a74b40e42d19a4b9e9bec0b57d62a5725">UnShare</a> ()</td></tr>
<tr class="memdesc:a74b40e42d19a4b9e9bec0b57d62a5725 inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">This is the same of <a class="el" href="classwx_object.html#a60204063f3cc3aa2fa1c7ff5bda9eb13" title="Ensure that this object's data is not shared with any other object.">AllocExclusive()</a> but this method is public. <a href="#a74b40e42d19a4b9e9bec0b57d62a5725"></a><br/></td></tr>
<tr class="separator:a74b40e42d19a4b9e9bec0b57d62a5725 inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a07b8f34f5afc5743195c5fed052f55d3 inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a07b8f34f5afc5743195c5fed052f55d3">operator delete</a> (void *buf)</td></tr>
<tr class="memdesc:a07b8f34f5afc5743195c5fed052f55d3 inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">The <em>delete</em> operator is defined for debugging versions of the library only, when the identifier <code><b>WXDEBUG</b></code> is defined. <a href="#a07b8f34f5afc5743195c5fed052f55d3"></a><br/></td></tr>
<tr class="separator:a07b8f34f5afc5743195c5fed052f55d3 inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a96fa423a1dbc212c8227a5d83825971f inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a96fa423a1dbc212c8227a5d83825971f">operator new</a> (size_t size, const <a class="el" href="classwx_string.html">wxString</a> &filename=NULL, int lineNum=0)</td></tr>
<tr class="memdesc:a96fa423a1dbc212c8227a5d83825971f inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">The <em>new</em> operator is defined for debugging versions of the library only, when the identifier <code><b>WXDEBUG</b></code> is defined. <a href="#a96fa423a1dbc212c8227a5d83825971f"></a><br/></td></tr>
<tr class="separator:a96fa423a1dbc212c8227a5d83825971f inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classwx_event_filter"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classwx_event_filter')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classwx_event_filter.html">wxEventFilter</a></td></tr>
<tr class="memitem:a1bd4a99149877bdac06ec5e20c1b997c inherit pub_methods_classwx_event_filter"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_event_filter.html#a1bd4a99149877bdac06ec5e20c1b997c">wxEventFilter</a> ()</td></tr>
<tr class="memdesc:a1bd4a99149877bdac06ec5e20c1b997c inherit pub_methods_classwx_event_filter"><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <a href="#a1bd4a99149877bdac06ec5e20c1b997c"></a><br/></td></tr>
<tr class="separator:a1bd4a99149877bdac06ec5e20c1b997c inherit pub_methods_classwx_event_filter"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a30dd4950835241d658ee6cc5d99b4abc inherit pub_methods_classwx_event_filter"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_event_filter.html#a30dd4950835241d658ee6cc5d99b4abc">~wxEventFilter</a> ()</td></tr>
<tr class="memdesc:a30dd4950835241d658ee6cc5d99b4abc inherit pub_methods_classwx_event_filter"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#a30dd4950835241d658ee6cc5d99b4abc"></a><br/></td></tr>
<tr class="separator:a30dd4950835241d658ee6cc5d99b4abc inherit pub_methods_classwx_event_filter"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a7ca751aa37cd3f920e20d9d967ad413d"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_app_console.html#a7ca751aa37cd3f920e20d9d967ad413d">SetInstance</a> (<a class="el" href="classwx_app_console.html">wxAppConsole</a> *app)</td></tr>
<tr class="memdesc:a7ca751aa37cd3f920e20d9d967ad413d"><td class="mdescLeft"> </td><td class="mdescRight">Allows external code to modify global <a class="el" href="interface_2wx_2app_8h.html#a01fd2cb0a8fbaade87800e71a50e855d" title="The global pointer to the singleton wxApp object.">wxTheApp</a>, but you should really know what you're doing if you call it. <a href="#a7ca751aa37cd3f920e20d9d967ad413d"></a><br/></td></tr>
<tr class="separator:a7ca751aa37cd3f920e20d9d967ad413d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2cb953d248e41fd5bdb95ade98311ad3"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classwx_app_console.html">wxAppConsole</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_app_console.html#a2cb953d248e41fd5bdb95ade98311ad3">GetInstance</a> ()</td></tr>
<tr class="memdesc:a2cb953d248e41fd5bdb95ade98311ad3"><td class="mdescLeft"> </td><td class="mdescRight">Returns the one and only global application object. <a href="#a2cb953d248e41fd5bdb95ade98311ad3"></a><br/></td></tr>
<tr class="separator:a2cb953d248e41fd5bdb95ade98311ad3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abe34922edd0a98a63de3cc73e95fda35"><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_app_console.html#abe34922edd0a98a63de3cc73e95fda35">IsMainLoopRunning</a> ()</td></tr>
<tr class="memdesc:abe34922edd0a98a63de3cc73e95fda35"><td class="mdescLeft"> </td><td class="mdescRight">Returns <span class="literal">true</span> if the main event loop is currently running, i.e. if the application is inside <a class="el" href="classwx_app_console.html#ac05a28c7cdb529f2cdfe77b3431c385c" title="This virtual function is where the execution of a program written in wxWidgets starts.">OnRun()</a>. <a href="#abe34922edd0a98a63de3cc73e95fda35"></a><br/></td></tr>
<tr class="separator:abe34922edd0a98a63de3cc73e95fda35"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_static_methods_classwx_evt_handler"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classwx_evt_handler')"><img src="closed.png" alt="-"/> Static Public Member Functions inherited from <a class="el" href="classwx_evt_handler.html">wxEvtHandler</a></td></tr>
<tr class="memitem:a7dc3c701781f4044372049de5004137e inherit pub_static_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a7dc3c701781f4044372049de5004137e">AddFilter</a> (<a class="el" href="classwx_event_filter.html">wxEventFilter</a> *filter)</td></tr>
<tr class="memdesc:a7dc3c701781f4044372049de5004137e inherit pub_static_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Add an event filter whose FilterEvent() method will be called for each and every event processed by wxWidgets. <a href="#a7dc3c701781f4044372049de5004137e"></a><br/></td></tr>
<tr class="separator:a7dc3c701781f4044372049de5004137e inherit pub_static_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a67a57b759c447b121bf70a7c9804c8f2 inherit pub_static_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a67a57b759c447b121bf70a7c9804c8f2">RemoveFilter</a> (<a class="el" href="classwx_event_filter.html">wxEventFilter</a> *filter)</td></tr>
<tr class="memdesc:a67a57b759c447b121bf70a7c9804c8f2 inherit pub_static_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Remove a filter previously installed with <a class="el" href="classwx_evt_handler.html#a7dc3c701781f4044372049de5004137e" title="Add an event filter whose FilterEvent() method will be called for each and every event processed by w...">AddFilter()</a>. <a href="#a67a57b759c447b121bf70a7c9804c8f2"></a><br/></td></tr>
<tr class="separator:a67a57b759c447b121bf70a7c9804c8f2 inherit pub_static_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a18d2288273cee260ff047831a5e8bfc5"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_app_console.html#a18d2288273cee260ff047831a5e8bfc5">argc</a></td></tr>
<tr class="memdesc:a18d2288273cee260ff047831a5e8bfc5"><td class="mdescLeft"> </td><td class="mdescRight">Number of command line arguments (after environment-specific processing). <a href="#a18d2288273cee260ff047831a5e8bfc5"></a><br/></td></tr>
<tr class="separator:a18d2288273cee260ff047831a5e8bfc5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aec036ffd2b28e72ca36cb0f7ef6a3b37"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__group__funcmacro__string.html#gad42f64d8c82f1ce4ae58773a89b2d6a7">wxChar</a> ** </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_app_console.html#aec036ffd2b28e72ca36cb0f7ef6a3b37">argv</a></td></tr>
<tr class="memdesc:aec036ffd2b28e72ca36cb0f7ef6a3b37"><td class="mdescLeft"> </td><td class="mdescRight">Command line arguments (after environment-specific processing). <a href="#aec036ffd2b28e72ca36cb0f7ef6a3b37"></a><br/></td></tr>
<tr class="separator:aec036ffd2b28e72ca36cb0f7ef6a3b37"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:ab2811644bfee7a93d0564a09397c4408"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_app_traits.html">wxAppTraits</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_app_console.html#ab2811644bfee7a93d0564a09397c4408">CreateTraits</a> ()</td></tr>
<tr class="memdesc:ab2811644bfee7a93d0564a09397c4408"><td class="mdescLeft"> </td><td class="mdescRight">Creates the <a class="el" href="classwx_app_traits.html" title="The wxAppTraits class defines various configurable aspects of a wxApp.">wxAppTraits</a> object when <a class="el" href="classwx_app_console.html#a75ed8ce022a4ca58785f14f736853e93" title="Returns a pointer to the wxAppTraits object for the application.">GetTraits()</a> needs it for the first time. <a href="#ab2811644bfee7a93d0564a09397c4408"></a><br/></td></tr>
<tr class="separator:ab2811644bfee7a93d0564a09397c4408"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_methods_classwx_evt_handler"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classwx_evt_handler')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classwx_evt_handler.html">wxEvtHandler</a></td></tr>
<tr class="memitem:ad4b0eac704dd005ac6a88fdb1e673c13 inherit pro_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#ad4b0eac704dd005ac6a88fdb1e673c13">TryBefore</a> (<a class="el" href="classwx_event.html">wxEvent</a> &event)</td></tr>
<tr class="memdesc:ad4b0eac704dd005ac6a88fdb1e673c13 inherit pro_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Method called by <a class="el" href="classwx_evt_handler.html#a65968dd27f3aac7718f2dd6b2ddd5a08" title="Processes an event, searching event tables and calling zero or more suitable event handler function(s...">ProcessEvent()</a> before examining this object event tables. <a href="#ad4b0eac704dd005ac6a88fdb1e673c13"></a><br/></td></tr>
<tr class="separator:ad4b0eac704dd005ac6a88fdb1e673c13 inherit pro_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5e25fece1cb6cbc11fd1d41ec140319c inherit pro_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a5e25fece1cb6cbc11fd1d41ec140319c">TryAfter</a> (<a class="el" href="classwx_event.html">wxEvent</a> &event)</td></tr>
<tr class="memdesc:a5e25fece1cb6cbc11fd1d41ec140319c inherit pro_methods_classwx_evt_handler"><td class="mdescLeft"> </td><td class="mdescRight">Method called by <a class="el" href="classwx_evt_handler.html#a65968dd27f3aac7718f2dd6b2ddd5a08" title="Processes an event, searching event tables and calling zero or more suitable event handler function(s...">ProcessEvent()</a> as last resort. <a href="#a5e25fece1cb6cbc11fd1d41ec140319c"></a><br/></td></tr>
<tr class="separator:a5e25fece1cb6cbc11fd1d41ec140319c inherit pro_methods_classwx_evt_handler"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_methods_classwx_object"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classwx_object')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classwx_object.html">wxObject</a></td></tr>
<tr class="memitem:a60204063f3cc3aa2fa1c7ff5bda9eb13 inherit pro_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a60204063f3cc3aa2fa1c7ff5bda9eb13">AllocExclusive</a> ()</td></tr>
<tr class="memdesc:a60204063f3cc3aa2fa1c7ff5bda9eb13 inherit pro_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Ensure that this object's data is not shared with any other object. <a href="#a60204063f3cc3aa2fa1c7ff5bda9eb13"></a><br/></td></tr>
<tr class="separator:a60204063f3cc3aa2fa1c7ff5bda9eb13 inherit pro_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a95c6a5e4e1e03ff23c7b9efe4cff0c1a inherit pro_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_object_ref_data.html">wxObjectRefData</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a95c6a5e4e1e03ff23c7b9efe4cff0c1a">CreateRefData</a> () const </td></tr>
<tr class="memdesc:a95c6a5e4e1e03ff23c7b9efe4cff0c1a inherit pro_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Creates a new instance of the wxObjectRefData-derived class specific to this object and returns it. <a href="#a95c6a5e4e1e03ff23c7b9efe4cff0c1a"></a><br/></td></tr>
<tr class="separator:a95c6a5e4e1e03ff23c7b9efe4cff0c1a inherit pro_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1d39f1d3650fe0982c9a1abe7f9fe7b7 inherit pro_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_object_ref_data.html">wxObjectRefData</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a1d39f1d3650fe0982c9a1abe7f9fe7b7">CloneRefData</a> (const <a class="el" href="classwx_object_ref_data.html">wxObjectRefData</a> *data) const </td></tr>
<tr class="memdesc:a1d39f1d3650fe0982c9a1abe7f9fe7b7 inherit pro_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Creates a new instance of the wxObjectRefData-derived class specific to this object and initializes it copying <em>data</em>. <a href="#a1d39f1d3650fe0982c9a1abe7f9fe7b7"></a><br/></td></tr>
<tr class="separator:a1d39f1d3650fe0982c9a1abe7f9fe7b7 inherit pro_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_types_classwx_event_filter"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classwx_event_filter')"><img src="closed.png" alt="-"/> Public Types inherited from <a class="el" href="classwx_event_filter.html">wxEventFilter</a></td></tr>
<tr class="memitem:a3376954f23f1d73b33e969c8a3fe732f inherit pub_types_classwx_event_filter"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom">{ <br/>
  <a class="el" href="classwx_event_filter.html#a3376954f23f1d73b33e969c8a3fe732fae3620010ea8dc45c4547052a75fe51da">Event_Skip</a> = -1,
<br/>
  <a class="el" href="classwx_event_filter.html#a3376954f23f1d73b33e969c8a3fe732faa2b35768d0be474ac339b9162c0db85a">Event_Ignore</a> = 0,
<br/>
  <a class="el" href="classwx_event_filter.html#a3376954f23f1d73b33e969c8a3fe732fa6d508074572ecf366e3c3b537bcba776">Event_Processed</a> = 1
<br/>
}</td></tr>
<tr class="memdesc:a3376954f23f1d73b33e969c8a3fe732f"><td class="mdescLeft"> </td><td class="mdescRight">Possible return values for <a class="el" href="classwx_event_filter.html#ae9aee87e6c6c7ff3df84e46a2e3b2c6a" title="Override this method to implement event pre-processing.">FilterEvent()</a>. <a href="classwx_event_filter.html#a3376954f23f1d73b33e969c8a3fe732f">More...</a><br/></td></tr>
<tr class="separator:a3376954f23f1d73b33e969c8a3fe732f inherit pub_types_classwx_event_filter"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_attribs_classwx_object"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classwx_object')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classwx_object.html">wxObject</a></td></tr>
<tr class="memitem:a9e31954530a0abd54982effc443ed2b8 inherit pro_attribs_classwx_object"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_object_ref_data.html">wxObjectRefData</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a9e31954530a0abd54982effc443ed2b8">m_refData</a></td></tr>
<tr class="memdesc:a9e31954530a0abd54982effc443ed2b8 inherit pro_attribs_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Pointer to an object which is the object's reference-counted data. <a href="#a9e31954530a0abd54982effc443ed2b8"></a><br/></td></tr>
<tr class="separator:a9e31954530a0abd54982effc443ed2b8 inherit pro_attribs_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a class="anchor" id="a15802038794a8646f42f0cdd3bf74b3d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual wxAppConsole::~wxAppConsole </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Destructor. </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ab2811644bfee7a93d0564a09397c4408"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classwx_app_traits.html">wxAppTraits</a>* wxAppConsole::CreateTraits </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates the <a class="el" href="classwx_app_traits.html" title="The wxAppTraits class defines various configurable aspects of a wxApp.">wxAppTraits</a> object when <a class="el" href="classwx_app_console.html#a75ed8ce022a4ca58785f14f736853e93" title="Returns a pointer to the wxAppTraits object for the application.">GetTraits()</a> needs it for the first time. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_app_traits.html" title="The wxAppTraits class defines various configurable aspects of a wxApp.">wxAppTraits</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ad89ebde765071beef409f6e6e81d1b31"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxAppConsole::DeletePendingEvents </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Deletes the pending events of all wxEvtHandlers of this application. </p>
<p>See <a class="el" href="classwx_evt_handler.html#a6e7f9cf4ebd0623c1d94979855d096f8" title="Deletes all events queued on this event handler using QueueEvent() or AddPendingEvent().">wxEvtHandler::DeletePendingEvents()</a> for warnings about deleting the pending events. </p>
</div>
</div>
<a class="anchor" id="ad0f1e724efa8ae1e94cde655c74c85dc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxAppConsole::ExitMainLoop </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Call this to explicitly exit the main message (event) loop. </p>
<p>You should normally exit the main loop (and the application) by deleting the top window.</p>
<p>This function simply calls wxEvtLoopBase::Exit() on the active loop. </p>
</div>
</div>
<a class="anchor" id="ada7ab606e014a10d46e4b3c6f602e20c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual int wxAppConsole::FilterEvent </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_event.html">wxEvent</a> & </td>
<td class="paramname"><em>event</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Overridden <a class="el" href="classwx_event_filter.html" title="A global event filter for pre-processing all the events generated in the program.">wxEventFilter</a> method. </p>
<p>This function is called before processing any event and allows the application to preempt the processing of some events, see <a class="el" href="classwx_event_filter.html" title="A global event filter for pre-processing all the events generated in the program.">wxEventFilter</a> documentation for more information.</p>
<p><a class="el" href="classwx_app.html" title="The wxApp class represents the application itself when wxUSE_GUI=1.">wxApp</a> implementation of this method always return -1 indicating that the event should be processed normally. </p>
<p>Implements <a class="el" href="classwx_event_filter.html#ae9aee87e6c6c7ff3df84e46a2e3b2c6a">wxEventFilter</a>.</p>
</div>
</div>
<a class="anchor" id="a83aa5fdf1e636dc441b62ceb95c8bf5a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a> wxAppConsole::GetAppDisplayName </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the user-readable application name. </p>
<p>The difference between this string and the one returned by <a class="el" href="classwx_app_console.html#a2bfe9c53c57d61f8b115705796f258eb" title="Returns the application name.">GetAppName()</a> is that this one is meant to be shown to the user and so should be used for the window titles, page headers and so on while the other one should be only used internally, e.g. for the file names or configuration file keys.</p>
<p>If the application name for display had been previously set by <a class="el" href="classwx_app_console.html#a716fee0bf023e73e80c75dc9e817a8b2" title="Set the application name to be used in the user-visible places such as window titles.">SetAppDisplayName()</a>, it will be returned by this function. Otherwise, if <a class="el" href="classwx_app_console.html#a31ba1a76d63a2265d981ceedbfd6d5cf" title="Sets the name of the application.">SetAppName()</a> had been called its value will be returned; also as is. Finally if none was called, this function returns the program name capitalized using <a class="el" href="classwx_string.html#a88592121dde64b682cd67d30bfc9b45f" title="Return the copy of the string with the first string character in the upper case and the subsequent on...">wxString::Capitalize()</a>.</p>
<dl class="section since"><dt>Since</dt><dd>2.9.0 </dd></dl>
</div>
</div>
<a class="anchor" id="a2bfe9c53c57d61f8b115705796f258eb"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a> wxAppConsole::GetAppName </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the application name. </p>
<p>If <a class="el" href="classwx_app_console.html#a31ba1a76d63a2265d981ceedbfd6d5cf" title="Sets the name of the application.">SetAppName()</a> had been called, returns the string passed to it. Otherwise returns the program name, i.e. the value of <code>argv</code>[0] passed to the <code>main()</code> function.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_app_console.html#a83aa5fdf1e636dc441b62ceb95c8bf5a" title="Returns the user-readable application name.">GetAppDisplayName()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a938d78da101d4edfbd76387ad4d221be"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_string.html">wxString</a> wxAppConsole::GetClassName </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets the class name of the application. </p>
<p>The class name may be used in a platform specific manner to refer to the application.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_app_console.html#aabcfbdc9d4ec3f31fe14589eee873960" title="Sets the class name of the application.">SetClassName()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a2cb953d248e41fd5bdb95ade98311ad3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classwx_app_console.html">wxAppConsole</a>* wxAppConsole::GetInstance </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the one and only global application object. </p>
<p>Usually <a class="el" href="interface_2wx_2app_8h.html#a01fd2cb0a8fbaade87800e71a50e855d" title="The global pointer to the singleton wxApp object.">wxTheApp</a> is used instead.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_app_console.html#a7ca751aa37cd3f920e20d9d967ad413d" title="Allows external code to modify global wxTheApp, but you should really know what you're doing if you c...">SetInstance()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a131ba350b1be3ef88a764170c59d8e40"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_event_loop_base.html">wxEventLoopBase</a>* wxAppConsole::GetMainLoop </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the main event loop instance, i.e. the event loop which is started by <a class="el" href="classwx_app_console.html#ac05a28c7cdb529f2cdfe77b3431c385c" title="This virtual function is where the execution of a program written in wxWidgets starts.">OnRun()</a> and which dispatches all events sent from the native toolkit to the application (except when new event loops are temporarily set-up). </p>
<p>The returned value maybe <span class="literal">NULL</span>. Put initialization code which needs a non-<span class="literal">NULL</span> main event loop into <a class="el" href="classwx_app_console.html#aa116701a3bd7700fe6979117e53ae999" title="Called by wxEventLoopBase::SetActive(): you can override this function and put here the code which ne...">OnEventLoopEnter()</a>. </p>
</div>
</div>
<a class="anchor" id="a75ed8ce022a4ca58785f14f736853e93"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_app_traits.html">wxAppTraits</a>* wxAppConsole::GetTraits </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a pointer to the <a class="el" href="classwx_app_traits.html" title="The wxAppTraits class defines various configurable aspects of a wxApp.">wxAppTraits</a> object for the application. </p>
<p>If you want to customize the <a class="el" href="classwx_app_traits.html" title="The wxAppTraits class defines various configurable aspects of a wxApp.">wxAppTraits</a> object, you must override the <a class="el" href="classwx_app_console.html#ab2811644bfee7a93d0564a09397c4408" title="Creates the wxAppTraits object when GetTraits() needs it for the first time.">CreateTraits()</a> function. </p>
</div>
</div>
<a class="anchor" id="aff0e285cecca295bc6de1ad8323093df"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classwx_string.html">wxString</a>& wxAppConsole::GetVendorDisplayName </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the user-readable vendor name. </p>
<p>The difference between this string and the one returned by <a class="el" href="classwx_app_console.html#af73ec0d186dd10b7fdabb57cf097bef8" title="Returns the application's vendor name.">GetVendorName()</a> is that this one is meant to be shown to the user and so should be used for the window titles, page headers and so on while the other one should be only used internally, e.g. for the file names or configuration file keys.</p>
<p>By default, returns the same string as <a class="el" href="classwx_app_console.html#af73ec0d186dd10b7fdabb57cf097bef8" title="Returns the application's vendor name.">GetVendorName()</a>.</p>
<dl class="section since"><dt>Since</dt><dd>2.9.0 </dd></dl>
</div>
</div>
<a class="anchor" id="af73ec0d186dd10b7fdabb57cf097bef8"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classwx_string.html">wxString</a>& wxAppConsole::GetVendorName </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the application's vendor name. </p>
</div>
</div>
<a class="anchor" id="a78a6f9e56b77addf8251f0f5c10004fb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxAppConsole::HandleEvent </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_evt_handler.html">wxEvtHandler</a> * </td>
<td class="paramname"><em>handler</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">wxEventFunction </td>
<td class="paramname"><em>func</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classwx_event.html">wxEvent</a> & </td>
<td class="paramname"><em>event</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This function simply invokes the given method <em>func</em> of the specified event handler <em>handler</em> with the <em>event</em> as parameter. </p>
<p>It exists solely to allow to catch the C++ exceptions which could be thrown by all event handlers in the application in one place: if you want to do this, override this function in your wxApp-derived class and add try/catch clause(s) to it. </p>
</div>
</div>
<a class="anchor" id="a253eccb58ac202af728ac4f137c88619"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxAppConsole::HasPendingEvents </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns <span class="literal">true</span> if there are pending events on the internal pending event list. </p>
<p>Whenever <a class="el" href="classwx_evt_handler.html#acffd03bf407a856166ea71ef0318b59a" title="Queue event for a later processing.">wxEvtHandler::QueueEvent</a> or <a class="el" href="classwx_evt_handler.html#a0737c6d2cbcd5ded4b1ecdd53ed0def3" title="Post an event to be processed later.">wxEvtHandler::AddPendingEvent()</a> are called (not only for <a class="el" href="classwx_app.html" title="The wxApp class represents the application itself when wxUSE_GUI=1.">wxApp</a> itself, but for any event handler of the application!), the internal <a class="el" href="classwx_app.html" title="The wxApp class represents the application itself when wxUSE_GUI=1.">wxApp</a>'s list of handlers with pending events is updated and this function will return true. </p>
</div>
</div>
<a class="anchor" id="abe34922edd0a98a63de3cc73e95fda35"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static bool wxAppConsole::IsMainLoopRunning </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns <span class="literal">true</span> if the main event loop is currently running, i.e. if the application is inside <a class="el" href="classwx_app_console.html#ac05a28c7cdb529f2cdfe77b3431c385c" title="This virtual function is where the execution of a program written in wxWidgets starts.">OnRun()</a>. </p>
<p>This can be useful to test whether events can be dispatched. For example, if this function returns <span class="literal">false</span>, non-blocking sockets cannot be used because the events from them would never be processed. </p>
</div>
</div>
<a class="anchor" id="aad8d60da021487976b4a620364100fa5"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxAppConsole::IsScheduledForDestruction </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_object.html">wxObject</a> * </td>
<td class="paramname"><em>object</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Check if the object had been scheduled for destruction with <a class="el" href="classwx_app_console.html#adc46f57d8691bc0098830522f9de9d90" title="Delayed objects destruction.">ScheduleForDestruction()</a>. </p>
<p>This function may be useful as an optimization to avoid doing something with an object which will be soon destroyed in any case. </p>
</div>
</div>
<a class="anchor" id="a14523f3e9ab468c19c697c65484b36db"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual int wxAppConsole::MainLoop </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Called by wxWidgets on creation of the application. </p>
<p>Override this if you wish to provide your own (environment-dependent) main loop.</p>
<dl class="section return"><dt>Returns</dt><dd>0 under X, and the wParam of the WM_QUIT message under Windows. </dd></dl>
</div>
</div>
<a class="anchor" id="a5f91d78bbfe3c9ef28e8e3c8fdf29989"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxAppConsole::OnAssertFailure </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="group__group__funcmacro__string.html#gad42f64d8c82f1ce4ae58773a89b2d6a7">wxChar</a> * </td>
<td class="paramname"><em>file</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>line</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="group__group__funcmacro__string.html#gad42f64d8c82f1ce4ae58773a89b2d6a7">wxChar</a> * </td>
<td class="paramname"><em>func</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="group__group__funcmacro__string.html#gad42f64d8c82f1ce4ae58773a89b2d6a7">wxChar</a> * </td>
<td class="paramname"><em>cond</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="group__group__funcmacro__string.html#gad42f64d8c82f1ce4ae58773a89b2d6a7">wxChar</a> * </td>
<td class="paramname"><em>msg</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This function is called when an assert failure occurs, i.e. the condition specified in <a class="el" href="group__group__funcmacro__debug.html#ga204cc264ee560b67e6c6467ba8ffee5f" title="Assert macro.">wxASSERT()</a> macro evaluated to <span class="literal">false</span>. </p>
<p>It is only called in debug mode (when <code><b>WXDEBUG</b></code> is defined) as asserts are not left in the release code at all. The base class version shows the default assert failure dialog box proposing to the user to stop the program, continue or ignore all subsequent asserts.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">file</td><td>the name of the source file where the assert occurred </td></tr>
<tr><td class="paramname">line</td><td>the line number in this file where the assert occurred </td></tr>
<tr><td class="paramname">func</td><td>the name of the function where the assert occurred, may be empty if the compiler doesn't support C99 <b>FUNCTION</b> </td></tr>
<tr><td class="paramname">cond</td><td>the condition of the failed assert in text form </td></tr>
<tr><td class="paramname">msg</td><td>the message specified as argument to wxASSERT_MSG or wxFAIL_MSG, will be <span class="literal">NULL</span> if just wxASSERT or wxFAIL was used </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a1c8bf26b12a280fd03911caac70e3144"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxAppConsole::OnCmdLineError </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_cmd_line_parser.html">wxCmdLineParser</a> & </td>
<td class="paramname"><em>parser</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Called when command line parsing fails (i.e. an incorrect command line option was specified by the user). </p>
<p>The default behaviour is to show the program usage text and abort the program.</p>
<p>Return <span class="literal">true</span> to continue normal execution or <span class="literal">false</span> to return <span class="literal">false</span> from <a class="el" href="classwx_app_console.html#a99953775a2fd83fa2456e390779afe15" title="This must be provided by the application, and will usually create the application's main window...">OnInit()</a> thus terminating the program.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_app_console.html#a1708aeb916cbc3dc4a3333f1a6f33e04" title="Called from OnInit() and may be used to initialize the parser with the command line options for this ...">OnInitCmdLine()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a1d9ee414483ec30c03acde70d2dc1e3b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxAppConsole::OnCmdLineHelp </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_cmd_line_parser.html">wxCmdLineParser</a> & </td>
<td class="paramname"><em>parser</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Called when the help option (<code>–help</code>) was specified on the command line. </p>
<p>The default behaviour is to show the program usage text and abort the program.</p>
<p>Return <span class="literal">true</span> to continue normal execution or <span class="literal">false</span> to return <span class="literal">false</span> from <a class="el" href="classwx_app_console.html#a99953775a2fd83fa2456e390779afe15" title="This must be provided by the application, and will usually create the application's main window...">OnInit()</a> thus terminating the program.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_app_console.html#a1708aeb916cbc3dc4a3333f1a6f33e04" title="Called from OnInit() and may be used to initialize the parser with the command line options for this ...">OnInitCmdLine()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="aa6a309dbbaec2f75720df2d5743cf0e0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxAppConsole::OnCmdLineParsed </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_cmd_line_parser.html">wxCmdLineParser</a> & </td>
<td class="paramname"><em>parser</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Called after the command line had been successfully parsed. </p>
<p>You may override this method to test for the values of the various parameters which could be set from the command line.</p>
<p>Don't forget to call the base class version unless you want to suppress processing of the standard command line options. Return <span class="literal">true</span> to continue normal execution or <span class="literal">false</span> to return <span class="literal">false</span> from <a class="el" href="classwx_app_console.html#a99953775a2fd83fa2456e390779afe15" title="This must be provided by the application, and will usually create the application's main window...">OnInit()</a> thus terminating the program.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_app_console.html#a1708aeb916cbc3dc4a3333f1a6f33e04" title="Called from OnInit() and may be used to initialize the parser with the command line options for this ...">OnInitCmdLine()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="aa116701a3bd7700fe6979117e53ae999"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxAppConsole::OnEventLoopEnter </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_event_loop_base.html">wxEventLoopBase</a> * </td>
<td class="paramname"><em>loop</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Called by <a class="el" href="classwx_event_loop_base.html#a23646c8c2bdf2def39c856ac8ec250d8" title="Set currently active (running) event loop.">wxEventLoopBase::SetActive()</a>: you can override this function and put here the code which needs an active event loop. </p>
<p>Note that this function is called whenever an event loop is activated; you may want to use <a class="el" href="classwx_event_loop_base.html#a676545d2915e616e70683e056d703553" title="Returns true if this is the main loop executed by wxApp::OnRun().">wxEventLoopBase::IsMain()</a> to perform initialization specific for the app's main event loop.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_app_console.html#a8f94f02a752bb416e99161710637d8f3" title="Called by wxEventLoopBase::OnExit() for each event loop which is exited.">OnEventLoopExit()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a8f94f02a752bb416e99161710637d8f3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxAppConsole::OnEventLoopExit </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_event_loop_base.html">wxEventLoopBase</a> * </td>
<td class="paramname"><em>loop</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Called by <a class="el" href="classwx_event_loop_base.html#aeb893bc6dbbf80f19925a9e108965669" title="This function is called before the event loop terminates, whether this happens normally (because of E...">wxEventLoopBase::OnExit()</a> for each event loop which is exited. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_app_console.html#aa116701a3bd7700fe6979117e53ae999" title="Called by wxEventLoopBase::SetActive(): you can override this function and put here the code which ne...">OnEventLoopEnter()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="aca806b41cf74fd6166e4fb2e2708e9bf"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxAppConsole::OnExceptionInMainLoop </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This function is called if an unhandled exception occurs inside the main application event loop. </p>
<p>It can return <span class="literal">true</span> to ignore the exception and to continue running the loop or <span class="literal">false</span> to exit the loop and terminate the program. In the latter case it can also use C++ <code>throw</code> keyword to rethrow the current exception.</p>
<p>The default behaviour of this function is the latter in all ports except under Windows where a dialog is shown to the user which allows him to choose between the different options. You may override this function in your class to do something more appropriate.</p>
<p>Finally note that if the exception is rethrown from here, it can be caught in <a class="el" href="classwx_app_console.html#a8c241ae1aa045da4470664813b7ec960" title="This function is called when an unhandled C++ exception occurs in user code called by wxWidgets...">OnUnhandledException()</a>. </p>
</div>
</div>
<a class="anchor" id="a5ee60051c92b0b2933258799626a0485"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual int wxAppConsole::OnExit </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Override this member function for any processing which needs to be done as the application is about to exit. </p>
<p>OnExit is called after destroying all application windows and controls, but before wxWidgets cleanup. Note that it is not called at all if <a class="el" href="classwx_app_console.html#a99953775a2fd83fa2456e390779afe15" title="This must be provided by the application, and will usually create the application's main window...">OnInit()</a> failed.</p>
<p>The return value of this function is currently ignored, return the same value as returned by the base class method if you override it. </p>
</div>
</div>
<a class="anchor" id="a927931aafbb7aec4debdfc02ee6f6f9d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxAppConsole::OnFatalException </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This function may be called if something fatal happens: an unhandled exception under Win32 or a fatal signal under Unix, for example. </p>
<p>However, this will not happen by default: you have to explicitly call <a class="el" href="group__group__funcmacro__appinitterm.html#ga28a4fb827b93fa6bac18c9666c23ee10" title="If doIt is true, the fatal exceptions (also known as general protection faults under Windows or segme...">wxHandleFatalExceptions()</a> to enable this.</p>
<p>Generally speaking, this function should only show a message to the user and return. You may attempt to save unsaved data but this is not guaranteed to work and, in fact, probably won't.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="group__group__funcmacro__appinitterm.html#ga28a4fb827b93fa6bac18c9666c23ee10" title="If doIt is true, the fatal exceptions (also known as general protection faults under Windows or segme...">wxHandleFatalExceptions()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a99953775a2fd83fa2456e390779afe15"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxAppConsole::OnInit </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This must be provided by the application, and will usually create the application's main window, optionally calling SetTopWindow(). </p>
<p>You may use <a class="el" href="classwx_app_console.html#a5ee60051c92b0b2933258799626a0485" title="Override this member function for any processing which needs to be done as the application is about t...">OnExit()</a> to clean up anything initialized here, provided that the function returns <span class="literal">true</span>.</p>
<p>Notice that if you want to use the command line processing provided by wxWidgets you have to call the base class version in the derived class <a class="el" href="classwx_app_console.html#a99953775a2fd83fa2456e390779afe15" title="This must be provided by the application, and will usually create the application's main window...">OnInit()</a>.</p>
<p>Return <span class="literal">true</span> to continue processing, <span class="literal">false</span> to exit the application immediately. </p>
</div>
</div>
<a class="anchor" id="a1708aeb916cbc3dc4a3333f1a6f33e04"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxAppConsole::OnInitCmdLine </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_cmd_line_parser.html">wxCmdLineParser</a> & </td>
<td class="paramname"><em>parser</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Called from <a class="el" href="classwx_app_console.html#a99953775a2fd83fa2456e390779afe15" title="This must be provided by the application, and will usually create the application's main window...">OnInit()</a> and may be used to initialize the parser with the command line options for this application. </p>
<p>The base class versions adds support for a few standard options only. </p>
</div>
</div>
<a class="anchor" id="ac05a28c7cdb529f2cdfe77b3431c385c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual int wxAppConsole::OnRun </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This virtual function is where the execution of a program written in wxWidgets starts. </p>
<p>The default implementation just enters the main loop and starts handling the events until it terminates, either because <a class="el" href="classwx_app_console.html#ad0f1e724efa8ae1e94cde655c74c85dc" title="Call this to explicitly exit the main message (event) loop.">ExitMainLoop()</a> has been explicitly called or because the last frame has been deleted and GetExitOnFrameDelete() flag is <span class="literal">true</span> (this is the default).</p>
<p>The return value of this function becomes the exit code of the program, so it should return 0 in case of successful termination. </p>
</div>
</div>
<a class="anchor" id="a8c241ae1aa045da4470664813b7ec960"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxAppConsole::OnUnhandledException </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This function is called when an unhandled C++ exception occurs in user code called by wxWidgets. </p>
<p>Any unhandled exceptions thrown from (overridden versions of) <a class="el" href="classwx_app_console.html#a99953775a2fd83fa2456e390779afe15" title="This must be provided by the application, and will usually create the application's main window...">OnInit()</a> and <a class="el" href="classwx_app_console.html#a5ee60051c92b0b2933258799626a0485" title="Override this member function for any processing which needs to be done as the application is about t...">OnExit()</a> methods as well as any exceptions thrown from inside the main loop and re-thrown by <a class="el" href="classwx_app_console.html#a8c241ae1aa045da4470664813b7ec960" title="This function is called when an unhandled C++ exception occurs in user code called by wxWidgets...">OnUnhandledException()</a> will result in a call to this function.</p>
<p>By the time this function is called, the program is already about to exit and the exception can't be handled nor ignored any more, override <a class="el" href="classwx_app_console.html#a8c241ae1aa045da4470664813b7ec960" title="This function is called when an unhandled C++ exception occurs in user code called by wxWidgets...">OnUnhandledException()</a> or use explicit <code>try/catch</code> blocks around <a class="el" href="classwx_app_console.html#a99953775a2fd83fa2456e390779afe15" title="This must be provided by the application, and will usually create the application's main window...">OnInit()</a> body to be able to handle the exception earlier.</p>
<p>The default implementation dumps information about the exception using <a class="el" href="classwx_message_output_best.html" title="Output messages in the best possible way.">wxMessageOutputBest</a>. </p>
</div>
</div>
<a class="anchor" id="ab62db8e6265c1e841220c47b9778ab7e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxAppConsole::ProcessPendingEvents </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Process all pending events; it is necessary to call this function to process events posted with <a class="el" href="classwx_evt_handler.html#acffd03bf407a856166ea71ef0318b59a" title="Queue event for a later processing.">wxEvtHandler::QueueEvent</a> or <a class="el" href="classwx_evt_handler.html#a0737c6d2cbcd5ded4b1ecdd53ed0def3" title="Post an event to be processed later.">wxEvtHandler::AddPendingEvent</a>. </p>
<p>This happens during each event loop iteration (see <a class="el" href="classwx_event_loop_base.html" title="Base class for all event loop implementations.">wxEventLoopBase</a>) in GUI mode but it may be also called directly.</p>
<p>Note that this function does not only process the pending events for the <a class="el" href="classwx_app.html" title="The wxApp class represents the application itself when wxUSE_GUI=1.">wxApp</a> object itself (which derives from <a class="el" href="classwx_evt_handler.html" title="A class that can handle events from the windowing system.">wxEvtHandler</a>) but also the pending events for <em>any</em> event handler of this application.</p>
<p>This function will immediately return and do nothing if <a class="el" href="classwx_app_console.html#af892210f0e50a1c7df9ae39280cbc972" title="Temporary suspends processing of the pending events.">SuspendProcessingOfPendingEvents()</a> was called. </p>
</div>
</div>
<a class="anchor" id="a3ddc42127ce53b8cac04716315124765"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxAppConsole::ResumeProcessingOfPendingEvents </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Resume processing of the pending events previously stopped because of a call to <a class="el" href="classwx_app_console.html#af892210f0e50a1c7df9ae39280cbc972" title="Temporary suspends processing of the pending events.">SuspendProcessingOfPendingEvents()</a>. </p>
</div>
</div>
<a class="anchor" id="adc46f57d8691bc0098830522f9de9d90"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxAppConsole::ScheduleForDestruction </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_object.html">wxObject</a> * </td>
<td class="paramname"><em>object</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Delayed objects destruction. </p>
<p>In applications using events it may be unsafe for an event handler to delete the object which generated the event because more events may be still pending for the same object. In this case the handler may call <a class="el" href="classwx_app_console.html#adc46f57d8691bc0098830522f9de9d90" title="Delayed objects destruction.">ScheduleForDestruction()</a> instead. Schedule the object for destruction in the near future.</p>
<p>Notice that if the application is not using an event loop, i.e. if <a class="el" href="classwx_app_console.html#af393b68a318373e43ee731bec38bdc29" title="Returns true if the application is using an event loop.">UsesEventLoop()</a> returns <span class="literal">false</span>, this method will simply delete the object immediately.</p>
<p>Examples of using this function inside wxWidgets itself include deleting the top level windows when they are closed and sockets when they are disconnected. </p>
</div>
</div>
<a class="anchor" id="a716fee0bf023e73e80c75dc9e817a8b2"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxAppConsole::SetAppDisplayName </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>name</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the application name to be used in the user-visible places such as window titles. </p>
<p>See <a class="el" href="classwx_app_console.html#a83aa5fdf1e636dc441b62ceb95c8bf5a" title="Returns the user-readable application name.">GetAppDisplayName()</a> for more about the differences between the display name and name.</p>
<p>Notice that if this function is called, the name is used as is, without any capitalization as done by default by <a class="el" href="classwx_app_console.html#a83aa5fdf1e636dc441b62ceb95c8bf5a" title="Returns the user-readable application name.">GetAppDisplayName()</a>. </p>
</div>
</div>
<a class="anchor" id="a31ba1a76d63a2265d981ceedbfd6d5cf"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxAppConsole::SetAppName </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>name</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the name of the application. </p>
<p>This name should be used for file names, configuration file entries and other internal strings. For the user-visible strings, such as the window titles, the application display name set by <a class="el" href="classwx_app_console.html#a716fee0bf023e73e80c75dc9e817a8b2" title="Set the application name to be used in the user-visible places such as window titles.">SetAppDisplayName()</a> is used instead.</p>
<p>By default the application name is set to the name of its executable file.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_app_console.html#a2bfe9c53c57d61f8b115705796f258eb" title="Returns the application name.">GetAppName()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="aabcfbdc9d4ec3f31fe14589eee873960"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxAppConsole::SetClassName </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>name</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the class name of the application. </p>
<p>This may be used in a platform specific manner to refer to the application.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_app_console.html#a938d78da101d4edfbd76387ad4d221be" title="Gets the class name of the application.">GetClassName()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a9a02416d2eeaf63b0cb9313dad69bb0f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxAppConsole::SetCLocale </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the C locale to the default locale for the current environment. </p>
<p>It is advised to call this to ensure that the underlying toolkit uses the locale in which the numbers and monetary amounts are shown in the format expected by user and so on.</p>
<p>Calling this function is roughly equivalent to calling </p>
<div class="fragment"><div class="line">setlocale(LC_ALL, <span class="stringliteral">""</span>);</div>
</div><!-- fragment --><p> but performs additional toolkit-specific tasks under some platforms and so should be used instead of <code>setlocale()</code> itself. Alternatively, you can use <a class="el" href="classwx_locale.html" title="wxLocale class encapsulates all language-dependent settings and is a generalization of the C locale c...">wxLocale</a> to change the locale with more control.</p>
<p>Notice that this does <em>not</em> change the global C++ locale, you need to do it explicitly if you want, e.g. </p>
<div class="fragment"><div class="line">std::locale::global(std::locale(<span class="stringliteral">""</span>));</div>
</div><!-- fragment --><p> but be warned that locale support in C++ standard library can be poor or worse under some platforms, e.g. the above line results in an immediate crash under OS X up to the version 10.8.2.</p>
<dl class="section since"><dt>Since</dt><dd>2.9.5 </dd></dl>
</div>
</div>
<a class="anchor" id="a7ca751aa37cd3f920e20d9d967ad413d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void wxAppConsole::SetInstance </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_app_console.html">wxAppConsole</a> * </td>
<td class="paramname"><em>app</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Allows external code to modify global <a class="el" href="interface_2wx_2app_8h.html#a01fd2cb0a8fbaade87800e71a50e855d" title="The global pointer to the singleton wxApp object.">wxTheApp</a>, but you should really know what you're doing if you call it. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">app</td><td>Replacement for the global application object.</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_app_console.html#a2cb953d248e41fd5bdb95ade98311ad3" title="Returns the one and only global application object.">GetInstance()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a5ad4d1e383bc2fbb2d1c12f118140d4a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxAppConsole::SetVendorDisplayName </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>name</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the vendor name to be used in the user-visible places. </p>
<p>See <a class="el" href="classwx_app_console.html#aff0e285cecca295bc6de1ad8323093df" title="Returns the user-readable vendor name.">GetVendorDisplayName()</a> for more about the differences between the display name and name. </p>
</div>
</div>
<a class="anchor" id="afc276a78f5ad56d4f34fcf0e93872913"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxAppConsole::SetVendorName </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>name</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the name of application's vendor. </p>
<p>The name will be used in registry access. A default name is set by wxWidgets.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_app_console.html#af73ec0d186dd10b7fdabb57cf097bef8" title="Returns the application's vendor name.">GetVendorName()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="af892210f0e50a1c7df9ae39280cbc972"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxAppConsole::SuspendProcessingOfPendingEvents </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Temporary suspends processing of the pending events. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_app_console.html#a3ddc42127ce53b8cac04716315124765" title="Resume processing of the pending events previously stopped because of a call to SuspendProcessingOfPe...">ResumeProcessingOfPendingEvents()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="af393b68a318373e43ee731bec38bdc29"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxAppConsole::UsesEventLoop </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns <span class="literal">true</span> if the application is using an event loop. </p>
<p>This function always returns <span class="literal">true</span> for the GUI applications which must use an event loop but by default only returns <span class="literal">true</span> for the console programs if an event loop is already running as it can't know whether one will be created in the future.</p>
<p>Thus, it only makes sense to override it in console applications which do use an event loop, to return <span class="literal">true</span> instead of checking if there is a currently active event loop. </p>
</div>
</div>
<a class="anchor" id="a302adeb701f247bf8cac1570efc25020"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxAppConsole::Yield </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>onlyIfNeeded</em> = <code>false</code></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a18d2288273cee260ff047831a5e8bfc5"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int wxAppConsole::argc</td>
</tr>
</table>
</div><div class="memdoc">
<p>Number of command line arguments (after environment-specific processing). </p>
</div>
</div>
<a class="anchor" id="aec036ffd2b28e72ca36cb0f7ef6a3b37"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__group__funcmacro__string.html#gad42f64d8c82f1ce4ae58773a89b2d6a7">wxChar</a>** wxAppConsole::argv</td>
</tr>
</table>
</div><div class="memdoc">
<p>Command line arguments (after environment-specific processing). </p>
<p>Under Windows and Linux/Unix, you should parse the command line arguments and check for files to be opened when starting your application. Under OS X, you need to override MacOpenFiles() since command line arguments are used differently there.</p>
<p>You may use the <a class="el" href="classwx_cmd_line_parser.html" title="wxCmdLineParser is a class for parsing the command line.">wxCmdLineParser</a> to parse command line arguments. </p>
</div>
</div>
</div><!-- contents -->
<address class="footer">
<small>
Generated on Thu Nov 27 2014 13:46:43 for wxWidgets by <a href="http://www.doxygen.org/index.html" target="_new">Doxygen</a> 1.8.2
</small>
</address>
<script src="wxwidgets.js" type="text/javascript"></script>
</div><!-- #page_container -->
</body>
</html>
|