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
|
<!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: wxXmlResource 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="#pro-methods">Protected Member Functions</a> |
<a href="classwx_xml_resource-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">wxXmlResource Class Reference<div class="ingroups"><a class="el" href="group__group__class__xrc.html">XML Based Resource System (XRC)</a></div></div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include <wx/xrc/xmlres.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 wxXmlResource:</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_xml_resource__inherit__graph.png" border="0" usemap="#wx_xml_resource_inherit__map" alt="Inheritance graph"/></div>
<map name="wx_xml_resource_inherit__map" id="wx_xml_resource_inherit__map">
<area shape="rect" id="node2" href="classwx_object.html" title="This is the root class of many of the wxWidgets classes." alt="" coords="25,6,100,34"/></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 is the main class for interacting with the XML-based resource system. </p>
<p>The class holds XML resources from one or more .xml files, binary files or zip archive files.</p>
<p>Note that this is a singleton class and you'll never allocate/deallocate it. Just use the static <a class="el" href="classwx_xml_resource.html#ae9a487479dcd6204d12fbbf7be497561" title="Gets the global resources object or creates one if none exists.">wxXmlResource::Get()</a> getter.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="overview_xrc.html">XML Based Resource System (XRC)</a>, <a class="el" href="overview_xrcformat.html">XRC File Format</a></dd></dl>
<h2></h2>
<div><span class="lib">Library:</span>  <span class="lib_text"><a class="el" href="page_libs.html#page_libs_wxxrc">wxXRC</a></span></div><div><span class="category">Category:</span>  <span class="category_text"><a class="el" href="group__group__class__xrc.html">XML Based Resource System (XRC)</a></span></div> </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:a02755ba4a1862da0c2233834c42be1e5"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_xml_resource.html#a02755ba4a1862da0c2233834c42be1e5">wxXmlResource</a> (const <a class="el" href="classwx_string.html">wxString</a> &filemask, int flags=<a class="el" href="xmlres_8h.html#ad36a879ef645d6ee478f118b211d9431ad4296e578135189b7820c6d096e952e9">wxXRC_USE_LOCALE</a>, const <a class="el" href="classwx_string.html">wxString</a> &domain=<a class="el" href="interface_2wx_2string_8h.html#a9a321d587166a30017b608dd2d234033">wxEmptyString</a>)</td></tr>
<tr class="memdesc:a02755ba4a1862da0c2233834c42be1e5"><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#a02755ba4a1862da0c2233834c42be1e5"></a><br/></td></tr>
<tr class="separator:a02755ba4a1862da0c2233834c42be1e5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab0f38e10288c5ce115da7e2f381c05f1"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_xml_resource.html#ab0f38e10288c5ce115da7e2f381c05f1">wxXmlResource</a> (int flags=<a class="el" href="xmlres_8h.html#ad36a879ef645d6ee478f118b211d9431ad4296e578135189b7820c6d096e952e9">wxXRC_USE_LOCALE</a>, const <a class="el" href="classwx_string.html">wxString</a> &domain=<a class="el" href="interface_2wx_2string_8h.html#a9a321d587166a30017b608dd2d234033">wxEmptyString</a>)</td></tr>
<tr class="memdesc:ab0f38e10288c5ce115da7e2f381c05f1"><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#ab0f38e10288c5ce115da7e2f381c05f1"></a><br/></td></tr>
<tr class="separator:ab0f38e10288c5ce115da7e2f381c05f1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab7924009de5da01e0334c489139ebe32"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_xml_resource.html#ab7924009de5da01e0334c489139ebe32">~wxXmlResource</a> ()</td></tr>
<tr class="memdesc:ab7924009de5da01e0334c489139ebe32"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#ab7924009de5da01e0334c489139ebe32"></a><br/></td></tr>
<tr class="separator:ab7924009de5da01e0334c489139ebe32"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa9d5f7a02f3bc4d157a7f4683382f1e0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_xml_resource.html#aa9d5f7a02f3bc4d157a7f4683382f1e0">AddHandler</a> (<a class="el" href="classwx_xml_resource_handler.html">wxXmlResourceHandler</a> *handler)</td></tr>
<tr class="memdesc:aa9d5f7a02f3bc4d157a7f4683382f1e0"><td class="mdescLeft"> </td><td class="mdescRight">Initializes only a specific handler (or custom handler). <a href="#aa9d5f7a02f3bc4d157a7f4683382f1e0"></a><br/></td></tr>
<tr class="separator:aa9d5f7a02f3bc4d157a7f4683382f1e0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa058c0ba8ed505cf2a85dc4a00e750f1"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_xml_resource.html#aa058c0ba8ed505cf2a85dc4a00e750f1">InsertHandler</a> (<a class="el" href="classwx_xml_resource_handler.html">wxXmlResourceHandler</a> *handler)</td></tr>
<tr class="memdesc:aa058c0ba8ed505cf2a85dc4a00e750f1"><td class="mdescLeft"> </td><td class="mdescRight">Add a new handler at the begining of the handler list. <a href="#aa058c0ba8ed505cf2a85dc4a00e750f1"></a><br/></td></tr>
<tr class="separator:aa058c0ba8ed505cf2a85dc4a00e750f1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab550cd29efdc7afdf72fd0a1990d0074"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_xml_resource.html#ab550cd29efdc7afdf72fd0a1990d0074">AttachUnknownControl</a> (const <a class="el" href="classwx_string.html">wxString</a> &name, <a class="el" href="classwx_window.html">wxWindow</a> *control, <a class="el" href="classwx_window.html">wxWindow</a> *parent=NULL)</td></tr>
<tr class="memdesc:ab550cd29efdc7afdf72fd0a1990d0074"><td class="mdescLeft"> </td><td class="mdescRight">Attaches an unknown control to the given panel/window/dialog. <a href="#ab550cd29efdc7afdf72fd0a1990d0074"></a><br/></td></tr>
<tr class="separator:ab550cd29efdc7afdf72fd0a1990d0074"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a10e62015ee915e895f61a82f201124fc"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_xml_resource.html#a10e62015ee915e895f61a82f201124fc">ClearHandlers</a> ()</td></tr>
<tr class="memdesc:a10e62015ee915e895f61a82f201124fc"><td class="mdescLeft"> </td><td class="mdescRight">Removes all handlers and deletes them (this means that any handlers added using <a class="el" href="classwx_xml_resource.html#aa9d5f7a02f3bc4d157a7f4683382f1e0" title="Initializes only a specific handler (or custom handler).">AddHandler()</a> must be allocated on the heap). <a href="#a10e62015ee915e895f61a82f201124fc"></a><br/></td></tr>
<tr class="separator:a10e62015ee915e895f61a82f201124fc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a18d43b6476d463ed855848638dafcad3"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_xml_resource.html#a18d43b6476d463ed855848638dafcad3">CompareVersion</a> (int major, int minor, int release, int revision) const </td></tr>
<tr class="memdesc:a18d43b6476d463ed855848638dafcad3"><td class="mdescLeft"> </td><td class="mdescRight">Compares the XRC version to the argument. <a href="#a18d43b6476d463ed855848638dafcad3"></a><br/></td></tr>
<tr class="separator:a18d43b6476d463ed855848638dafcad3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9322a9a024ee02f1231941cb9c4b6928"><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_xml_resource.html#a9322a9a024ee02f1231941cb9c4b6928">GetDomain</a> () const </td></tr>
<tr class="memdesc:a9322a9a024ee02f1231941cb9c4b6928"><td class="mdescLeft"> </td><td class="mdescRight">Returns the domain (message catalog) that will be used to load translatable strings in the XRC. <a href="#a9322a9a024ee02f1231941cb9c4b6928"></a><br/></td></tr>
<tr class="separator:a9322a9a024ee02f1231941cb9c4b6928"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a76770e3476f9faf78fa7f5347d56eaad"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_xml_resource.html#a76770e3476f9faf78fa7f5347d56eaad">GetFlags</a> () const </td></tr>
<tr class="memdesc:a76770e3476f9faf78fa7f5347d56eaad"><td class="mdescLeft"> </td><td class="mdescRight">Returns flags, which may be a bitlist of <a class="el" href="xmlres_8h.html#ad36a879ef645d6ee478f118b211d9431" title="Flags which can be used with wxXmlResource::wxXmlResource.">wxXmlResourceFlags</a> enumeration values. <a href="#a76770e3476f9faf78fa7f5347d56eaad"></a><br/></td></tr>
<tr class="separator:a76770e3476f9faf78fa7f5347d56eaad"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a106f729173b0aaa69968810c0a97af43"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classwx_xml_node.html">wxXmlNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_xml_resource.html#a106f729173b0aaa69968810c0a97af43">GetResourceNode</a> (const <a class="el" href="classwx_string.html">wxString</a> &name) const </td></tr>
<tr class="memdesc:a106f729173b0aaa69968810c0a97af43"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <a class="el" href="classwx_xml_node.html" title="Represents a node in an XML document.">wxXmlNode</a> containing the definition of the object with the given name or <span class="literal">NULL</span>. <a href="#a106f729173b0aaa69968810c0a97af43"></a><br/></td></tr>
<tr class="separator:a106f729173b0aaa69968810c0a97af43"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af5cc8286f34a9f5541d040d6355d5aab"><td class="memItemLeft" align="right" valign="top">long </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_xml_resource.html#af5cc8286f34a9f5541d040d6355d5aab">GetVersion</a> () const </td></tr>
<tr class="memdesc:af5cc8286f34a9f5541d040d6355d5aab"><td class="mdescLeft"> </td><td class="mdescRight">Returns version information (a.b.c.d = d + 256*c + 2562*b + 2563*a). <a href="#af5cc8286f34a9f5541d040d6355d5aab"></a><br/></td></tr>
<tr class="separator:af5cc8286f34a9f5541d040d6355d5aab"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1fea48a0061b93247b4869a55877862b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_xml_resource.html#a1fea48a0061b93247b4869a55877862b">InitAllHandlers</a> ()</td></tr>
<tr class="memdesc:a1fea48a0061b93247b4869a55877862b"><td class="mdescLeft"> </td><td class="mdescRight">Initializes handlers for all supported controls/windows. <a href="#a1fea48a0061b93247b4869a55877862b"></a><br/></td></tr>
<tr class="separator:a1fea48a0061b93247b4869a55877862b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac44a714ff459b7f3bd6c78d27482bb60"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_xml_resource.html#ac44a714ff459b7f3bd6c78d27482bb60">Load</a> (const <a class="el" href="classwx_string.html">wxString</a> &filemask)</td></tr>
<tr class="memdesc:ac44a714ff459b7f3bd6c78d27482bb60"><td class="mdescLeft"> </td><td class="mdescRight">Loads resources from XML files that match given filemask. <a href="#ac44a714ff459b7f3bd6c78d27482bb60"></a><br/></td></tr>
<tr class="separator:ac44a714ff459b7f3bd6c78d27482bb60"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1c0b754fb165a656d0b57900a55a49e6"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_xml_resource.html#a1c0b754fb165a656d0b57900a55a49e6">LoadFile</a> (const <a class="el" href="classwx_file_name.html">wxFileName</a> &file)</td></tr>
<tr class="memdesc:a1c0b754fb165a656d0b57900a55a49e6"><td class="mdescLeft"> </td><td class="mdescRight">Simpler form of <a class="el" href="classwx_xml_resource.html#ac44a714ff459b7f3bd6c78d27482bb60" title="Loads resources from XML files that match given filemask.">Load()</a> for loading a single XRC file. <a href="#a1c0b754fb165a656d0b57900a55a49e6"></a><br/></td></tr>
<tr class="separator:a1c0b754fb165a656d0b57900a55a49e6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abd3231181713edc32ecbeef72807baf8"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_xml_resource.html#abd3231181713edc32ecbeef72807baf8">LoadAllFiles</a> (const <a class="el" href="classwx_string.html">wxString</a> &dirname)</td></tr>
<tr class="memdesc:abd3231181713edc32ecbeef72807baf8"><td class="mdescLeft"> </td><td class="mdescRight">Loads all .xrc files from directory <em>dirname</em>. <a href="#abd3231181713edc32ecbeef72807baf8"></a><br/></td></tr>
<tr class="separator:abd3231181713edc32ecbeef72807baf8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1afb7dad6af9fe2230184d755b4abc47"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_bitmap.html">wxBitmap</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_xml_resource.html#a1afb7dad6af9fe2230184d755b4abc47">LoadBitmap</a> (const <a class="el" href="classwx_string.html">wxString</a> &name)</td></tr>
<tr class="memdesc:a1afb7dad6af9fe2230184d755b4abc47"><td class="mdescLeft"> </td><td class="mdescRight">Loads a bitmap resource from a file. <a href="#a1afb7dad6af9fe2230184d755b4abc47"></a><br/></td></tr>
<tr class="separator:a1afb7dad6af9fe2230184d755b4abc47"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa9f2603cb55bfb2c696972be9875e229"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_dialog.html">wxDialog</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_xml_resource.html#aa9f2603cb55bfb2c696972be9875e229">LoadDialog</a> (<a class="el" href="classwx_window.html">wxWindow</a> *parent, const <a class="el" href="classwx_string.html">wxString</a> &name)</td></tr>
<tr class="memdesc:aa9f2603cb55bfb2c696972be9875e229"><td class="mdescLeft"> </td><td class="mdescRight">Loads a dialog. <a href="#aa9f2603cb55bfb2c696972be9875e229"></a><br/></td></tr>
<tr class="separator:aa9f2603cb55bfb2c696972be9875e229"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1014816a83192f9f25742d842784a1d4"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_xml_resource.html#a1014816a83192f9f25742d842784a1d4">LoadDialog</a> (<a class="el" href="classwx_dialog.html">wxDialog</a> *dlg, <a class="el" href="classwx_window.html">wxWindow</a> *parent, const <a class="el" href="classwx_string.html">wxString</a> &name)</td></tr>
<tr class="memdesc:a1014816a83192f9f25742d842784a1d4"><td class="mdescLeft"> </td><td class="mdescRight">Loads a dialog. <a href="#a1014816a83192f9f25742d842784a1d4"></a><br/></td></tr>
<tr class="separator:a1014816a83192f9f25742d842784a1d4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab7137322c9001fa15580f4e8daa0f1d2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_frame.html">wxFrame</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_xml_resource.html#ab7137322c9001fa15580f4e8daa0f1d2">LoadFrame</a> (<a class="el" href="classwx_window.html">wxWindow</a> *parent, const <a class="el" href="classwx_string.html">wxString</a> &name)</td></tr>
<tr class="memdesc:ab7137322c9001fa15580f4e8daa0f1d2"><td class="mdescLeft"> </td><td class="mdescRight">Loads a frame from the resource. <a href="#ab7137322c9001fa15580f4e8daa0f1d2"></a><br/></td></tr>
<tr class="separator:ab7137322c9001fa15580f4e8daa0f1d2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0255a7dc37ef167c1f462ddb6c2fc859"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_xml_resource.html#a0255a7dc37ef167c1f462ddb6c2fc859">LoadFrame</a> (<a class="el" href="classwx_frame.html">wxFrame</a> *frame, <a class="el" href="classwx_window.html">wxWindow</a> *parent, const <a class="el" href="classwx_string.html">wxString</a> &name)</td></tr>
<tr class="memdesc:a0255a7dc37ef167c1f462ddb6c2fc859"><td class="mdescLeft"> </td><td class="mdescRight">Loads the contents of a frame onto an existing <a class="el" href="classwx_frame.html" title="A frame is a window whose size and position can (usually) be changed by the user.">wxFrame</a>. <a href="#a0255a7dc37ef167c1f462ddb6c2fc859"></a><br/></td></tr>
<tr class="separator:a0255a7dc37ef167c1f462ddb6c2fc859"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3a1745604fc05861ef7ecaef85a7a230"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_icon.html">wxIcon</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_xml_resource.html#a3a1745604fc05861ef7ecaef85a7a230">LoadIcon</a> (const <a class="el" href="classwx_string.html">wxString</a> &name)</td></tr>
<tr class="memdesc:a3a1745604fc05861ef7ecaef85a7a230"><td class="mdescLeft"> </td><td class="mdescRight">Loads an icon resource from a file. <a href="#a3a1745604fc05861ef7ecaef85a7a230"></a><br/></td></tr>
<tr class="separator:a3a1745604fc05861ef7ecaef85a7a230"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6fd56e72715273f7b3a656ac3c8a0089"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_menu.html">wxMenu</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_xml_resource.html#a6fd56e72715273f7b3a656ac3c8a0089">LoadMenu</a> (const <a class="el" href="classwx_string.html">wxString</a> &name)</td></tr>
<tr class="memdesc:a6fd56e72715273f7b3a656ac3c8a0089"><td class="mdescLeft"> </td><td class="mdescRight">Loads menu from resource. <a href="#a6fd56e72715273f7b3a656ac3c8a0089"></a><br/></td></tr>
<tr class="separator:a6fd56e72715273f7b3a656ac3c8a0089"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae0691c02224266411a402a7bc52026b0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_panel.html">wxPanel</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_xml_resource.html#ae0691c02224266411a402a7bc52026b0">LoadPanel</a> (<a class="el" href="classwx_window.html">wxWindow</a> *parent, const <a class="el" href="classwx_string.html">wxString</a> &name)</td></tr>
<tr class="memdesc:ae0691c02224266411a402a7bc52026b0"><td class="mdescLeft"> </td><td class="mdescRight">Loads a panel. <a href="#ae0691c02224266411a402a7bc52026b0"></a><br/></td></tr>
<tr class="separator:ae0691c02224266411a402a7bc52026b0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7759ccd1fc4d58d75a1bb67575c931fe"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_xml_resource.html#a7759ccd1fc4d58d75a1bb67575c931fe">LoadPanel</a> (<a class="el" href="classwx_panel.html">wxPanel</a> *panel, <a class="el" href="classwx_window.html">wxWindow</a> *parent, const <a class="el" href="classwx_string.html">wxString</a> &name)</td></tr>
<tr class="memdesc:a7759ccd1fc4d58d75a1bb67575c931fe"><td class="mdescLeft"> </td><td class="mdescRight">Loads a panel. <a href="#a7759ccd1fc4d58d75a1bb67575c931fe"></a><br/></td></tr>
<tr class="separator:a7759ccd1fc4d58d75a1bb67575c931fe"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aae4d9971dcdac4bc00d652d6d8adf0e6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_tool_bar.html">wxToolBar</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_xml_resource.html#aae4d9971dcdac4bc00d652d6d8adf0e6">LoadToolBar</a> (<a class="el" href="classwx_window.html">wxWindow</a> *parent, const <a class="el" href="classwx_string.html">wxString</a> &name)</td></tr>
<tr class="memdesc:aae4d9971dcdac4bc00d652d6d8adf0e6"><td class="mdescLeft"> </td><td class="mdescRight">Loads a toolbar. <a href="#aae4d9971dcdac4bc00d652d6d8adf0e6"></a><br/></td></tr>
<tr class="separator:aae4d9971dcdac4bc00d652d6d8adf0e6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a401ecf0ed02f01d15211fa5dae825f54"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_xml_resource.html#a401ecf0ed02f01d15211fa5dae825f54">SetDomain</a> (const <a class="el" href="classwx_string.html">wxString</a> &domain)</td></tr>
<tr class="memdesc:a401ecf0ed02f01d15211fa5dae825f54"><td class="mdescLeft"> </td><td class="mdescRight">Sets the domain (message catalog) that will be used to load translatable strings in the XRC. <a href="#a401ecf0ed02f01d15211fa5dae825f54"></a><br/></td></tr>
<tr class="separator:a401ecf0ed02f01d15211fa5dae825f54"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5959fcec765f97b2363dfd7a81786646"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_xml_resource.html#a5959fcec765f97b2363dfd7a81786646">SetFlags</a> (int flags)</td></tr>
<tr class="memdesc:a5959fcec765f97b2363dfd7a81786646"><td class="mdescLeft"> </td><td class="mdescRight">Sets flags (bitlist of <a class="el" href="xmlres_8h.html#ad36a879ef645d6ee478f118b211d9431" title="Flags which can be used with wxXmlResource::wxXmlResource.">wxXmlResourceFlags</a> enumeration values). <a href="#a5959fcec765f97b2363dfd7a81786646"></a><br/></td></tr>
<tr class="separator:a5959fcec765f97b2363dfd7a81786646"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6f668cfcaff0cd7bf67ac69a31f2f2e9"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_xml_resource.html#a6f668cfcaff0cd7bf67ac69a31f2f2e9">Unload</a> (const <a class="el" href="classwx_string.html">wxString</a> &filename)</td></tr>
<tr class="memdesc:a6f668cfcaff0cd7bf67ac69a31f2f2e9"><td class="mdescLeft"> </td><td class="mdescRight">This function unloads a resource previously loaded by <a class="el" href="classwx_xml_resource.html#ac44a714ff459b7f3bd6c78d27482bb60" title="Loads resources from XML files that match given filemask.">Load()</a>. <a href="#a6f668cfcaff0cd7bf67ac69a31f2f2e9"></a><br/></td></tr>
<tr class="separator:a6f668cfcaff0cd7bf67ac69a31f2f2e9"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr class="memitem:af2080732fd3df5f34227d56a4c0e06ef"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_menu_bar.html">wxMenuBar</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_xml_resource.html#af2080732fd3df5f34227d56a4c0e06ef">LoadMenuBar</a> (<a class="el" href="classwx_window.html">wxWindow</a> *parent, const <a class="el" href="classwx_string.html">wxString</a> &name)</td></tr>
<tr class="memdesc:af2080732fd3df5f34227d56a4c0e06ef"><td class="mdescLeft"> </td><td class="mdescRight">Loads a menubar from resource. <a href="#af2080732fd3df5f34227d56a4c0e06ef"></a><br/></td></tr>
<tr class="separator:af2080732fd3df5f34227d56a4c0e06ef"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7cf9d7ef156eae0b5f10a1db0825fd6e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_menu_bar.html">wxMenuBar</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_xml_resource.html#a7cf9d7ef156eae0b5f10a1db0825fd6e">LoadMenuBar</a> (const <a class="el" href="classwx_string.html">wxString</a> &name)</td></tr>
<tr class="memdesc:a7cf9d7ef156eae0b5f10a1db0825fd6e"><td class="mdescLeft"> </td><td class="mdescRight">Loads a menubar from resource. <a href="#a7cf9d7ef156eae0b5f10a1db0825fd6e"></a><br/></td></tr>
<tr class="separator:a7cf9d7ef156eae0b5f10a1db0825fd6e"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr class="memitem:a92fb76bed2c93c283c940c0a02e0a543"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_object.html">wxObject</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_xml_resource.html#a92fb76bed2c93c283c940c0a02e0a543">LoadObject</a> (<a class="el" href="classwx_window.html">wxWindow</a> *parent, const <a class="el" href="classwx_string.html">wxString</a> &name, const <a class="el" href="classwx_string.html">wxString</a> &classname)</td></tr>
<tr class="memdesc:a92fb76bed2c93c283c940c0a02e0a543"><td class="mdescLeft"> </td><td class="mdescRight">Load an object from the resource specifying both the resource name and the class name. <a href="#a92fb76bed2c93c283c940c0a02e0a543"></a><br/></td></tr>
<tr class="separator:a92fb76bed2c93c283c940c0a02e0a543"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a67b6d2a819689e5324c375eedac0f4c7"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_xml_resource.html#a67b6d2a819689e5324c375eedac0f4c7">LoadObject</a> (<a class="el" href="classwx_object.html">wxObject</a> *instance, <a class="el" href="classwx_window.html">wxWindow</a> *parent, const <a class="el" href="classwx_string.html">wxString</a> &name, const <a class="el" href="classwx_string.html">wxString</a> &classname)</td></tr>
<tr class="memdesc:a67b6d2a819689e5324c375eedac0f4c7"><td class="mdescLeft"> </td><td class="mdescRight">Load an object from the resource specifying both the resource name and the class name. <a href="#a67b6d2a819689e5324c375eedac0f4c7"></a><br/></td></tr>
<tr class="separator:a67b6d2a819689e5324c375eedac0f4c7"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr class="memitem:a510cc9435736fec110c0c941ad35f5df"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_object.html">wxObject</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_xml_resource.html#a510cc9435736fec110c0c941ad35f5df">LoadObjectRecursively</a> (<a class="el" href="classwx_window.html">wxWindow</a> *parent, const <a class="el" href="classwx_string.html">wxString</a> &name, const <a class="el" href="classwx_string.html">wxString</a> &classname)</td></tr>
<tr class="memdesc:a510cc9435736fec110c0c941ad35f5df"><td class="mdescLeft"> </td><td class="mdescRight">Load an object from anywhere in the resource tree. <a href="#a510cc9435736fec110c0c941ad35f5df"></a><br/></td></tr>
<tr class="separator:a510cc9435736fec110c0c941ad35f5df"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a793b8c5d0c6d84af5d10ec5650d85d1d"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_xml_resource.html#a793b8c5d0c6d84af5d10ec5650d85d1d">LoadObjectRecursively</a> (<a class="el" href="classwx_object.html">wxObject</a> *instance, <a class="el" href="classwx_window.html">wxWindow</a> *parent, const <a class="el" href="classwx_string.html">wxString</a> &name, const <a class="el" href="classwx_string.html">wxString</a> &classname)</td></tr>
<tr class="memdesc:a793b8c5d0c6d84af5d10ec5650d85d1d"><td class="mdescLeft"> </td><td class="mdescRight">Load an object from anywhere in the resource tree. <a href="#a793b8c5d0c6d84af5d10ec5650d85d1d"></a><br/></td></tr>
<tr class="separator:a793b8c5d0c6d84af5d10ec5650d85d1d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classwx_object"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classwx_object')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classwx_object.html">wxObject</a></td></tr>
<tr class="memitem:acaa378363a28af421ab56ad7b46eadf0 inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#acaa378363a28af421ab56ad7b46eadf0">wxObject</a> ()</td></tr>
<tr class="memdesc:acaa378363a28af421ab56ad7b46eadf0 inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Default ctor; initializes to <span class="literal">NULL</span> the internal reference data. <a href="#acaa378363a28af421ab56ad7b46eadf0"></a><br/></td></tr>
<tr class="separator:acaa378363a28af421ab56ad7b46eadf0 inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4721b4dc9b7aff0f30904ba2ea3954cf inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a4721b4dc9b7aff0f30904ba2ea3954cf">wxObject</a> (const <a class="el" href="classwx_object.html">wxObject</a> &other)</td></tr>
<tr class="memdesc:a4721b4dc9b7aff0f30904ba2ea3954cf inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Copy ctor. <a href="#a4721b4dc9b7aff0f30904ba2ea3954cf"></a><br/></td></tr>
<tr class="separator:a4721b4dc9b7aff0f30904ba2ea3954cf inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2a51aa8bfbab47ca2f051bcf84b3f35b inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a2a51aa8bfbab47ca2f051bcf84b3f35b">~wxObject</a> ()</td></tr>
<tr class="memdesc:a2a51aa8bfbab47ca2f051bcf84b3f35b inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#a2a51aa8bfbab47ca2f051bcf84b3f35b"></a><br/></td></tr>
<tr class="separator:a2a51aa8bfbab47ca2f051bcf84b3f35b inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab3a0c6f723cbaddb47be4e8dd98cc8e2 inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_class_info.html">wxClassInfo</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#ab3a0c6f723cbaddb47be4e8dd98cc8e2">GetClassInfo</a> () const </td></tr>
<tr class="memdesc:ab3a0c6f723cbaddb47be4e8dd98cc8e2 inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">This virtual function is redefined for every class that requires run-time type information, when using the <a class="el" href="group__group__funcmacro__rtti.html#ga20465fc7e022e29a5dacfad46e152e75" title="Used inside a class declaration to declare that the class should be made known to the class hierarchy...">wxDECLARE_CLASS</a> macro (or similar). <a href="#ab3a0c6f723cbaddb47be4e8dd98cc8e2"></a><br/></td></tr>
<tr class="separator:ab3a0c6f723cbaddb47be4e8dd98cc8e2 inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aabdb4fc957226544a8408167844e4f42 inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_object_ref_data.html">wxObjectRefData</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#aabdb4fc957226544a8408167844e4f42">GetRefData</a> () const </td></tr>
<tr class="memdesc:aabdb4fc957226544a8408167844e4f42 inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <a class="el" href="classwx_object.html#a9e31954530a0abd54982effc443ed2b8" title="Pointer to an object which is the object's reference-counted data.">wxObject::m_refData</a> pointer, i.e. the data referenced by this object. <a href="#aabdb4fc957226544a8408167844e4f42"></a><br/></td></tr>
<tr class="separator:aabdb4fc957226544a8408167844e4f42 inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af40d580385cf4f8112fae7713404b01e inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#af40d580385cf4f8112fae7713404b01e">IsKindOf</a> (const <a class="el" href="classwx_class_info.html">wxClassInfo</a> *info) const </td></tr>
<tr class="memdesc:af40d580385cf4f8112fae7713404b01e inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Determines whether this class is a subclass of (or the same class as) the given class. <a href="#af40d580385cf4f8112fae7713404b01e"></a><br/></td></tr>
<tr class="separator:af40d580385cf4f8112fae7713404b01e inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a80a1a3fda7b14396a9ddd3d7a46a88bd inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a80a1a3fda7b14396a9ddd3d7a46a88bd">IsSameAs</a> (const <a class="el" href="classwx_object.html">wxObject</a> &obj) const </td></tr>
<tr class="memdesc:a80a1a3fda7b14396a9ddd3d7a46a88bd inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Returns <span class="literal">true</span> if this object has the same data pointer as <em>obj</em>. <a href="#a80a1a3fda7b14396a9ddd3d7a46a88bd"></a><br/></td></tr>
<tr class="separator:a80a1a3fda7b14396a9ddd3d7a46a88bd inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2f6f1aa51fe9fc2b1415ca4211a90e9e inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a2f6f1aa51fe9fc2b1415ca4211a90e9e">Ref</a> (const <a class="el" href="classwx_object.html">wxObject</a> &clone)</td></tr>
<tr class="memdesc:a2f6f1aa51fe9fc2b1415ca4211a90e9e inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Makes this object refer to the data in <em>clone</em>. <a href="#a2f6f1aa51fe9fc2b1415ca4211a90e9e"></a><br/></td></tr>
<tr class="separator:a2f6f1aa51fe9fc2b1415ca4211a90e9e inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afab780710f2adc1bb33310e27590140b inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#afab780710f2adc1bb33310e27590140b">SetRefData</a> (<a class="el" href="classwx_object_ref_data.html">wxObjectRefData</a> *data)</td></tr>
<tr class="memdesc:afab780710f2adc1bb33310e27590140b inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Sets the <a class="el" href="classwx_object.html#a9e31954530a0abd54982effc443ed2b8" title="Pointer to an object which is the object's reference-counted data.">wxObject::m_refData</a> pointer. <a href="#afab780710f2adc1bb33310e27590140b"></a><br/></td></tr>
<tr class="separator:afab780710f2adc1bb33310e27590140b inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af51efc6b1ae632fc7f0cd7ebbce9fa36 inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#af51efc6b1ae632fc7f0cd7ebbce9fa36">UnRef</a> ()</td></tr>
<tr class="memdesc:af51efc6b1ae632fc7f0cd7ebbce9fa36 inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Decrements the reference count in the associated data, and if it is zero, deletes the data. <a href="#af51efc6b1ae632fc7f0cd7ebbce9fa36"></a><br/></td></tr>
<tr class="separator:af51efc6b1ae632fc7f0cd7ebbce9fa36 inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a74b40e42d19a4b9e9bec0b57d62a5725 inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a74b40e42d19a4b9e9bec0b57d62a5725">UnShare</a> ()</td></tr>
<tr class="memdesc:a74b40e42d19a4b9e9bec0b57d62a5725 inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">This is the same of <a class="el" href="classwx_object.html#a60204063f3cc3aa2fa1c7ff5bda9eb13" title="Ensure that this object's data is not shared with any other object.">AllocExclusive()</a> but this method is public. <a href="#a74b40e42d19a4b9e9bec0b57d62a5725"></a><br/></td></tr>
<tr class="separator:a74b40e42d19a4b9e9bec0b57d62a5725 inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a07b8f34f5afc5743195c5fed052f55d3 inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a07b8f34f5afc5743195c5fed052f55d3">operator delete</a> (void *buf)</td></tr>
<tr class="memdesc:a07b8f34f5afc5743195c5fed052f55d3 inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">The <em>delete</em> operator is defined for debugging versions of the library only, when the identifier <code><b>WXDEBUG</b></code> is defined. <a href="#a07b8f34f5afc5743195c5fed052f55d3"></a><br/></td></tr>
<tr class="separator:a07b8f34f5afc5743195c5fed052f55d3 inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a96fa423a1dbc212c8227a5d83825971f inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a96fa423a1dbc212c8227a5d83825971f">operator new</a> (size_t size, const <a class="el" href="classwx_string.html">wxString</a> &filename=NULL, int lineNum=0)</td></tr>
<tr class="memdesc:a96fa423a1dbc212c8227a5d83825971f inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">The <em>new</em> operator is defined for debugging versions of the library only, when the identifier <code><b>WXDEBUG</b></code> is defined. <a href="#a96fa423a1dbc212c8227a5d83825971f"></a><br/></td></tr>
<tr class="separator:a96fa423a1dbc212c8227a5d83825971f inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a302a810bdfcc9404917ff4541ff3364a"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_xml_resource.html#a302a810bdfcc9404917ff4541ff3364a">AddSubclassFactory</a> (wxXmlSubclassFactory *factory)</td></tr>
<tr class="memdesc:a302a810bdfcc9404917ff4541ff3364a"><td class="mdescLeft"> </td><td class="mdescRight">Registers subclasses factory for use in XRC. <a href="#a302a810bdfcc9404917ff4541ff3364a"></a><br/></td></tr>
<tr class="separator:a302a810bdfcc9404917ff4541ff3364a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a509e7048613114bb57f56445a98f462e"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classwx_string.html">wxString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_xml_resource.html#a509e7048613114bb57f56445a98f462e">FindXRCIDById</a> (int numId)</td></tr>
<tr class="memdesc:a509e7048613114bb57f56445a98f462e"><td class="mdescLeft"> </td><td class="mdescRight">Returns a string ID corresponding to the given numeric ID. <a href="#a509e7048613114bb57f56445a98f462e"></a><br/></td></tr>
<tr class="separator:a509e7048613114bb57f56445a98f462e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae9a487479dcd6204d12fbbf7be497561"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classwx_xml_resource.html">wxXmlResource</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_xml_resource.html#ae9a487479dcd6204d12fbbf7be497561">Get</a> ()</td></tr>
<tr class="memdesc:ae9a487479dcd6204d12fbbf7be497561"><td class="mdescLeft"> </td><td class="mdescRight">Gets the global resources object or creates one if none exists. <a href="#ae9a487479dcd6204d12fbbf7be497561"></a><br/></td></tr>
<tr class="separator:ae9a487479dcd6204d12fbbf7be497561"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a06ec24247401cda58f0a5eec251d8167"><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_xml_resource.html#a06ec24247401cda58f0a5eec251d8167">GetXRCID</a> (const <a class="el" href="classwx_string.html">wxString</a> &str_id, int value_if_not_found=<a class="el" href="defs_8h.html#ac66d0a09761e7d86b2ac0b2e0c6a8cbbaa49202a202b229f4a4cc91f1b60ae31b">wxID_NONE</a>)</td></tr>
<tr class="memdesc:a06ec24247401cda58f0a5eec251d8167"><td class="mdescLeft"> </td><td class="mdescRight">Returns a numeric ID that is equivalent to the string ID used in an XML resource. <a href="#a06ec24247401cda58f0a5eec251d8167"></a><br/></td></tr>
<tr class="separator:a06ec24247401cda58f0a5eec251d8167"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac7fd00f8f8a2b3397a8d4afd8fbce0c5"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classwx_xml_resource.html">wxXmlResource</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_xml_resource.html#ac7fd00f8f8a2b3397a8d4afd8fbce0c5">Set</a> (<a class="el" href="classwx_xml_resource.html">wxXmlResource</a> *res)</td></tr>
<tr class="memdesc:ac7fd00f8f8a2b3397a8d4afd8fbce0c5"><td class="mdescLeft"> </td><td class="mdescRight">Sets the global resources object and returns a pointer to the previous one (may be <span class="literal">NULL</span>). <a href="#ac7fd00f8f8a2b3397a8d4afd8fbce0c5"></a><br/></td></tr>
<tr class="separator:ac7fd00f8f8a2b3397a8d4afd8fbce0c5"><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:ad92d578f48f243e32227702e7003723f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_xml_resource.html#ad92d578f48f243e32227702e7003723f">ReportError</a> (const <a class="el" href="classwx_xml_node.html">wxXmlNode</a> *context, const <a class="el" href="classwx_string.html">wxString</a> &message)</td></tr>
<tr class="memdesc:ad92d578f48f243e32227702e7003723f"><td class="mdescLeft"> </td><td class="mdescRight">Reports error in XRC resources to the user. <a href="#ad92d578f48f243e32227702e7003723f"></a><br/></td></tr>
<tr class="separator:ad92d578f48f243e32227702e7003723f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a076562d2d9026d3ae45894006d4ce2e8"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_xml_resource.html#a076562d2d9026d3ae45894006d4ce2e8">DoReportError</a> (const <a class="el" href="classwx_string.html">wxString</a> &xrcFile, const <a class="el" href="classwx_xml_node.html">wxXmlNode</a> *position, const <a class="el" href="classwx_string.html">wxString</a> &message)</td></tr>
<tr class="memdesc:a076562d2d9026d3ae45894006d4ce2e8"><td class="mdescLeft"> </td><td class="mdescRight">Implementation of XRC resources errors reporting. <a href="#a076562d2d9026d3ae45894006d4ce2e8"></a><br/></td></tr>
<tr class="separator:a076562d2d9026d3ae45894006d4ce2e8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_methods_classwx_object"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classwx_object')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classwx_object.html">wxObject</a></td></tr>
<tr class="memitem:a60204063f3cc3aa2fa1c7ff5bda9eb13 inherit pro_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a60204063f3cc3aa2fa1c7ff5bda9eb13">AllocExclusive</a> ()</td></tr>
<tr class="memdesc:a60204063f3cc3aa2fa1c7ff5bda9eb13 inherit pro_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Ensure that this object's data is not shared with any other object. <a href="#a60204063f3cc3aa2fa1c7ff5bda9eb13"></a><br/></td></tr>
<tr class="separator:a60204063f3cc3aa2fa1c7ff5bda9eb13 inherit pro_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a95c6a5e4e1e03ff23c7b9efe4cff0c1a inherit pro_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_object_ref_data.html">wxObjectRefData</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a95c6a5e4e1e03ff23c7b9efe4cff0c1a">CreateRefData</a> () const </td></tr>
<tr class="memdesc:a95c6a5e4e1e03ff23c7b9efe4cff0c1a inherit pro_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Creates a new instance of the wxObjectRefData-derived class specific to this object and returns it. <a href="#a95c6a5e4e1e03ff23c7b9efe4cff0c1a"></a><br/></td></tr>
<tr class="separator:a95c6a5e4e1e03ff23c7b9efe4cff0c1a inherit pro_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1d39f1d3650fe0982c9a1abe7f9fe7b7 inherit pro_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_object_ref_data.html">wxObjectRefData</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a1d39f1d3650fe0982c9a1abe7f9fe7b7">CloneRefData</a> (const <a class="el" href="classwx_object_ref_data.html">wxObjectRefData</a> *data) const </td></tr>
<tr class="memdesc:a1d39f1d3650fe0982c9a1abe7f9fe7b7 inherit pro_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Creates a new instance of the wxObjectRefData-derived class specific to this object and initializes it copying <em>data</em>. <a href="#a1d39f1d3650fe0982c9a1abe7f9fe7b7"></a><br/></td></tr>
<tr class="separator:a1d39f1d3650fe0982c9a1abe7f9fe7b7 inherit pro_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_attribs_classwx_object"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classwx_object')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classwx_object.html">wxObject</a></td></tr>
<tr class="memitem:a9e31954530a0abd54982effc443ed2b8 inherit pro_attribs_classwx_object"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_object_ref_data.html">wxObjectRefData</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a9e31954530a0abd54982effc443ed2b8">m_refData</a></td></tr>
<tr class="memdesc:a9e31954530a0abd54982effc443ed2b8 inherit pro_attribs_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Pointer to an object which is the object's reference-counted data. <a href="#a9e31954530a0abd54982effc443ed2b8"></a><br/></td></tr>
<tr class="separator:a9e31954530a0abd54982effc443ed2b8 inherit pro_attribs_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a class="anchor" id="a02755ba4a1862da0c2233834c42be1e5"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">wxXmlResource::wxXmlResource </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>filemask</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>flags</em> = <code><a class="el" href="xmlres_8h.html#ad36a879ef645d6ee478f118b211d9431ad4296e578135189b7820c6d096e952e9">wxXRC_USE_LOCALE</a></code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>domain</em> = <code><a class="el" href="interface_2wx_2string_8h.html#a9a321d587166a30017b608dd2d234033">wxEmptyString</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">filemask</td><td>The XRC file, archive file, or wildcard specification that will be used to load all resource files inside a zip archive. </td></tr>
<tr><td class="paramname">flags</td><td>One or more value of the <a class="el" href="xmlres_8h.html#ad36a879ef645d6ee478f118b211d9431" title="Flags which can be used with wxXmlResource::wxXmlResource.">wxXmlResourceFlags</a> enumeration. </td></tr>
<tr><td class="paramname">domain</td><td>The name of the gettext catalog to search for translatable strings. By default all loaded catalogs will be searched. This provides a way to allow the strings to only come from a specific catalog. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ab0f38e10288c5ce115da7e2f381c05f1"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">wxXmlResource::wxXmlResource </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>flags</em> = <code><a class="el" href="xmlres_8h.html#ad36a879ef645d6ee478f118b211d9431ad4296e578135189b7820c6d096e952e9">wxXRC_USE_LOCALE</a></code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>domain</em> = <code><a class="el" href="interface_2wx_2string_8h.html#a9a321d587166a30017b608dd2d234033">wxEmptyString</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">flags</td><td>One or more value of the <a class="el" href="xmlres_8h.html#ad36a879ef645d6ee478f118b211d9431" title="Flags which can be used with wxXmlResource::wxXmlResource.">wxXmlResourceFlags</a> enumeration. </td></tr>
<tr><td class="paramname">domain</td><td>The name of the gettext catalog to search for translatable strings. By default all loaded catalogs will be searched. This provides a way to allow the strings to only come from a specific catalog. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ab7924009de5da01e0334c489139ebe32"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual wxXmlResource::~wxXmlResource </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="aa9d5f7a02f3bc4d157a7f4683382f1e0"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxXmlResource::AddHandler </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_xml_resource_handler.html">wxXmlResourceHandler</a> * </td>
<td class="paramname"><em>handler</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Initializes only a specific handler (or custom handler). </p>
<p>Convention says that the handler name is equal to the control's name plus 'XmlHandler', for example wxTextCtrlXmlHandler, wxHtmlWindowXmlHandler.</p>
<p>The XML resource compiler (wxxrc) can create include file that contains initialization code for all controls used within the resource. Note that this handler must be allocated on the heap, since it will be deleted by <a class="el" href="classwx_xml_resource.html#a10e62015ee915e895f61a82f201124fc" title="Removes all handlers and deletes them (this means that any handlers added using AddHandler() must be ...">ClearHandlers()</a> later. </p>
</div>
</div>
<a class="anchor" id="a302a810bdfcc9404917ff4541ff3364a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void wxXmlResource::AddSubclassFactory </td>
<td>(</td>
<td class="paramtype">wxXmlSubclassFactory * </td>
<td class="paramname"><em>factory</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>Registers subclasses factory for use in XRC. </p>
<p>This is useful only for language bindings developers who need a way to implement subclassing in wxWidgets ports that don't support wxRTTI (e.g. wxPython). </p>
</div>
</div>
<a class="anchor" id="ab550cd29efdc7afdf72fd0a1990d0074"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxXmlResource::AttachUnknownControl </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>control</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>parent</em> = <code>NULL</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Attaches an unknown control to the given panel/window/dialog. </p>
<p>Unknown controls are used in conjunction with <object class="unknown">. </p>
</div>
</div>
<a class="anchor" id="a10e62015ee915e895f61a82f201124fc"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxXmlResource::ClearHandlers </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Removes all handlers and deletes them (this means that any handlers added using <a class="el" href="classwx_xml_resource.html#aa9d5f7a02f3bc4d157a7f4683382f1e0" title="Initializes only a specific handler (or custom handler).">AddHandler()</a> must be allocated on the heap). </p>
</div>
</div>
<a class="anchor" id="a18d43b6476d463ed855848638dafcad3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int wxXmlResource::CompareVersion </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>major</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>minor</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>release</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>revision</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Compares the XRC version to the argument. </p>
<p>Returns -1 if the XRC version is less than the argument, +1 if greater, and 0 if they are equal. </p>
</div>
</div>
<a class="anchor" id="a076562d2d9026d3ae45894006d4ce2e8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxXmlResource::DoReportError </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>xrcFile</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_xml_node.html">wxXmlNode</a> * </td>
<td class="paramname"><em>position</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>message</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">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Implementation of XRC resources errors reporting. </p>
<p>This method is called by <a class="el" href="classwx_xml_resource.html#ad92d578f48f243e32227702e7003723f" title="Reports error in XRC resources to the user.">ReportError()</a> and shouldn't be called directly; use <a class="el" href="classwx_xml_resource.html#ad92d578f48f243e32227702e7003723f" title="Reports error in XRC resources to the user.">ReportError()</a> or <a class="el" href="classwx_xml_resource_handler.html#a0b4c148209e4fcf1e6940895902ac5eb" title="Reports error in XRC resources to the user.">wxXmlResourceHandler::ReportError()</a> to log errors.</p>
<p>Default implementation uses <a class="el" href="group__group__funcmacro__log.html#ga0dd3c633f990f794e76065c9a7af4c87" title="The functions to use for error messages, i.e.">wxLogError()</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">xrcFile</td><td>File the error occurred in or empty string if it couldn't be determined. </td></tr>
<tr><td class="paramname">position</td><td>XML node where the error occurred or <span class="literal">NULL</span> if it couldn't be determined. </td></tr>
<tr><td class="paramname">message</td><td>Text of the error message. See <a class="el" href="classwx_xml_resource.html#ad92d578f48f243e32227702e7003723f" title="Reports error in XRC resources to the user.">ReportError()</a> documentation for details of the string's format.</td></tr>
</table>
</dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>You may override this method in a derived class to customize errors reporting. If you do so, you'll need to either use the derived class in all your code or call <a class="el" href="classwx_xml_resource.html#ac7fd00f8f8a2b3397a8d4afd8fbce0c5" title="Sets the global resources object and returns a pointer to the previous one (may be NULL)...">wxXmlResource::Set()</a> to change the global <a class="el" href="classwx_xml_resource.html" title="This is the main class for interacting with the XML-based resource system.">wxXmlResource</a> instance to your class.</dd></dl>
<dl class="section since"><dt>Since</dt><dd>2.9.0</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_xml_resource.html#ad92d578f48f243e32227702e7003723f" title="Reports error in XRC resources to the user.">ReportError()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a509e7048613114bb57f56445a98f462e"></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_string.html">wxString</a> wxXmlResource::FindXRCIDById </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>numId</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>Returns a string ID corresponding to the given numeric ID. </p>
<p>The string returned is such that calling <a class="el" href="classwx_xml_resource.html#a06ec24247401cda58f0a5eec251d8167" title="Returns a numeric ID that is equivalent to the string ID used in an XML resource.">GetXRCID()</a> with it as parameter yields <em>numId</em>. If there is no string identifier corresponding to the given numeric one, an empty string is returned.</p>
<p>Notice that, unlike <a class="el" href="classwx_xml_resource.html#a06ec24247401cda58f0a5eec251d8167" title="Returns a numeric ID that is equivalent to the string ID used in an XML resource.">GetXRCID()</a>, this function is slow as it checks all of the identifiers used in XRC.</p>
<dl class="section since"><dt>Since</dt><dd>2.9.0 </dd></dl>
</div>
</div>
<a class="anchor" id="ae9a487479dcd6204d12fbbf7be497561"></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_xml_resource.html">wxXmlResource</a>* wxXmlResource::Get </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>Gets the global resources object or creates one if none exists. </p>
</div>
</div>
<a class="anchor" id="a9322a9a024ee02f1231941cb9c4b6928"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classwx_string.html">wxString</a>& wxXmlResource::GetDomain </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the domain (message catalog) that will be used to load translatable strings in the XRC. </p>
</div>
</div>
<a class="anchor" id="a76770e3476f9faf78fa7f5347d56eaad"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int wxXmlResource::GetFlags </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns flags, which may be a bitlist of <a class="el" href="xmlres_8h.html#ad36a879ef645d6ee478f118b211d9431" title="Flags which can be used with wxXmlResource::wxXmlResource.">wxXmlResourceFlags</a> enumeration values. </p>
</div>
</div>
<a class="anchor" id="a106f729173b0aaa69968810c0a97af43"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classwx_xml_node.html">wxXmlNode</a>* wxXmlResource::GetResourceNode </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>name</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the <a class="el" href="classwx_xml_node.html" title="Represents a node in an XML document.">wxXmlNode</a> containing the definition of the object with the given name or <span class="literal">NULL</span>. </p>
<p>This function recursively searches all the loaded XRC files for an object with the specified <em>name</em>. If the object is found, the <a class="el" href="classwx_xml_node.html" title="Represents a node in an XML document.">wxXmlNode</a> corresponding to it is returned, so this function can be used to access additional information defined in the XRC file and not used by <a class="el" href="classwx_xml_resource.html" title="This is the main class for interacting with the XML-based resource system.">wxXmlResource</a> itself, e.g. contents of application-specific XML tags.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">name</td><td>The name of the resource which must be unique for this function to work correctly, if there is more than one resource with the given name the choice of the one returned by this function is undefined. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The node corresponding to the resource with the given name or <span class="literal">NULL</span>. </dd></dl>
</div>
</div>
<a class="anchor" id="af5cc8286f34a9f5541d040d6355d5aab"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">long wxXmlResource::GetVersion </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns version information (a.b.c.d = d + 256*c + 2562*b + 2563*a). </p>
</div>
</div>
<a class="anchor" id="a06ec24247401cda58f0a5eec251d8167"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static int wxXmlResource::GetXRCID </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>str_id</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>value_if_not_found</em> = <code><a class="el" href="defs_8h.html#ac66d0a09761e7d86b2ac0b2e0c6a8cbbaa49202a202b229f4a4cc91f1b60ae31b">wxID_NONE</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a numeric ID that is equivalent to the string ID used in an XML resource. </p>
<p>If an unknown <em>str_id</em> is requested (i.e. other than wxID_XXX or integer), a new record is created which associates the given string with a number.</p>
<p>If <em>value_if_not_found</em> is <code>wxID_NONE</code>, the number is obtained via <a class="el" href="group__group__funcmacro__misc.html#gaa2d93c1680369b4227f7de9de58e5fcb">wxNewId()</a>. Otherwise <em>value_if_not_found</em> is used.</p>
<p>Macro <code>XRCID(name)</code> is provided for convenient use in event tables.</p>
<dl class="section note"><dt>Note</dt><dd>IDs returned by XRCID() cannot be used with the <code>EVT_*_RANGE</code> macros, because the order in which they are assigned to symbolic <em>name</em> values is not guaranteed. </dd></dl>
</div>
</div>
<a class="anchor" id="a1fea48a0061b93247b4869a55877862b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxXmlResource::InitAllHandlers </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Initializes handlers for all supported controls/windows. </p>
<p>This will make the executable quite big because it forces linking against most of the wxWidgets library. </p>
</div>
</div>
<a class="anchor" id="aa058c0ba8ed505cf2a85dc4a00e750f1"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxXmlResource::InsertHandler </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_xml_resource_handler.html">wxXmlResourceHandler</a> * </td>
<td class="paramname"><em>handler</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Add a new handler at the begining of the handler list. </p>
</div>
</div>
<a class="anchor" id="ac44a714ff459b7f3bd6c78d27482bb60"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxXmlResource::Load </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>filemask</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Loads resources from XML files that match given filemask. </p>
<p>Example: </p>
<div class="fragment"><div class="line"><span class="keywordflow">if</span> (!<a class="code" href="classwx_xml_resource.html#ae9a487479dcd6204d12fbbf7be497561" title="Gets the global resources object or creates one if none exists.">wxXmlResource::Get</a>()-><a class="code" href="classwx_xml_resource.html#ac44a714ff459b7f3bd6c78d27482bb60" title="Loads resources from XML files that match given filemask.">Load</a>(<span class="stringliteral">"rc/*.xrc"</span>))</div>
<div class="line"> <a class="code" href="group__group__funcmacro__log.html#ga0dd3c633f990f794e76065c9a7af4c87" title="The functions to use for error messages, i.e.">wxLogError</a>(<span class="stringliteral">"Couldn't load resources!"</span>);</div>
</div><!-- fragment --><dl class="section note"><dt>Note</dt><dd>If wxUSE_FILESYS is enabled, this method understands <a class="el" href="classwx_file_system.html" title="This class provides an interface for opening files on different file systems.">wxFileSystem</a> URLs (see <a class="el" href="classwx_file_system.html#a93f5d9fc8fe388213f8ed7dddc55db71" title="Works like wxFindFirstFile().">wxFileSystem::FindFirst()</a>).</dd>
<dd>
If you are sure that the argument is name of single XRC file (rather than an URL or a wildcard), use <a class="el" href="classwx_xml_resource.html#a1c0b754fb165a656d0b57900a55a49e6" title="Simpler form of Load() for loading a single XRC file.">LoadFile()</a> instead.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_xml_resource.html#a1c0b754fb165a656d0b57900a55a49e6" title="Simpler form of Load() for loading a single XRC file.">LoadFile()</a>, <a class="el" href="classwx_xml_resource.html#abd3231181713edc32ecbeef72807baf8" title="Loads all .xrc files from directory dirname.">LoadAllFiles()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="abd3231181713edc32ecbeef72807baf8"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxXmlResource::LoadAllFiles </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>dirname</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Loads all .xrc files from directory <em>dirname</em>. </p>
<p>Tries to load as many files as possible; if there's an error while loading one file, it still attempts to load other files.</p>
<dl class="section since"><dt>Since</dt><dd>2.9.0</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_xml_resource.html#a1c0b754fb165a656d0b57900a55a49e6" title="Simpler form of Load() for loading a single XRC file.">LoadFile()</a>, <a class="el" href="classwx_xml_resource.html#ac44a714ff459b7f3bd6c78d27482bb60" title="Loads resources from XML files that match given filemask.">Load()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a1afb7dad6af9fe2230184d755b4abc47"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_bitmap.html">wxBitmap</a> wxXmlResource::LoadBitmap </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>Loads a bitmap resource from a file. </p>
</div>
</div>
<a class="anchor" id="aa9f2603cb55bfb2c696972be9875e229"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_dialog.html">wxDialog</a>* wxXmlResource::LoadDialog </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>parent</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>name</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Loads a dialog. </p>
<p><em>parent</em> points to parent window (if any). </p>
</div>
</div>
<a class="anchor" id="a1014816a83192f9f25742d842784a1d4"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxXmlResource::LoadDialog </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_dialog.html">wxDialog</a> * </td>
<td class="paramname"><em>dlg</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>parent</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>name</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Loads a dialog. </p>
<p><em>parent</em> points to parent window (if any).</p>
<p>This form is used to finish creation of an already existing instance (the main reason for this is that you may want to use derived class with a new event table). Example:</p>
<div class="fragment"><div class="line">MyDialog dlg;</div>
<div class="line"><a class="code" href="classwx_xml_resource.html#ae9a487479dcd6204d12fbbf7be497561" title="Gets the global resources object or creates one if none exists.">wxXmlResource::Get</a>()-><a class="code" href="classwx_xml_resource.html#aa9f2603cb55bfb2c696972be9875e229" title="Loads a dialog.">LoadDialog</a>(&dlg, mainFrame, <span class="stringliteral">"my_dialog"</span>);</div>
<div class="line">dlg.ShowModal();</div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="a1c0b754fb165a656d0b57900a55a49e6"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxXmlResource::LoadFile </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_file_name.html">wxFileName</a> & </td>
<td class="paramname"><em>file</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Simpler form of <a class="el" href="classwx_xml_resource.html#ac44a714ff459b7f3bd6c78d27482bb60" title="Loads resources from XML files that match given filemask.">Load()</a> for loading a single XRC file. </p>
<dl class="section since"><dt>Since</dt><dd>2.9.0</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_xml_resource.html#ac44a714ff459b7f3bd6c78d27482bb60" title="Loads resources from XML files that match given filemask.">Load()</a>, <a class="el" href="classwx_xml_resource.html#abd3231181713edc32ecbeef72807baf8" title="Loads all .xrc files from directory dirname.">LoadAllFiles()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ab7137322c9001fa15580f4e8daa0f1d2"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_frame.html">wxFrame</a>* wxXmlResource::LoadFrame </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>parent</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>name</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Loads a frame from the resource. </p>
<p><em>parent</em> points to parent window (if any). </p>
</div>
</div>
<a class="anchor" id="a0255a7dc37ef167c1f462ddb6c2fc859"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxXmlResource::LoadFrame </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_frame.html">wxFrame</a> * </td>
<td class="paramname"><em>frame</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>parent</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>name</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Loads the contents of a frame onto an existing <a class="el" href="classwx_frame.html" title="A frame is a window whose size and position can (usually) be changed by the user.">wxFrame</a>. </p>
<p>This form is used to finish creation of an already existing instance (the main reason for this is that you may want to use derived class with a new event table). </p>
</div>
</div>
<a class="anchor" id="a3a1745604fc05861ef7ecaef85a7a230"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_icon.html">wxIcon</a> wxXmlResource::LoadIcon </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>Loads an icon resource from a file. </p>
</div>
</div>
<a class="anchor" id="a6fd56e72715273f7b3a656ac3c8a0089"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_menu.html">wxMenu</a>* wxXmlResource::LoadMenu </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>Loads menu from resource. </p>
<p>Returns <span class="literal">NULL</span> on failure. </p>
</div>
</div>
<a class="anchor" id="af2080732fd3df5f34227d56a4c0e06ef"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_menu_bar.html">wxMenuBar</a>* wxXmlResource::LoadMenuBar </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>parent</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>name</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Loads a menubar from resource. </p>
<p>Returns <span class="literal">NULL</span> on failure. </p>
</div>
</div>
<a class="anchor" id="a7cf9d7ef156eae0b5f10a1db0825fd6e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_menu_bar.html">wxMenuBar</a>* wxXmlResource::LoadMenuBar </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>Loads a menubar from resource. </p>
<p>Returns <span class="literal">NULL</span> on failure. </p>
</div>
</div>
<a class="anchor" id="a92fb76bed2c93c283c940c0a02e0a543"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_object.html">wxObject</a>* wxXmlResource::LoadObject </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>parent</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>classname</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Load an object from the resource specifying both the resource name and the class name. </p>
<p>The first overload lets you load nonstandard container windows and returns <span class="literal">NULL</span> on failure. The second one lets you finish the creation of an existing instance and returns <span class="literal">false</span> on failure.</p>
<p>In either case, only the resources defined at the top level of XRC files can be loaded by this function, use <a class="el" href="classwx_xml_resource.html#a510cc9435736fec110c0c941ad35f5df" title="Load an object from anywhere in the resource tree.">LoadObjectRecursively()</a> if you need to load an object defined deeper in the hierarchy. </p>
</div>
</div>
<a class="anchor" id="a67b6d2a819689e5324c375eedac0f4c7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxXmlResource::LoadObject </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_object.html">wxObject</a> * </td>
<td class="paramname"><em>instance</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>parent</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>classname</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Load an object from the resource specifying both the resource name and the class name. </p>
<p>The first overload lets you load nonstandard container windows and returns <span class="literal">NULL</span> on failure. The second one lets you finish the creation of an existing instance and returns <span class="literal">false</span> on failure.</p>
<p>In either case, only the resources defined at the top level of XRC files can be loaded by this function, use <a class="el" href="classwx_xml_resource.html#a510cc9435736fec110c0c941ad35f5df" title="Load an object from anywhere in the resource tree.">LoadObjectRecursively()</a> if you need to load an object defined deeper in the hierarchy. </p>
</div>
</div>
<a class="anchor" id="a510cc9435736fec110c0c941ad35f5df"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_object.html">wxObject</a>* wxXmlResource::LoadObjectRecursively </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>parent</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>classname</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Load an object from anywhere in the resource tree. </p>
<p>These methods are similar to <a class="el" href="classwx_xml_resource.html#a92fb76bed2c93c283c940c0a02e0a543" title="Load an object from the resource specifying both the resource name and the class name.">LoadObject()</a> but may be used to load an object from anywhere in the resource tree and not only the top level. Note that you will very rarely need to do this as in normal use the entire container window (defined at the top level) is loaded and not its individual children but this method can be useful in some particular situations.</p>
<dl class="section since"><dt>Since</dt><dd>2.9.1 </dd></dl>
</div>
</div>
<a class="anchor" id="a793b8c5d0c6d84af5d10ec5650d85d1d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxXmlResource::LoadObjectRecursively </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_object.html">wxObject</a> * </td>
<td class="paramname"><em>instance</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>parent</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>classname</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Load an object from anywhere in the resource tree. </p>
<p>These methods are similar to <a class="el" href="classwx_xml_resource.html#a92fb76bed2c93c283c940c0a02e0a543" title="Load an object from the resource specifying both the resource name and the class name.">LoadObject()</a> but may be used to load an object from anywhere in the resource tree and not only the top level. Note that you will very rarely need to do this as in normal use the entire container window (defined at the top level) is loaded and not its individual children but this method can be useful in some particular situations.</p>
<dl class="section since"><dt>Since</dt><dd>2.9.1 </dd></dl>
</div>
</div>
<a class="anchor" id="ae0691c02224266411a402a7bc52026b0"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_panel.html">wxPanel</a>* wxXmlResource::LoadPanel </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>parent</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>name</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Loads a panel. </p>
<p><em>parent</em> points to the parent window. </p>
</div>
</div>
<a class="anchor" id="a7759ccd1fc4d58d75a1bb67575c931fe"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxXmlResource::LoadPanel </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_panel.html">wxPanel</a> * </td>
<td class="paramname"><em>panel</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>parent</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>name</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Loads a panel. </p>
<p><em>parent</em> points to the parent window. This form is used to finish creation of an already existing instance. </p>
</div>
</div>
<a class="anchor" id="aae4d9971dcdac4bc00d652d6d8adf0e6"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_tool_bar.html">wxToolBar</a>* wxXmlResource::LoadToolBar </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>parent</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>name</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Loads a toolbar. </p>
</div>
</div>
<a class="anchor" id="ad92d578f48f243e32227702e7003723f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void wxXmlResource::ReportError </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_xml_node.html">wxXmlNode</a> * </td>
<td class="paramname"><em>context</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>message</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">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Reports error in XRC resources to the user. </p>
<p>Any errors in XRC input files should be reported using this method (or its <a class="el" href="classwx_xml_resource_handler.html#a0b4c148209e4fcf1e6940895902ac5eb" title="Reports error in XRC resources to the user.">wxXmlResourceHandler::ReportError()</a> equivalent). Unlike <a class="el" href="group__group__funcmacro__log.html#ga0dd3c633f990f794e76065c9a7af4c87" title="The functions to use for error messages, i.e.">wxLogError()</a>, this method presents the error to the user in a more usable form. In particular, the output is compiler-like and contains information about the exact location of the error.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">context</td><td>XML node the error occurred in or relates to. This can be <span class="literal">NULL</span>, but should be the most specific node possible, as its line number is what is reported to the user. </td></tr>
<tr><td class="paramname">message</td><td>Text of the error message. This string should always be in English (i.e. not wrapped in <a class="el" href="group__group__funcmacro__string.html#ga8a02b8875a521df57263a9e6f090f2d0" title="Macro to be used around all literal strings that should be translated.">_()</a>). It shouldn't be a sentence – it should start with lower-case letter and shouldn't have a trailing period or exclamation point.</td></tr>
</table>
</dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>2.9.0</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_xml_resource_handler.html#a0b4c148209e4fcf1e6940895902ac5eb" title="Reports error in XRC resources to the user.">wxXmlResourceHandler::ReportError()</a>, <a class="el" href="classwx_xml_resource.html#a076562d2d9026d3ae45894006d4ce2e8" title="Implementation of XRC resources errors reporting.">DoReportError()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ac7fd00f8f8a2b3397a8d4afd8fbce0c5"></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_xml_resource.html">wxXmlResource</a>* wxXmlResource::Set </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_xml_resource.html">wxXmlResource</a> * </td>
<td class="paramname"><em>res</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>Sets the global resources object and returns a pointer to the previous one (may be <span class="literal">NULL</span>). </p>
</div>
</div>
<a class="anchor" id="a401ecf0ed02f01d15211fa5dae825f54"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxXmlResource::SetDomain </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>domain</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the domain (message catalog) that will be used to load translatable strings in the XRC. </p>
</div>
</div>
<a class="anchor" id="a5959fcec765f97b2363dfd7a81786646"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxXmlResource::SetFlags </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>flags</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets flags (bitlist of <a class="el" href="xmlres_8h.html#ad36a879ef645d6ee478f118b211d9431" title="Flags which can be used with wxXmlResource::wxXmlResource.">wxXmlResourceFlags</a> enumeration values). </p>
</div>
</div>
<a class="anchor" id="a6f668cfcaff0cd7bf67ac69a31f2f2e9"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxXmlResource::Unload </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>filename</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>This function unloads a resource previously loaded by <a class="el" href="classwx_xml_resource.html#ac44a714ff459b7f3bd6c78d27482bb60" title="Loads resources from XML files that match given filemask.">Load()</a>. </p>
<p>Returns <span class="literal">true</span> if the resource was successfully unloaded and <span class="literal">false</span> if it hasn't been found in the list of loaded resources. </p>
</div>
</div>
</div><!-- contents -->
<address class="footer">
<small>
Generated on Thu Nov 27 2014 13:47:03 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>
|