File: classwx_document.html

package info (click to toggle)
wxpython3.0 3.0.2.0%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 482,760 kB
  • ctags: 518,293
  • sloc: cpp: 2,127,226; python: 294,045; makefile: 51,942; ansic: 19,033; sh: 3,013; xml: 1,629; perl: 17
file content (1860 lines) | stat: -rw-r--r-- 162,923 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
<!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: wxDocument 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&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;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&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="classwx_document-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">wxDocument Class Reference<div class="ingroups"><a class="el" href="group__group__class__docview.html">Document/View Framework</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;wx/docview.h&gt;</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 wxDocument:</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_document__inherit__graph.png" border="0" usemap="#wx_document_inherit__map" alt="Inheritance graph"/></div>
<map name="wx_document_inherit__map" id="wx_document_inherit__map">
<area shape="rect" id="node2" href="classwx_evt_handler.html" title="A class that can handle events from the windowing system." alt="" coords="47,83,145,111"/><area shape="rect" id="node4" href="classwx_object.html" title="This is the root class of many of the wxWidgets classes." alt="" coords="5,6,80,34"/><area shape="rect" id="node6" href="classwx_trackable.html" title="Add&#45;on base class for a trackable object." alt="" coords="104,6,197,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>The document class can be used to model an application's file-based data. </p>
<p>It is part of the document/view framework supported by wxWidgets, and cooperates with the <a class="el" href="classwx_view.html" title="The view class can be used to model the viewing and editing component of an application&#39;s file-based ...">wxView</a>, <a class="el" href="classwx_doc_template.html" title="The wxDocTemplate class is used to model the relationship between a document class and a view class...">wxDocTemplate</a> and <a class="el" href="classwx_doc_manager.html" title="The wxDocManager class is part of the document/view framework supported by wxWidgets, and cooperates with the wxView, wxDocument and wxDocTemplate classes.">wxDocManager</a> classes.</p>
<p>A normal document is the one created without parent document and is associated with a disk file. Since version 2.9.2 wxWidgets also supports a special kind of documents called <em>child documents</em> which are virtual in the sense that they do not correspond to a file but rather to a part of their parent document. Because of this, the child documents can't be created directly by user but can only be created by the parent document (usually when it's being created itself). They also can't be independently saved. A child document has its own view with the corresponding window. This view can be closed by user but, importantly, is also automatically closed when its parent document is closed. Thus, child documents may be convenient for creating additional windows which need to be closed when the main document is. The docview sample demonstrates this use of child documents by creating a child document containing the information about the parameters of the image opened in the main document.</p>
<h2></h2>
<div><span class="lib">Library:</span>&#160;&#160;<span class="lib_text"><a class="el" href="page_libs.html#page_libs_wxcore">wxCore</a></span></div><div><span class="category">Category:</span>&#160;&#160;<span class="category_text"><a class="el" href="group__group__class__docview.html">Document/View Framework</a></span></div><dl class="section see"><dt>See Also</dt><dd><a class="el" href="overview_docview.html">Document/View Framework</a>, <a class="el" href="classwx_view.html" title="The view class can be used to model the viewing and editing component of an application&#39;s file-based ...">wxView</a>, <a class="el" href="classwx_doc_template.html" title="The wxDocTemplate class is used to model the relationship between a document class and a view class...">wxDocTemplate</a>, <a class="el" href="classwx_doc_manager.html" title="The wxDocManager class is part of the document/view framework supported by wxWidgets, and cooperates with the wxView, wxDocument and wxDocTemplate classes.">wxDocManager</a> </dd></dl>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a5aef43f208d925ca6ba040186d62ab99"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#a5aef43f208d925ca6ba040186d62ab99">wxDocument</a> (<a class="el" href="classwx_document.html">wxDocument</a> *parent=NULL)</td></tr>
<tr class="memdesc:a5aef43f208d925ca6ba040186d62ab99"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#a5aef43f208d925ca6ba040186d62ab99"></a><br/></td></tr>
<tr class="separator:a5aef43f208d925ca6ba040186d62ab99"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a894332ee2d4da8deeaa0c01f4ba556a7"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#a894332ee2d4da8deeaa0c01f4ba556a7">~wxDocument</a> ()</td></tr>
<tr class="memdesc:a894332ee2d4da8deeaa0c01f4ba556a7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#a894332ee2d4da8deeaa0c01f4ba556a7"></a><br/></td></tr>
<tr class="separator:a894332ee2d4da8deeaa0c01f4ba556a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acae0bbe368cd261c245350464329c6cc"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#acae0bbe368cd261c245350464329c6cc">AddView</a> (<a class="el" href="classwx_view.html">wxView</a> *view)</td></tr>
<tr class="memdesc:acae0bbe368cd261c245350464329c6cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">If the view is not already in the list of views, adds the view and calls <a class="el" href="classwx_document.html#a99cb689421dc26bf95c222e0b12305f1" title="Called when a view is added to or deleted from this document.">OnChangedViewList()</a>.  <a href="#acae0bbe368cd261c245350464329c6cc"></a><br/></td></tr>
<tr class="separator:acae0bbe368cd261c245350464329c6cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe9a83ed109fe984cc82ed35188b299c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#abe9a83ed109fe984cc82ed35188b299c">AlreadySaved</a> () const </td></tr>
<tr class="memdesc:abe9a83ed109fe984cc82ed35188b299c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the document hasn't been modified since the last time it had been saved.  <a href="#abe9a83ed109fe984cc82ed35188b299c"></a><br/></td></tr>
<tr class="separator:abe9a83ed109fe984cc82ed35188b299c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a88693ce7b480427cf11eda7dc61d499c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#a88693ce7b480427cf11eda7dc61d499c">Activate</a> () const </td></tr>
<tr class="memdesc:a88693ce7b480427cf11eda7dc61d499c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Activate the first view of the document if any.  <a href="#a88693ce7b480427cf11eda7dc61d499c"></a><br/></td></tr>
<tr class="separator:a88693ce7b480427cf11eda7dc61d499c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8bbe46b9a14d500d0bfbe1ab5dd802f8"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#a8bbe46b9a14d500d0bfbe1ab5dd802f8">Close</a> ()</td></tr>
<tr class="memdesc:a8bbe46b9a14d500d0bfbe1ab5dd802f8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Closes the document, by calling <a class="el" href="classwx_document.html#a67879e3f2e94bb35e558af46bd847cf6" title="If the document has been modified, prompts the user to ask if the changes should be saved...">OnSaveModified()</a> and then (if this returned <span class="literal">true</span>) <a class="el" href="classwx_document.html#a12730179398ba640d78bd9f4ad65dc95" title="This virtual function is called when the document is being closed.">OnCloseDocument()</a>.  <a href="#a8bbe46b9a14d500d0bfbe1ab5dd802f8"></a><br/></td></tr>
<tr class="separator:a8bbe46b9a14d500d0bfbe1ab5dd802f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f5c5e822ac78f5e5ef0b14a3d02c477"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#a0f5c5e822ac78f5e5ef0b14a3d02c477">DeleteAllViews</a> ()</td></tr>
<tr class="memdesc:a0f5c5e822ac78f5e5ef0b14a3d02c477"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calls <a class="el" href="classwx_view.html#a5fa376b907d166d8aa7842a52161cc42" title="Closes the view by calling OnClose().">wxView::Close()</a> and deletes each view.  <a href="#a0f5c5e822ac78f5e5ef0b14a3d02c477"></a><br/></td></tr>
<tr class="separator:a0f5c5e822ac78f5e5ef0b14a3d02c477"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afcd7641415f12bc132eb9f668c6a7f81"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#afcd7641415f12bc132eb9f668c6a7f81">DeleteContents</a> ()</td></tr>
<tr class="memdesc:afcd7641415f12bc132eb9f668c6a7f81"><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual method called from <a class="el" href="classwx_document.html#a12730179398ba640d78bd9f4ad65dc95" title="This virtual function is called when the document is being closed.">OnCloseDocument()</a>.  <a href="#afcd7641415f12bc132eb9f668c6a7f81"></a><br/></td></tr>
<tr class="separator:afcd7641415f12bc132eb9f668c6a7f81"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4400f63eeb994aa0b6289cd3fbb2bac"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_command_processor.html">wxCommandProcessor</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#ac4400f63eeb994aa0b6289cd3fbb2bac">GetCommandProcessor</a> () const </td></tr>
<tr class="memdesc:ac4400f63eeb994aa0b6289cd3fbb2bac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a pointer to the command processor associated with this document.  <a href="#ac4400f63eeb994aa0b6289cd3fbb2bac"></a><br/></td></tr>
<tr class="separator:ac4400f63eeb994aa0b6289cd3fbb2bac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aacd84b66750f17245581ed4d4d672d07"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_doc_manager.html">wxDocManager</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#aacd84b66750f17245581ed4d4d672d07">GetDocumentManager</a> () const </td></tr>
<tr class="memdesc:aacd84b66750f17245581ed4d4d672d07"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets a pointer to the associated document manager.  <a href="#aacd84b66750f17245581ed4d4d672d07"></a><br/></td></tr>
<tr class="separator:aacd84b66750f17245581ed4d4d672d07"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4cfebd6f2cea0f62c917465a114ec1bd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#a4cfebd6f2cea0f62c917465a114ec1bd">GetDocumentName</a> () const </td></tr>
<tr class="memdesc:a4cfebd6f2cea0f62c917465a114ec1bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the document type name for this document.  <a href="#a4cfebd6f2cea0f62c917465a114ec1bd"></a><br/></td></tr>
<tr class="separator:a4cfebd6f2cea0f62c917465a114ec1bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8caf0e2e904fa2e9f5448e573c0d786"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#ac8caf0e2e904fa2e9f5448e573c0d786">GetDocumentSaved</a> () const </td></tr>
<tr class="memdesc:ac8caf0e2e904fa2e9f5448e573c0d786"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return true if this document had been already saved.  <a href="#ac8caf0e2e904fa2e9f5448e573c0d786"></a><br/></td></tr>
<tr class="separator:ac8caf0e2e904fa2e9f5448e573c0d786"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5b00467fdd501bc154d8ce367a82271"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_doc_template.html">wxDocTemplate</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#ad5b00467fdd501bc154d8ce367a82271">GetDocumentTemplate</a> () const </td></tr>
<tr class="memdesc:ad5b00467fdd501bc154d8ce367a82271"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets a pointer to the template that created the document.  <a href="#ad5b00467fdd501bc154d8ce367a82271"></a><br/></td></tr>
<tr class="separator:ad5b00467fdd501bc154d8ce367a82271"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5531aac0dd425d1b2c0382ed19ccc3fb"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_window.html">wxWindow</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#a5531aac0dd425d1b2c0382ed19ccc3fb">GetDocumentWindow</a> () const </td></tr>
<tr class="memdesc:a5531aac0dd425d1b2c0382ed19ccc3fb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Intended to return a suitable window for using as a parent for document-related dialog boxes.  <a href="#a5531aac0dd425d1b2c0382ed19ccc3fb"></a><br/></td></tr>
<tr class="separator:a5531aac0dd425d1b2c0382ed19ccc3fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38d00dec4e9ade115d07131e2732550e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#a38d00dec4e9ade115d07131e2732550e">GetFilename</a> () const </td></tr>
<tr class="memdesc:a38d00dec4e9ade115d07131e2732550e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the filename associated with this document, or "" if none is associated.  <a href="#a38d00dec4e9ade115d07131e2732550e"></a><br/></td></tr>
<tr class="separator:a38d00dec4e9ade115d07131e2732550e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af4c6d71359b7ecce5d74c0de8c9fcc83"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_view.html">wxView</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#af4c6d71359b7ecce5d74c0de8c9fcc83">GetFirstView</a> () const </td></tr>
<tr class="memdesc:af4c6d71359b7ecce5d74c0de8c9fcc83"><td class="mdescLeft">&#160;</td><td class="mdescRight">A convenience function to get the first view for a document, because in many cases a document will only have a single view.  <a href="#af4c6d71359b7ecce5d74c0de8c9fcc83"></a><br/></td></tr>
<tr class="separator:af4c6d71359b7ecce5d74c0de8c9fcc83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0b23ca840df717ead6f3836c3062d9a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#ac0b23ca840df717ead6f3836c3062d9a">GetTitle</a> () const </td></tr>
<tr class="memdesc:ac0b23ca840df717ead6f3836c3062d9a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the title for this document.  <a href="#ac0b23ca840df717ead6f3836c3062d9a"></a><br/></td></tr>
<tr class="separator:ac0b23ca840df717ead6f3836c3062d9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3fd3919d3a97c15a7cf015512e622a5b"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_string.html">wxString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#a3fd3919d3a97c15a7cf015512e622a5b">GetUserReadableName</a> () const </td></tr>
<tr class="memdesc:a3fd3919d3a97c15a7cf015512e622a5b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the document name suitable to be shown to the user.  <a href="#a3fd3919d3a97c15a7cf015512e622a5b"></a><br/></td></tr>
<tr class="separator:a3fd3919d3a97c15a7cf015512e622a5b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9fe2d79c2a7cbe9aa66fca9b4f52cc39"><td class="memItemLeft" align="right" valign="top"><a class="el" href="interface_2wx_2docview_8h.html#ac4bf368e995543ae1329f60fc97bbada">wxViewVector</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#a9fe2d79c2a7cbe9aa66fca9b4f52cc39">GetViewsVector</a> () const </td></tr>
<tr class="memdesc:a9fe2d79c2a7cbe9aa66fca9b4f52cc39"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a vector of <a class="el" href="classwx_view.html" title="The view class can be used to model the viewing and editing component of an application&#39;s file-based ...">wxView</a> pointers.  <a href="#a9fe2d79c2a7cbe9aa66fca9b4f52cc39"></a><br/></td></tr>
<tr class="separator:a9fe2d79c2a7cbe9aa66fca9b4f52cc39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d9c84635a64494ea403455506b6d834"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#a1d9c84635a64494ea403455506b6d834">IsChildDocument</a> () const </td></tr>
<tr class="memdesc:a1d9c84635a64494ea403455506b6d834"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if this document is a child document corresponding to a part of the parent document and not a disk file as usual.  <a href="#a1d9c84635a64494ea403455506b6d834"></a><br/></td></tr>
<tr class="separator:a1d9c84635a64494ea403455506b6d834"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a008d84f77dc52fbd45eba3a614594758"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#a008d84f77dc52fbd45eba3a614594758">IsModified</a> () const </td></tr>
<tr class="memdesc:a008d84f77dc52fbd45eba3a614594758"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns <span class="literal">true</span> if the document has been modified since the last save, <span class="literal">false</span> otherwise.  <a href="#a008d84f77dc52fbd45eba3a614594758"></a><br/></td></tr>
<tr class="separator:a008d84f77dc52fbd45eba3a614594758"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a4fedba3df42a4b133bf16ba3a8ef1d"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#a5a4fedba3df42a4b133bf16ba3a8ef1d">Modify</a> (bool modify)</td></tr>
<tr class="memdesc:a5a4fedba3df42a4b133bf16ba3a8ef1d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Call with <span class="literal">true</span> to mark the document as modified since the last save, <span class="literal">false</span> otherwise.  <a href="#a5a4fedba3df42a4b133bf16ba3a8ef1d"></a><br/></td></tr>
<tr class="separator:a5a4fedba3df42a4b133bf16ba3a8ef1d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99cb689421dc26bf95c222e0b12305f1"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#a99cb689421dc26bf95c222e0b12305f1">OnChangedViewList</a> ()</td></tr>
<tr class="memdesc:a99cb689421dc26bf95c222e0b12305f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called when a view is added to or deleted from this document.  <a href="#a99cb689421dc26bf95c222e0b12305f1"></a><br/></td></tr>
<tr class="separator:a99cb689421dc26bf95c222e0b12305f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a12730179398ba640d78bd9f4ad65dc95"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#a12730179398ba640d78bd9f4ad65dc95">OnCloseDocument</a> ()</td></tr>
<tr class="memdesc:a12730179398ba640d78bd9f4ad65dc95"><td class="mdescLeft">&#160;</td><td class="mdescRight">This virtual function is called when the document is being closed.  <a href="#a12730179398ba640d78bd9f4ad65dc95"></a><br/></td></tr>
<tr class="separator:a12730179398ba640d78bd9f4ad65dc95"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77a48cbe35d3db6b64f84e11a804ef11"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#a77a48cbe35d3db6b64f84e11a804ef11">OnCreate</a> (const <a class="el" href="classwx_string.html">wxString</a> &amp;path, long flags)</td></tr>
<tr class="memdesc:a77a48cbe35d3db6b64f84e11a804ef11"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called just after the document object is created to give it a chance to initialize itself.  <a href="#a77a48cbe35d3db6b64f84e11a804ef11"></a><br/></td></tr>
<tr class="separator:a77a48cbe35d3db6b64f84e11a804ef11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a179c3d09f2e9d421e12728da96f3ce93"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_command_processor.html">wxCommandProcessor</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#a179c3d09f2e9d421e12728da96f3ce93">OnCreateCommandProcessor</a> ()</td></tr>
<tr class="memdesc:a179c3d09f2e9d421e12728da96f3ce93"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override this function if you want a different (or no) command processor to be created when the document is created.  <a href="#a179c3d09f2e9d421e12728da96f3ce93"></a><br/></td></tr>
<tr class="separator:a179c3d09f2e9d421e12728da96f3ce93"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a054028374af6d24cbcf80c258c7e3ae5"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#a054028374af6d24cbcf80c258c7e3ae5">OnNewDocument</a> ()</td></tr>
<tr class="memdesc:a054028374af6d24cbcf80c258c7e3ae5"><td class="mdescLeft">&#160;</td><td class="mdescRight">The default implementation calls <a class="el" href="classwx_document.html#a67879e3f2e94bb35e558af46bd847cf6" title="If the document has been modified, prompts the user to ask if the changes should be saved...">OnSaveModified()</a> and <a class="el" href="classwx_document.html#afcd7641415f12bc132eb9f668c6a7f81" title="Virtual method called from OnCloseDocument().">DeleteContents()</a>, makes a default title for the document, and notifies the views that the filename (in fact, the title) has changed.  <a href="#a054028374af6d24cbcf80c258c7e3ae5"></a><br/></td></tr>
<tr class="separator:a054028374af6d24cbcf80c258c7e3ae5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a12e524636420d866e3069a186dcc2435"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#a12e524636420d866e3069a186dcc2435">OnOpenDocument</a> (const <a class="el" href="classwx_string.html">wxString</a> &amp;filename)</td></tr>
<tr class="memdesc:a12e524636420d866e3069a186dcc2435"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs an input file stream for the given filename (which must not be empty), and calls <a class="el" href="classwx_document.html#a3718314462707c34cec51f243c67d315" title="Override this function and call it from your own LoadObject() before streaming your own data...">LoadObject()</a>.  <a href="#a12e524636420d866e3069a186dcc2435"></a><br/></td></tr>
<tr class="separator:a12e524636420d866e3069a186dcc2435"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee86aa837e2ddae59a1336c654e9f94b"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#aee86aa837e2ddae59a1336c654e9f94b">OnSaveDocument</a> (const <a class="el" href="classwx_string.html">wxString</a> &amp;filename)</td></tr>
<tr class="memdesc:aee86aa837e2ddae59a1336c654e9f94b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs an output file stream for the given filename (which must not be empty), and calls <a class="el" href="classwx_document.html#a25891a0f441fc2edd17f863de96e32b0" title="Override this function and call it from your own SaveObject() before streaming your own data...">SaveObject()</a>.  <a href="#aee86aa837e2ddae59a1336c654e9f94b"></a><br/></td></tr>
<tr class="separator:aee86aa837e2ddae59a1336c654e9f94b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a67879e3f2e94bb35e558af46bd847cf6"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#a67879e3f2e94bb35e558af46bd847cf6">OnSaveModified</a> ()</td></tr>
<tr class="memdesc:a67879e3f2e94bb35e558af46bd847cf6"><td class="mdescLeft">&#160;</td><td class="mdescRight">If the document has been modified, prompts the user to ask if the changes should be saved.  <a href="#a67879e3f2e94bb35e558af46bd847cf6"></a><br/></td></tr>
<tr class="separator:a67879e3f2e94bb35e558af46bd847cf6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeea95878b9079cff8adcf5c539bf0972"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#aeea95878b9079cff8adcf5c539bf0972">RemoveView</a> (<a class="el" href="classwx_view.html">wxView</a> *view)</td></tr>
<tr class="memdesc:aeea95878b9079cff8adcf5c539bf0972"><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes the view from the document's list of views, and calls <a class="el" href="classwx_document.html#a99cb689421dc26bf95c222e0b12305f1" title="Called when a view is added to or deleted from this document.">OnChangedViewList()</a>.  <a href="#aeea95878b9079cff8adcf5c539bf0972"></a><br/></td></tr>
<tr class="separator:aeea95878b9079cff8adcf5c539bf0972"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f23eb3c793828ec010ff4897155117f"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#a0f23eb3c793828ec010ff4897155117f">Save</a> ()</td></tr>
<tr class="memdesc:a0f23eb3c793828ec010ff4897155117f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Saves the document by calling <a class="el" href="classwx_document.html#aee86aa837e2ddae59a1336c654e9f94b" title="Constructs an output file stream for the given filename (which must not be empty), and calls SaveObject().">OnSaveDocument()</a> if there is an associated filename, or <a class="el" href="classwx_document.html#a9ef28247525dbf71d8d90b3217785b2f" title="Prompts the user for a file to save to, and then calls OnSaveDocument().">SaveAs()</a> if there is no filename.  <a href="#a0f23eb3c793828ec010ff4897155117f"></a><br/></td></tr>
<tr class="separator:a0f23eb3c793828ec010ff4897155117f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ef28247525dbf71d8d90b3217785b2f"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#a9ef28247525dbf71d8d90b3217785b2f">SaveAs</a> ()</td></tr>
<tr class="memdesc:a9ef28247525dbf71d8d90b3217785b2f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prompts the user for a file to save to, and then calls <a class="el" href="classwx_document.html#aee86aa837e2ddae59a1336c654e9f94b" title="Constructs an output file stream for the given filename (which must not be empty), and calls SaveObject().">OnSaveDocument()</a>.  <a href="#a9ef28247525dbf71d8d90b3217785b2f"></a><br/></td></tr>
<tr class="separator:a9ef28247525dbf71d8d90b3217785b2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a89c48d558b117a8f7d034d328bdb2de8"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#a89c48d558b117a8f7d034d328bdb2de8">Revert</a> ()</td></tr>
<tr class="memdesc:a89c48d558b117a8f7d034d328bdb2de8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Discard changes and load last saved version.  <a href="#a89c48d558b117a8f7d034d328bdb2de8"></a><br/></td></tr>
<tr class="separator:a89c48d558b117a8f7d034d328bdb2de8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4a77b27cd15cfc016c2a4a4439ed1a9"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#ad4a77b27cd15cfc016c2a4a4439ed1a9">SetCommandProcessor</a> (<a class="el" href="classwx_command_processor.html">wxCommandProcessor</a> *processor)</td></tr>
<tr class="memdesc:ad4a77b27cd15cfc016c2a4a4439ed1a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the command processor to be used for this document.  <a href="#ad4a77b27cd15cfc016c2a4a4439ed1a9"></a><br/></td></tr>
<tr class="separator:ad4a77b27cd15cfc016c2a4a4439ed1a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e2a67717d21d9f24b2732be1e8082f0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#a0e2a67717d21d9f24b2732be1e8082f0">SetDocumentName</a> (const <a class="el" href="classwx_string.html">wxString</a> &amp;name)</td></tr>
<tr class="memdesc:a0e2a67717d21d9f24b2732be1e8082f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the document type name for this document.  <a href="#a0e2a67717d21d9f24b2732be1e8082f0"></a><br/></td></tr>
<tr class="separator:a0e2a67717d21d9f24b2732be1e8082f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1376b01a94c9e5aed70bf1f04a259ce8"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#a1376b01a94c9e5aed70bf1f04a259ce8">SetDocumentTemplate</a> (<a class="el" href="classwx_doc_template.html">wxDocTemplate</a> *templ)</td></tr>
<tr class="memdesc:a1376b01a94c9e5aed70bf1f04a259ce8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the pointer to the template that created the document.  <a href="#a1376b01a94c9e5aed70bf1f04a259ce8"></a><br/></td></tr>
<tr class="separator:a1376b01a94c9e5aed70bf1f04a259ce8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae0c9a297f2f7a0786e78ee4a25563468"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#ae0c9a297f2f7a0786e78ee4a25563468">SetDocumentSaved</a> (bool saved=true)</td></tr>
<tr class="memdesc:ae0c9a297f2f7a0786e78ee4a25563468"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets if this document has been already saved or not.  <a href="#ae0c9a297f2f7a0786e78ee4a25563468"></a><br/></td></tr>
<tr class="separator:ae0c9a297f2f7a0786e78ee4a25563468"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aadd4ceefef4a25d637a1c2a965c889f0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#aadd4ceefef4a25d637a1c2a965c889f0">SetFilename</a> (const <a class="el" href="classwx_string.html">wxString</a> &amp;filename, bool notifyViews=false)</td></tr>
<tr class="memdesc:aadd4ceefef4a25d637a1c2a965c889f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the filename for this document.  <a href="#aadd4ceefef4a25d637a1c2a965c889f0"></a><br/></td></tr>
<tr class="separator:aadd4ceefef4a25d637a1c2a965c889f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9413e5eebea2995e330028a608668c68"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#a9413e5eebea2995e330028a608668c68">OnChangeFilename</a> (bool notifyViews)</td></tr>
<tr class="memdesc:a9413e5eebea2995e330028a608668c68"><td class="mdescLeft">&#160;</td><td class="mdescRight">If <em>notifyViews</em> is <span class="literal">true</span>, <a class="el" href="classwx_view.html#a4a104c7919b4f3ab8bfaaf9a3a577529" title="Called when the filename has changed.">wxView::OnChangeFilename()</a> is called for all views.  <a href="#a9413e5eebea2995e330028a608668c68"></a><br/></td></tr>
<tr class="separator:a9413e5eebea2995e330028a608668c68"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abceab99f5677bc4ae3f12ce3756635a4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#abceab99f5677bc4ae3f12ce3756635a4">SetTitle</a> (const <a class="el" href="classwx_string.html">wxString</a> &amp;title)</td></tr>
<tr class="memdesc:abceab99f5677bc4ae3f12ce3756635a4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the title for this document.  <a href="#abceab99f5677bc4ae3f12ce3756635a4"></a><br/></td></tr>
<tr class="separator:abceab99f5677bc4ae3f12ce3756635a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c4e930bbc9606120f05b0b3b2cf2192"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#a5c4e930bbc9606120f05b0b3b2cf2192">UpdateAllViews</a> (<a class="el" href="classwx_view.html">wxView</a> *sender=NULL, <a class="el" href="classwx_object.html">wxObject</a> *hint=NULL)</td></tr>
<tr class="memdesc:a5c4e930bbc9606120f05b0b3b2cf2192"><td class="mdescLeft">&#160;</td><td class="mdescRight">Updates all views.  <a href="#a5c4e930bbc9606120f05b0b3b2cf2192"></a><br/></td></tr>
<tr class="separator:a5c4e930bbc9606120f05b0b3b2cf2192"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr class="memitem:a7664cc8e19968950df64bce5c650d294"><td class="memItemLeft" align="right" valign="top">wxList &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#a7664cc8e19968950df64bce5c650d294">GetViews</a> ()</td></tr>
<tr class="memdesc:a7664cc8e19968950df64bce5c650d294"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the list whose elements are the views on the document.  <a href="#a7664cc8e19968950df64bce5c650d294"></a><br/></td></tr>
<tr class="separator:a7664cc8e19968950df64bce5c650d294"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6cbaff0fd4638df69040fe033021fe21"><td class="memItemLeft" align="right" valign="top">const wxList &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#a6cbaff0fd4638df69040fe033021fe21">GetViews</a> () const </td></tr>
<tr class="memdesc:a6cbaff0fd4638df69040fe033021fe21"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the list whose elements are the views on the document.  <a href="#a6cbaff0fd4638df69040fe033021fe21"></a><br/></td></tr>
<tr class="separator:a6cbaff0fd4638df69040fe033021fe21"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr class="memitem:a3718314462707c34cec51f243c67d315"><td class="memItemLeft" align="right" valign="top">virtual istream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#a3718314462707c34cec51f243c67d315">LoadObject</a> (istream &amp;stream)</td></tr>
<tr class="memdesc:a3718314462707c34cec51f243c67d315"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override this function and call it from your own <a class="el" href="classwx_document.html#a3718314462707c34cec51f243c67d315" title="Override this function and call it from your own LoadObject() before streaming your own data...">LoadObject()</a> before streaming your own data.  <a href="#a3718314462707c34cec51f243c67d315"></a><br/></td></tr>
<tr class="separator:a3718314462707c34cec51f243c67d315"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62c14f60acd409981dbb65933a0f039d"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_input_stream.html">wxInputStream</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#a62c14f60acd409981dbb65933a0f039d">LoadObject</a> (<a class="el" href="classwx_input_stream.html">wxInputStream</a> &amp;stream)</td></tr>
<tr class="memdesc:a62c14f60acd409981dbb65933a0f039d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override this function and call it from your own <a class="el" href="classwx_document.html#a3718314462707c34cec51f243c67d315" title="Override this function and call it from your own LoadObject() before streaming your own data...">LoadObject()</a> before streaming your own data.  <a href="#a62c14f60acd409981dbb65933a0f039d"></a><br/></td></tr>
<tr class="separator:a62c14f60acd409981dbb65933a0f039d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr class="memitem:a25891a0f441fc2edd17f863de96e32b0"><td class="memItemLeft" align="right" valign="top">virtual ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#a25891a0f441fc2edd17f863de96e32b0">SaveObject</a> (ostream &amp;stream)</td></tr>
<tr class="memdesc:a25891a0f441fc2edd17f863de96e32b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override this function and call it from your own <a class="el" href="classwx_document.html#a25891a0f441fc2edd17f863de96e32b0" title="Override this function and call it from your own SaveObject() before streaming your own data...">SaveObject()</a> before streaming your own data.  <a href="#a25891a0f441fc2edd17f863de96e32b0"></a><br/></td></tr>
<tr class="separator:a25891a0f441fc2edd17f863de96e32b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a143d37102e6a2d63302bfa280fedcaee"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_output_stream.html">wxOutputStream</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#a143d37102e6a2d63302bfa280fedcaee">SaveObject</a> (<a class="el" href="classwx_output_stream.html">wxOutputStream</a> &amp;stream)</td></tr>
<tr class="memdesc:a143d37102e6a2d63302bfa280fedcaee"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override this function and call it from your own <a class="el" href="classwx_document.html#a25891a0f441fc2edd17f863de96e32b0" title="Override this function and call it from your own SaveObject() before streaming your own data...">SaveObject()</a> before streaming your own data.  <a href="#a143d37102e6a2d63302bfa280fedcaee"></a><br/></td></tr>
<tr class="separator:a143d37102e6a2d63302bfa280fedcaee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classwx_evt_handler"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classwx_evt_handler')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classwx_evt_handler.html">wxEvtHandler</a></td></tr>
<tr class="memitem:a3f0166c4154227d05575b01eb2c8d4be inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a3f0166c4154227d05575b01eb2c8d4be">wxEvtHandler</a> ()</td></tr>
<tr class="memdesc:a3f0166c4154227d05575b01eb2c8d4be inherit pub_methods_classwx_evt_handler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#a3f0166c4154227d05575b01eb2c8d4be"></a><br/></td></tr>
<tr class="separator:a3f0166c4154227d05575b01eb2c8d4be inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a372d2239d91521eddc8fd2715fcab584 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a372d2239d91521eddc8fd2715fcab584">~wxEvtHandler</a> ()</td></tr>
<tr class="memdesc:a372d2239d91521eddc8fd2715fcab584 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#a372d2239d91521eddc8fd2715fcab584"></a><br/></td></tr>
<tr class="separator:a372d2239d91521eddc8fd2715fcab584 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acffd03bf407a856166ea71ef0318b59a inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#acffd03bf407a856166ea71ef0318b59a">QueueEvent</a> (<a class="el" href="classwx_event.html">wxEvent</a> *event)</td></tr>
<tr class="memdesc:acffd03bf407a856166ea71ef0318b59a inherit pub_methods_classwx_evt_handler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Queue event for a later processing.  <a href="#acffd03bf407a856166ea71ef0318b59a"></a><br/></td></tr>
<tr class="separator:acffd03bf407a856166ea71ef0318b59a inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0737c6d2cbcd5ded4b1ecdd53ed0def3 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a0737c6d2cbcd5ded4b1ecdd53ed0def3">AddPendingEvent</a> (const <a class="el" href="classwx_event.html">wxEvent</a> &amp;event)</td></tr>
<tr class="memdesc:a0737c6d2cbcd5ded4b1ecdd53ed0def3 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Post an event to be processed later.  <a href="#a0737c6d2cbcd5ded4b1ecdd53ed0def3"></a><br/></td></tr>
<tr class="separator:a0737c6d2cbcd5ded4b1ecdd53ed0def3 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63c7351618fd77330d80a250b3719519 inherit pub_methods_classwx_evt_handler"><td class="memTemplParams" colspan="2">template&lt;typename T , typename T1 , ... &gt; </td></tr>
<tr class="memitem:a63c7351618fd77330d80a250b3719519 inherit pub_methods_classwx_evt_handler"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a63c7351618fd77330d80a250b3719519">CallAfter</a> (void(T::*method)(T1,...), T1 x1,...)</td></tr>
<tr class="memdesc:a63c7351618fd77330d80a250b3719519 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Asynchronously call the given method.  <a href="#a63c7351618fd77330d80a250b3719519"></a><br/></td></tr>
<tr class="separator:a63c7351618fd77330d80a250b3719519 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a910416e4d0b1f38cec02213b8a0c6a12 inherit pub_methods_classwx_evt_handler"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:a910416e4d0b1f38cec02213b8a0c6a12 inherit pub_methods_classwx_evt_handler"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a910416e4d0b1f38cec02213b8a0c6a12">CallAfter</a> (const T &amp;functor)</td></tr>
<tr class="memdesc:a910416e4d0b1f38cec02213b8a0c6a12 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Asynchronously call the given functor.  <a href="#a910416e4d0b1f38cec02213b8a0c6a12"></a><br/></td></tr>
<tr class="separator:a910416e4d0b1f38cec02213b8a0c6a12 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65968dd27f3aac7718f2dd6b2ddd5a08 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a65968dd27f3aac7718f2dd6b2ddd5a08">ProcessEvent</a> (<a class="el" href="classwx_event.html">wxEvent</a> &amp;event)</td></tr>
<tr class="memdesc:a65968dd27f3aac7718f2dd6b2ddd5a08 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Processes an event, searching event tables and calling zero or more suitable event handler function(s).  <a href="#a65968dd27f3aac7718f2dd6b2ddd5a08"></a><br/></td></tr>
<tr class="separator:a65968dd27f3aac7718f2dd6b2ddd5a08 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0f5d2cb29a04c1f7f82eb6b351f79fb inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#ac0f5d2cb29a04c1f7f82eb6b351f79fb">ProcessEventLocally</a> (<a class="el" href="classwx_event.html">wxEvent</a> &amp;event)</td></tr>
<tr class="memdesc:ac0f5d2cb29a04c1f7f82eb6b351f79fb inherit pub_methods_classwx_evt_handler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Try to process the event in this handler and all those chained to it.  <a href="#ac0f5d2cb29a04c1f7f82eb6b351f79fb"></a><br/></td></tr>
<tr class="separator:ac0f5d2cb29a04c1f7f82eb6b351f79fb inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8205cb1a5a00d8b550b3ead22266b16b inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a8205cb1a5a00d8b550b3ead22266b16b">SafelyProcessEvent</a> (<a class="el" href="classwx_event.html">wxEvent</a> &amp;event)</td></tr>
<tr class="memdesc:a8205cb1a5a00d8b550b3ead22266b16b inherit pub_methods_classwx_evt_handler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Processes an event by calling <a class="el" href="classwx_evt_handler.html#a65968dd27f3aac7718f2dd6b2ddd5a08" title="Processes an event, searching event tables and calling zero or more suitable event handler function(s...">ProcessEvent()</a> and handles any exceptions that occur in the process.  <a href="#a8205cb1a5a00d8b550b3ead22266b16b"></a><br/></td></tr>
<tr class="separator:a8205cb1a5a00d8b550b3ead22266b16b inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f643dbdcf8e914ae1c8b70dd305e6f2 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a6f643dbdcf8e914ae1c8b70dd305e6f2">ProcessPendingEvents</a> ()</td></tr>
<tr class="memdesc:a6f643dbdcf8e914ae1c8b70dd305e6f2 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Processes the pending events previously queued using <a class="el" href="classwx_evt_handler.html#acffd03bf407a856166ea71ef0318b59a" title="Queue event for a later processing.">QueueEvent()</a> or <a class="el" href="classwx_evt_handler.html#a0737c6d2cbcd5ded4b1ecdd53ed0def3" title="Post an event to be processed later.">AddPendingEvent()</a>; you must call this function only if you are sure there are pending events for this handler, otherwise a <code>wxCHECK</code> will fail.  <a href="#a6f643dbdcf8e914ae1c8b70dd305e6f2"></a><br/></td></tr>
<tr class="separator:a6f643dbdcf8e914ae1c8b70dd305e6f2 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e7f9cf4ebd0623c1d94979855d096f8 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a6e7f9cf4ebd0623c1d94979855d096f8">DeletePendingEvents</a> ()</td></tr>
<tr class="memdesc:a6e7f9cf4ebd0623c1d94979855d096f8 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deletes all events queued on this event handler using <a class="el" href="classwx_evt_handler.html#acffd03bf407a856166ea71ef0318b59a" title="Queue event for a later processing.">QueueEvent()</a> or <a class="el" href="classwx_evt_handler.html#a0737c6d2cbcd5ded4b1ecdd53ed0def3" title="Post an event to be processed later.">AddPendingEvent()</a>.  <a href="#a6e7f9cf4ebd0623c1d94979855d096f8"></a><br/></td></tr>
<tr class="separator:a6e7f9cf4ebd0623c1d94979855d096f8 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c07426130d2868a5ae7fa918a251f49 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a3c07426130d2868a5ae7fa918a251f49">SearchEventTable</a> (wxEventTable &amp;table, <a class="el" href="classwx_event.html">wxEvent</a> &amp;event)</td></tr>
<tr class="memdesc:a3c07426130d2868a5ae7fa918a251f49 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Searches the event table, executing an event handler function if an appropriate one is found.  <a href="#a3c07426130d2868a5ae7fa918a251f49"></a><br/></td></tr>
<tr class="separator:a3c07426130d2868a5ae7fa918a251f49 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78719e8b82c9f9c6e4056b3449df1943 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a78719e8b82c9f9c6e4056b3449df1943">Connect</a> (int id, int lastId, <a class="el" href="group__group__funcmacro__events.html#ga6a7fd172612c0d6d9029bfa3aa91aca0">wxEventType</a> eventType, wxObjectEventFunction function, <a class="el" href="classwx_object.html">wxObject</a> *userData=NULL, <a class="el" href="classwx_evt_handler.html">wxEvtHandler</a> *eventSink=NULL)</td></tr>
<tr class="memdesc:a78719e8b82c9f9c6e4056b3449df1943 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Connects the given function dynamically with the event handler, id and event type.  <a href="#a78719e8b82c9f9c6e4056b3449df1943"></a><br/></td></tr>
<tr class="separator:a78719e8b82c9f9c6e4056b3449df1943 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e8b5fc4c7e7f6d32d40bc00d4108ba4 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a1e8b5fc4c7e7f6d32d40bc00d4108ba4">Connect</a> (int id, <a class="el" href="group__group__funcmacro__events.html#ga6a7fd172612c0d6d9029bfa3aa91aca0">wxEventType</a> eventType, wxObjectEventFunction function, <a class="el" href="classwx_object.html">wxObject</a> *userData=NULL, <a class="el" href="classwx_evt_handler.html">wxEvtHandler</a> *eventSink=NULL)</td></tr>
<tr class="memdesc:a1e8b5fc4c7e7f6d32d40bc00d4108ba4 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft">&#160;</td><td class="mdescRight">See the <a class="el" href="classwx_evt_handler.html#a78719e8b82c9f9c6e4056b3449df1943" title="Connects the given function dynamically with the event handler, id and event type.">Connect(int, int, wxEventType, wxObjectEventFunction, wxObject*, wxEvtHandler*)</a> overload for more info.  <a href="#a1e8b5fc4c7e7f6d32d40bc00d4108ba4"></a><br/></td></tr>
<tr class="separator:a1e8b5fc4c7e7f6d32d40bc00d4108ba4 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa290d9b67348e74c1da8497955a4e35c inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#aa290d9b67348e74c1da8497955a4e35c">Connect</a> (<a class="el" href="group__group__funcmacro__events.html#ga6a7fd172612c0d6d9029bfa3aa91aca0">wxEventType</a> eventType, wxObjectEventFunction function, <a class="el" href="classwx_object.html">wxObject</a> *userData=NULL, <a class="el" href="classwx_evt_handler.html">wxEvtHandler</a> *eventSink=NULL)</td></tr>
<tr class="memdesc:aa290d9b67348e74c1da8497955a4e35c inherit pub_methods_classwx_evt_handler"><td class="mdescLeft">&#160;</td><td class="mdescRight">See the <a class="el" href="classwx_evt_handler.html#a78719e8b82c9f9c6e4056b3449df1943" title="Connects the given function dynamically with the event handler, id and event type.">Connect(int, int, wxEventType, wxObjectEventFunction, wxObject*, wxEvtHandler*)</a> overload for more info.  <a href="#aa290d9b67348e74c1da8497955a4e35c"></a><br/></td></tr>
<tr class="separator:aa290d9b67348e74c1da8497955a4e35c inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13061cf0ed01ac10a804ac057ef4bdbc inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a13061cf0ed01ac10a804ac057ef4bdbc">Disconnect</a> (<a class="el" href="group__group__funcmacro__events.html#ga6a7fd172612c0d6d9029bfa3aa91aca0">wxEventType</a> eventType, wxObjectEventFunction function, <a class="el" href="classwx_object.html">wxObject</a> *userData=NULL, <a class="el" href="classwx_evt_handler.html">wxEvtHandler</a> *eventSink=NULL)</td></tr>
<tr class="memdesc:a13061cf0ed01ac10a804ac057ef4bdbc inherit pub_methods_classwx_evt_handler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disconnects the given function dynamically from the event handler, using the specified parameters as search criteria and returning <span class="literal">true</span> if a matching function has been found and removed.  <a href="#a13061cf0ed01ac10a804ac057ef4bdbc"></a><br/></td></tr>
<tr class="separator:a13061cf0ed01ac10a804ac057ef4bdbc inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f171e19444b9c4034c5e11f24fa9c91 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a2f171e19444b9c4034c5e11f24fa9c91">Disconnect</a> (int id=<a class="el" href="defs_8h.html#ac66d0a09761e7d86b2ac0b2e0c6a8cbba1f375b01ea03a713bbb7e32a36a2589c">wxID_ANY</a>, <a class="el" href="group__group__funcmacro__events.html#ga6a7fd172612c0d6d9029bfa3aa91aca0">wxEventType</a> eventType=<a class="el" href="group__group__funcmacro__events.html#ga310bc3f7977ae79ac1198c7a287dbffe">wxEVT_NULL</a>, wxObjectEventFunction function=NULL, <a class="el" href="classwx_object.html">wxObject</a> *userData=NULL, <a class="el" href="classwx_evt_handler.html">wxEvtHandler</a> *eventSink=NULL)</td></tr>
<tr class="memdesc:a2f171e19444b9c4034c5e11f24fa9c91 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft">&#160;</td><td class="mdescRight">See the <a class="el" href="classwx_evt_handler.html#a13061cf0ed01ac10a804ac057ef4bdbc" title="Disconnects the given function dynamically from the event handler, using the specified parameters as ...">Disconnect(wxEventType, wxObjectEventFunction, wxObject*, wxEvtHandler*)</a> overload for more info.  <a href="#a2f171e19444b9c4034c5e11f24fa9c91"></a><br/></td></tr>
<tr class="separator:a2f171e19444b9c4034c5e11f24fa9c91 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a16a6f823853e4b74b43dd9a2cf3abee6 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a16a6f823853e4b74b43dd9a2cf3abee6">Disconnect</a> (int id, int lastId, <a class="el" href="group__group__funcmacro__events.html#ga6a7fd172612c0d6d9029bfa3aa91aca0">wxEventType</a> eventType, wxObjectEventFunction function=NULL, <a class="el" href="classwx_object.html">wxObject</a> *userData=NULL, <a class="el" href="classwx_evt_handler.html">wxEvtHandler</a> *eventSink=NULL)</td></tr>
<tr class="memdesc:a16a6f823853e4b74b43dd9a2cf3abee6 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft">&#160;</td><td class="mdescRight">See the <a class="el" href="classwx_evt_handler.html#a13061cf0ed01ac10a804ac057ef4bdbc" title="Disconnects the given function dynamically from the event handler, using the specified parameters as ...">Disconnect(wxEventType, wxObjectEventFunction, wxObject*, wxEvtHandler*)</a> overload for more info.  <a href="#a16a6f823853e4b74b43dd9a2cf3abee6"></a><br/></td></tr>
<tr class="separator:a16a6f823853e4b74b43dd9a2cf3abee6 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f30c8fa5583b4a5f661897d63de3b62 inherit pub_methods_classwx_evt_handler"><td class="memTemplParams" colspan="2">template&lt;typename EventTag , typename Functor &gt; </td></tr>
<tr class="memitem:a0f30c8fa5583b4a5f661897d63de3b62 inherit pub_methods_classwx_evt_handler"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a0f30c8fa5583b4a5f661897d63de3b62">Bind</a> (const EventTag &amp;eventType, Functor functor, int id=<a class="el" href="defs_8h.html#ac66d0a09761e7d86b2ac0b2e0c6a8cbba1f375b01ea03a713bbb7e32a36a2589c">wxID_ANY</a>, int lastId=<a class="el" href="defs_8h.html#ac66d0a09761e7d86b2ac0b2e0c6a8cbba1f375b01ea03a713bbb7e32a36a2589c">wxID_ANY</a>, <a class="el" href="classwx_object.html">wxObject</a> *userData=NULL)</td></tr>
<tr class="memdesc:a0f30c8fa5583b4a5f661897d63de3b62 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Binds the given function, functor or method dynamically with the event.  <a href="#a0f30c8fa5583b4a5f661897d63de3b62"></a><br/></td></tr>
<tr class="separator:a0f30c8fa5583b4a5f661897d63de3b62 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03cc68ca201fb79c7e837919025be71a inherit pub_methods_classwx_evt_handler"><td class="memTemplParams" colspan="2">template&lt;typename EventTag , typename Class , typename EventArg , typename EventHandler &gt; </td></tr>
<tr class="memitem:a03cc68ca201fb79c7e837919025be71a inherit pub_methods_classwx_evt_handler"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a03cc68ca201fb79c7e837919025be71a">Bind</a> (const EventTag &amp;eventType, void(Class::*method)(EventArg &amp;), EventHandler *handler, int id=<a class="el" href="defs_8h.html#ac66d0a09761e7d86b2ac0b2e0c6a8cbba1f375b01ea03a713bbb7e32a36a2589c">wxID_ANY</a>, int lastId=<a class="el" href="defs_8h.html#ac66d0a09761e7d86b2ac0b2e0c6a8cbba1f375b01ea03a713bbb7e32a36a2589c">wxID_ANY</a>, <a class="el" href="classwx_object.html">wxObject</a> *userData=NULL)</td></tr>
<tr class="memdesc:a03cc68ca201fb79c7e837919025be71a inherit pub_methods_classwx_evt_handler"><td class="mdescLeft">&#160;</td><td class="mdescRight">See the <a class="el" href="classwx_evt_handler.html#a0f30c8fa5583b4a5f661897d63de3b62" title="Binds the given function, functor or method dynamically with the event.">Bind&lt;&gt;(const EventTag&amp;, Functor, int, int, wxObject*)</a> overload for more info.  <a href="#a03cc68ca201fb79c7e837919025be71a"></a><br/></td></tr>
<tr class="separator:a03cc68ca201fb79c7e837919025be71a inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b7df8272075a96daea78cdd799c00da inherit pub_methods_classwx_evt_handler"><td class="memTemplParams" colspan="2">template&lt;typename EventTag , typename Functor &gt; </td></tr>
<tr class="memitem:a2b7df8272075a96daea78cdd799c00da inherit pub_methods_classwx_evt_handler"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a2b7df8272075a96daea78cdd799c00da">Unbind</a> (const EventTag &amp;eventType, Functor functor, int id=<a class="el" href="defs_8h.html#ac66d0a09761e7d86b2ac0b2e0c6a8cbba1f375b01ea03a713bbb7e32a36a2589c">wxID_ANY</a>, int lastId=<a class="el" href="defs_8h.html#ac66d0a09761e7d86b2ac0b2e0c6a8cbba1f375b01ea03a713bbb7e32a36a2589c">wxID_ANY</a>, <a class="el" href="classwx_object.html">wxObject</a> *userData=NULL)</td></tr>
<tr class="memdesc:a2b7df8272075a96daea78cdd799c00da inherit pub_methods_classwx_evt_handler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unbinds the given function, functor or method dynamically from the event handler, using the specified parameters as search criteria and returning <span class="literal">true</span> if a matching function has been found and removed.  <a href="#a2b7df8272075a96daea78cdd799c00da"></a><br/></td></tr>
<tr class="separator:a2b7df8272075a96daea78cdd799c00da inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa49f9c4ad4462456b4fe4bd1ab53533d inherit pub_methods_classwx_evt_handler"><td class="memTemplParams" colspan="2">template&lt;typename EventTag , typename Class , typename EventArg , typename EventHandler &gt; </td></tr>
<tr class="memitem:aa49f9c4ad4462456b4fe4bd1ab53533d inherit pub_methods_classwx_evt_handler"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#aa49f9c4ad4462456b4fe4bd1ab53533d">Unbind</a> (const EventTag &amp;eventType, void(Class::*method)(EventArg &amp;), EventHandler *handler, int id=<a class="el" href="defs_8h.html#ac66d0a09761e7d86b2ac0b2e0c6a8cbba1f375b01ea03a713bbb7e32a36a2589c">wxID_ANY</a>, int lastId=<a class="el" href="defs_8h.html#ac66d0a09761e7d86b2ac0b2e0c6a8cbba1f375b01ea03a713bbb7e32a36a2589c">wxID_ANY</a>, <a class="el" href="classwx_object.html">wxObject</a> *userData=NULL)</td></tr>
<tr class="memdesc:aa49f9c4ad4462456b4fe4bd1ab53533d inherit pub_methods_classwx_evt_handler"><td class="mdescLeft">&#160;</td><td class="mdescRight">See the <a class="el" href="classwx_evt_handler.html#a2b7df8272075a96daea78cdd799c00da" title="Unbinds the given function, functor or method dynamically from the event handler, using the specified...">Unbind&lt;&gt;(const EventTag&amp;, Functor, int, int, wxObject*)</a> overload for more info.  <a href="#aa49f9c4ad4462456b4fe4bd1ab53533d"></a><br/></td></tr>
<tr class="separator:aa49f9c4ad4462456b4fe4bd1ab53533d inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6e543115a9405962152630138645588 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#ad6e543115a9405962152630138645588">GetClientData</a> () const </td></tr>
<tr class="memdesc:ad6e543115a9405962152630138645588 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns user-supplied client data.  <a href="#ad6e543115a9405962152630138645588"></a><br/></td></tr>
<tr class="separator:ad6e543115a9405962152630138645588 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b3949eaba1f25cb48618163a7c0583b inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_client_data.html">wxClientData</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a2b3949eaba1f25cb48618163a7c0583b">GetClientObject</a> () const </td></tr>
<tr class="memdesc:a2b3949eaba1f25cb48618163a7c0583b inherit pub_methods_classwx_evt_handler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a pointer to the user-supplied client data object.  <a href="#a2b3949eaba1f25cb48618163a7c0583b"></a><br/></td></tr>
<tr class="separator:a2b3949eaba1f25cb48618163a7c0583b inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82c74f2cebfa02cb3c1563d459c872bf inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a82c74f2cebfa02cb3c1563d459c872bf">SetClientData</a> (void *data)</td></tr>
<tr class="memdesc:a82c74f2cebfa02cb3c1563d459c872bf inherit pub_methods_classwx_evt_handler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets user-supplied client data.  <a href="#a82c74f2cebfa02cb3c1563d459c872bf"></a><br/></td></tr>
<tr class="separator:a82c74f2cebfa02cb3c1563d459c872bf inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1e33a06087b8b2ddc43c7d15a91b326 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#af1e33a06087b8b2ddc43c7d15a91b326">SetClientObject</a> (<a class="el" href="classwx_client_data.html">wxClientData</a> *data)</td></tr>
<tr class="memdesc:af1e33a06087b8b2ddc43c7d15a91b326 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the client data object.  <a href="#af1e33a06087b8b2ddc43c7d15a91b326"></a><br/></td></tr>
<tr class="separator:af1e33a06087b8b2ddc43c7d15a91b326 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a533e62afcb125abf1fcc8bb53fbc2e81 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a533e62afcb125abf1fcc8bb53fbc2e81">GetEvtHandlerEnabled</a> () const </td></tr>
<tr class="memdesc:a533e62afcb125abf1fcc8bb53fbc2e81 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns <span class="literal">true</span> if the event handler is enabled, <span class="literal">false</span> otherwise.  <a href="#a533e62afcb125abf1fcc8bb53fbc2e81"></a><br/></td></tr>
<tr class="separator:a533e62afcb125abf1fcc8bb53fbc2e81 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b2f853f5c7a64432ae72f9b606698f9 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_evt_handler.html">wxEvtHandler</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a4b2f853f5c7a64432ae72f9b606698f9">GetNextHandler</a> () const </td></tr>
<tr class="memdesc:a4b2f853f5c7a64432ae72f9b606698f9 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the pointer to the next handler in the chain.  <a href="#a4b2f853f5c7a64432ae72f9b606698f9"></a><br/></td></tr>
<tr class="separator:a4b2f853f5c7a64432ae72f9b606698f9 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad1ba7fa9ccbf12ee2d80f5f12350adb inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_evt_handler.html">wxEvtHandler</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#aad1ba7fa9ccbf12ee2d80f5f12350adb">GetPreviousHandler</a> () const </td></tr>
<tr class="memdesc:aad1ba7fa9ccbf12ee2d80f5f12350adb inherit pub_methods_classwx_evt_handler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the pointer to the previous handler in the chain.  <a href="#aad1ba7fa9ccbf12ee2d80f5f12350adb"></a><br/></td></tr>
<tr class="separator:aad1ba7fa9ccbf12ee2d80f5f12350adb inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7388ae19c8657e5656471b658c320036 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a7388ae19c8657e5656471b658c320036">SetEvtHandlerEnabled</a> (bool enabled)</td></tr>
<tr class="memdesc:a7388ae19c8657e5656471b658c320036 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables or disables the event handler.  <a href="#a7388ae19c8657e5656471b658c320036"></a><br/></td></tr>
<tr class="separator:a7388ae19c8657e5656471b658c320036 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68e2ef2d2b7d68c4c9c18ca92933031b inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a68e2ef2d2b7d68c4c9c18ca92933031b">SetNextHandler</a> (<a class="el" href="classwx_evt_handler.html">wxEvtHandler</a> *handler)</td></tr>
<tr class="memdesc:a68e2ef2d2b7d68c4c9c18ca92933031b inherit pub_methods_classwx_evt_handler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the pointer to the next handler.  <a href="#a68e2ef2d2b7d68c4c9c18ca92933031b"></a><br/></td></tr>
<tr class="separator:a68e2ef2d2b7d68c4c9c18ca92933031b inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff0d1836464be82e2ad723ad3a58eccc inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#aff0d1836464be82e2ad723ad3a58eccc">SetPreviousHandler</a> (<a class="el" href="classwx_evt_handler.html">wxEvtHandler</a> *handler)</td></tr>
<tr class="memdesc:aff0d1836464be82e2ad723ad3a58eccc inherit pub_methods_classwx_evt_handler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the pointer to the previous handler.  <a href="#aff0d1836464be82e2ad723ad3a58eccc"></a><br/></td></tr>
<tr class="separator:aff0d1836464be82e2ad723ad3a58eccc inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a22e5db2ec1d19c8252c056fd116975d7 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a22e5db2ec1d19c8252c056fd116975d7">Unlink</a> ()</td></tr>
<tr class="memdesc:a22e5db2ec1d19c8252c056fd116975d7 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unlinks this event handler from the chain it's part of (if any); then links the "previous" event handler to the "next" one (so that the chain won't be interrupted).  <a href="#a22e5db2ec1d19c8252c056fd116975d7"></a><br/></td></tr>
<tr class="separator:a22e5db2ec1d19c8252c056fd116975d7 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a360fdeefcf53b62fb49fb828406bb8a6 inherit pub_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a360fdeefcf53b62fb49fb828406bb8a6">IsUnlinked</a> () const </td></tr>
<tr class="memdesc:a360fdeefcf53b62fb49fb828406bb8a6 inherit pub_methods_classwx_evt_handler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns <span class="literal">true</span> if the next and the previous handler pointers of this event handler instance are <span class="literal">NULL</span>.  <a href="#a360fdeefcf53b62fb49fb828406bb8a6"></a><br/></td></tr>
<tr class="separator:a360fdeefcf53b62fb49fb828406bb8a6 inherit pub_methods_classwx_evt_handler"><td class="memSeparator" colspan="2">&#160;</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="-"/>&#160;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">&#160;</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">&#160;</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">&#160;</td></tr>
<tr class="memitem:a4721b4dc9b7aff0f30904ba2ea3954cf inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">&#160;</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> &amp;other)</td></tr>
<tr class="memdesc:a4721b4dc9b7aff0f30904ba2ea3954cf inherit pub_methods_classwx_object"><td class="mdescLeft">&#160;</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">&#160;</td></tr>
<tr class="memitem:a2a51aa8bfbab47ca2f051bcf84b3f35b inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">virtual&#160;</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">&#160;</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">&#160;</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> *&#160;</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">&#160;</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">&#160;</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> *&#160;</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">&#160;</td><td class="mdescRight">Returns the <a class="el" href="classwx_object.html#a9e31954530a0abd54982effc443ed2b8" title="Pointer to an object which is the object&#39;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">&#160;</td></tr>
<tr class="memitem:af40d580385cf4f8112fae7713404b01e inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">bool&#160;</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">&#160;</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">&#160;</td></tr>
<tr class="memitem:a80a1a3fda7b14396a9ddd3d7a46a88bd inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">bool&#160;</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> &amp;obj) const </td></tr>
<tr class="memdesc:a80a1a3fda7b14396a9ddd3d7a46a88bd inherit pub_methods_classwx_object"><td class="mdescLeft">&#160;</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">&#160;</td></tr>
<tr class="memitem:a2f6f1aa51fe9fc2b1415ca4211a90e9e inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void&#160;</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> &amp;clone)</td></tr>
<tr class="memdesc:a2f6f1aa51fe9fc2b1415ca4211a90e9e inherit pub_methods_classwx_object"><td class="mdescLeft">&#160;</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">&#160;</td></tr>
<tr class="memitem:afab780710f2adc1bb33310e27590140b inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void&#160;</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">&#160;</td><td class="mdescRight">Sets the <a class="el" href="classwx_object.html#a9e31954530a0abd54982effc443ed2b8" title="Pointer to an object which is the object&#39;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">&#160;</td></tr>
<tr class="memitem:af51efc6b1ae632fc7f0cd7ebbce9fa36 inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void&#160;</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">&#160;</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">&#160;</td></tr>
<tr class="memitem:a74b40e42d19a4b9e9bec0b57d62a5725 inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void&#160;</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">&#160;</td><td class="mdescRight">This is the same of <a class="el" href="classwx_object.html#a60204063f3cc3aa2fa1c7ff5bda9eb13" title="Ensure that this object&#39;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">&#160;</td></tr>
<tr class="memitem:a07b8f34f5afc5743195c5fed052f55d3 inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void&#160;</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">&#160;</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">&#160;</td></tr>
<tr class="memitem:a96fa423a1dbc212c8227a5d83825971f inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void *&#160;</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> &amp;filename=NULL, int lineNum=0)</td></tr>
<tr class="memdesc:a96fa423a1dbc212c8227a5d83825971f inherit pub_methods_classwx_object"><td class="mdescLeft">&#160;</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">&#160;</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:a810834cef7a7fd8af9273429c98fe74e"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#a810834cef7a7fd8af9273429c98fe74e">DoSaveDocument</a> (const <a class="el" href="classwx_string.html">wxString</a> &amp;file)</td></tr>
<tr class="memdesc:a810834cef7a7fd8af9273429c98fe74e"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method is called by <a class="el" href="classwx_document.html#aee86aa837e2ddae59a1336c654e9f94b" title="Constructs an output file stream for the given filename (which must not be empty), and calls SaveObject().">OnSaveDocument()</a> to really save the document contents to the specified file.  <a href="#a810834cef7a7fd8af9273429c98fe74e"></a><br/></td></tr>
<tr class="separator:a810834cef7a7fd8af9273429c98fe74e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acbb47142b140686cd3a573407710928e"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#acbb47142b140686cd3a573407710928e">DoOpenDocument</a> (const <a class="el" href="classwx_string.html">wxString</a> &amp;file)</td></tr>
<tr class="memdesc:acbb47142b140686cd3a573407710928e"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method is called by <a class="el" href="classwx_document.html#a12e524636420d866e3069a186dcc2435" title="Constructs an input file stream for the given filename (which must not be empty), and calls LoadObjec...">OnOpenDocument()</a> to really load the document contents from the specified file.  <a href="#acbb47142b140686cd3a573407710928e"></a><br/></td></tr>
<tr class="separator:acbb47142b140686cd3a573407710928e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classwx_evt_handler"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classwx_evt_handler')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classwx_evt_handler.html">wxEvtHandler</a></td></tr>
<tr class="memitem:ad4b0eac704dd005ac6a88fdb1e673c13 inherit pro_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#ad4b0eac704dd005ac6a88fdb1e673c13">TryBefore</a> (<a class="el" href="classwx_event.html">wxEvent</a> &amp;event)</td></tr>
<tr class="memdesc:ad4b0eac704dd005ac6a88fdb1e673c13 inherit pro_methods_classwx_evt_handler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Method called by <a class="el" href="classwx_evt_handler.html#a65968dd27f3aac7718f2dd6b2ddd5a08" title="Processes an event, searching event tables and calling zero or more suitable event handler function(s...">ProcessEvent()</a> before examining this object event tables.  <a href="#ad4b0eac704dd005ac6a88fdb1e673c13"></a><br/></td></tr>
<tr class="separator:ad4b0eac704dd005ac6a88fdb1e673c13 inherit pro_methods_classwx_evt_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e25fece1cb6cbc11fd1d41ec140319c inherit pro_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a5e25fece1cb6cbc11fd1d41ec140319c">TryAfter</a> (<a class="el" href="classwx_event.html">wxEvent</a> &amp;event)</td></tr>
<tr class="memdesc:a5e25fece1cb6cbc11fd1d41ec140319c inherit pro_methods_classwx_evt_handler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Method called by <a class="el" href="classwx_evt_handler.html#a65968dd27f3aac7718f2dd6b2ddd5a08" title="Processes an event, searching event tables and calling zero or more suitable event handler function(s...">ProcessEvent()</a> as last resort.  <a href="#a5e25fece1cb6cbc11fd1d41ec140319c"></a><br/></td></tr>
<tr class="separator:a5e25fece1cb6cbc11fd1d41ec140319c inherit pro_methods_classwx_evt_handler"><td class="memSeparator" colspan="2">&#160;</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="-"/>&#160;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&#160;</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">&#160;</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">&#160;</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> *&#160;</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">&#160;</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">&#160;</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> *&#160;</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">&#160;</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">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a750bdf24538f8aeae48d747a8bb8c5bc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_command_processor.html">wxCommandProcessor</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#a750bdf24538f8aeae48d747a8bb8c5bc">m_commandProcessor</a></td></tr>
<tr class="memdesc:a750bdf24538f8aeae48d747a8bb8c5bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">A pointer to the command processor associated with this document.  <a href="#a750bdf24538f8aeae48d747a8bb8c5bc"></a><br/></td></tr>
<tr class="separator:a750bdf24538f8aeae48d747a8bb8c5bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd3c92903b80816f5693761f7c2bc2b9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#acd3c92903b80816f5693761f7c2bc2b9">m_documentFile</a></td></tr>
<tr class="memdesc:acd3c92903b80816f5693761f7c2bc2b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Filename associated with this document ("" if none).  <a href="#acd3c92903b80816f5693761f7c2bc2b9"></a><br/></td></tr>
<tr class="separator:acd3c92903b80816f5693761f7c2bc2b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad3b6d18eae3a6f81a52d00c43e30e956"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#ad3b6d18eae3a6f81a52d00c43e30e956">m_documentModified</a></td></tr>
<tr class="memdesc:ad3b6d18eae3a6f81a52d00c43e30e956"><td class="mdescLeft">&#160;</td><td class="mdescRight"><span class="literal">true</span> if the document has been modified, <span class="literal">false</span> otherwise.  <a href="#ad3b6d18eae3a6f81a52d00c43e30e956"></a><br/></td></tr>
<tr class="separator:ad3b6d18eae3a6f81a52d00c43e30e956"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade5e6e43ec8387afbfa4d36cedb2c600"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_doc_template.html">wxDocTemplate</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#ade5e6e43ec8387afbfa4d36cedb2c600">m_documentTemplate</a></td></tr>
<tr class="memdesc:ade5e6e43ec8387afbfa4d36cedb2c600"><td class="mdescLeft">&#160;</td><td class="mdescRight">A pointer to the template from which this document was created.  <a href="#ade5e6e43ec8387afbfa4d36cedb2c600"></a><br/></td></tr>
<tr class="separator:ade5e6e43ec8387afbfa4d36cedb2c600"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff647250dfd823511a90122f5eced4a2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#aff647250dfd823511a90122f5eced4a2">m_documentTitle</a></td></tr>
<tr class="memdesc:aff647250dfd823511a90122f5eced4a2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Document title.  <a href="#aff647250dfd823511a90122f5eced4a2"></a><br/></td></tr>
<tr class="separator:aff647250dfd823511a90122f5eced4a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add7be32780e5bc95f833faec0098f81c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_string.html">wxString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#add7be32780e5bc95f833faec0098f81c">m_documentTypeName</a></td></tr>
<tr class="memdesc:add7be32780e5bc95f833faec0098f81c"><td class="mdescLeft">&#160;</td><td class="mdescRight">The document type name given to the <a class="el" href="classwx_doc_template.html" title="The wxDocTemplate class is used to model the relationship between a document class and a view class...">wxDocTemplate</a> constructor, copied to this variable when the document is created.  <a href="#add7be32780e5bc95f833faec0098f81c"></a><br/></td></tr>
<tr class="separator:add7be32780e5bc95f833faec0098f81c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1d69674c05ee358cac25fa311fc46a6"><td class="memItemLeft" align="right" valign="top">wxList&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_document.html#ab1d69674c05ee358cac25fa311fc46a6">m_documentViews</a></td></tr>
<tr class="memdesc:ab1d69674c05ee358cac25fa311fc46a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">List of <a class="el" href="classwx_view.html" title="The view class can be used to model the viewing and editing component of an application&#39;s file-based ...">wxView</a> instances associated with this document.  <a href="#ab1d69674c05ee358cac25fa311fc46a6"></a><br/></td></tr>
<tr class="separator:ab1d69674c05ee358cac25fa311fc46a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_static_methods_classwx_evt_handler"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classwx_evt_handler')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="classwx_evt_handler.html">wxEvtHandler</a></td></tr>
<tr class="memitem:a7dc3c701781f4044372049de5004137e inherit pub_static_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a7dc3c701781f4044372049de5004137e">AddFilter</a> (<a class="el" href="classwx_event_filter.html">wxEventFilter</a> *filter)</td></tr>
<tr class="memdesc:a7dc3c701781f4044372049de5004137e inherit pub_static_methods_classwx_evt_handler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add an event filter whose FilterEvent() method will be called for each and every event processed by wxWidgets.  <a href="#a7dc3c701781f4044372049de5004137e"></a><br/></td></tr>
<tr class="separator:a7dc3c701781f4044372049de5004137e inherit pub_static_methods_classwx_evt_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a67a57b759c447b121bf70a7c9804c8f2 inherit pub_static_methods_classwx_evt_handler"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_evt_handler.html#a67a57b759c447b121bf70a7c9804c8f2">RemoveFilter</a> (<a class="el" href="classwx_event_filter.html">wxEventFilter</a> *filter)</td></tr>
<tr class="memdesc:a67a57b759c447b121bf70a7c9804c8f2 inherit pub_static_methods_classwx_evt_handler"><td class="mdescLeft">&#160;</td><td class="mdescRight">Remove a filter previously installed with <a class="el" href="classwx_evt_handler.html#a7dc3c701781f4044372049de5004137e" title="Add an event filter whose FilterEvent() method will be called for each and every event processed by w...">AddFilter()</a>.  <a href="#a67a57b759c447b121bf70a7c9804c8f2"></a><br/></td></tr>
<tr class="separator:a67a57b759c447b121bf70a7c9804c8f2 inherit pub_static_methods_classwx_evt_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a5aef43f208d925ca6ba040186d62ab99"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">wxDocument::wxDocument </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classwx_document.html">wxDocument</a> *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>NULL</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constructor. </p>
<p>Define your own default constructor to initialize application-specific data.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>Specifying a non-<code>NULL</code> parent document here makes this document a special <em>child document</em>, see their description in the class documentation. Notice that this parameter exists but is ignored in wxWidgets versions prior to 2.9.1. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a894332ee2d4da8deeaa0c01f4ba556a7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual wxDocument::~wxDocument </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Destructor. </p>
<p>Removes itself from the document manager. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a88693ce7b480427cf11eda7dc61d499c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDocument::Activate </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Activate the first view of the document if any. </p>
<p>This function simply calls the Raise() method of the frame of the first view. You may need to override the Raise() method to get the desired effect if you are not using a standard <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> for your view. For instance, if your document is inside its own notebook tab you could implement Raise() like this:</p>
<div class="fragment"><div class="line"><span class="keywordtype">void</span> MyNotebookPage::Raise()</div>
<div class="line">{</div>
<div class="line">    <a class="code" href="classwx_notebook.html" title="This class represents a notebook control, which manages multiple windows with associated tabs...">wxNotebook</a>* notebook = <a class="code" href="group__group__funcmacro__rtti.html#gaae25db7169be29d37f3451dff0ac7711" title="This macro checks that the cast is valid in debug mode (an assert failure will result if wxDynamicCas...">wxStaticCast</a>(GetParent(), <a class="code" href="classwx_notebook.html" title="This class represents a notebook control, which manages multiple windows with associated tabs...">wxNotebook</a>);</div>
<div class="line">    notebook-&gt;<a class="code" href="classwx_notebook.html#a140d1743bc93c3aff36fe2c9f1cb2bc8" title="Sets the selection to the given page, returning the previous selection.">SetSelection</a>(notebook-&gt;<a class="code" href="classwx_book_ctrl_base.html#a098c7ea66b5328bee5ce06d9c973fbc1" title="Returns the index of the specified tab window or wxNOT_FOUND if not found.">FindPage</a>(<span class="keyword">this</span>));</div>
<div class="line">}</div>
</div><!-- fragment --><dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_document.html#af4c6d71359b7ecce5d74c0de8c9fcc83" title="A convenience function to get the first view for a document, because in many cases a document will on...">GetFirstView()</a></dd></dl>
<dl class="section since"><dt>Since</dt><dd>2.9.5 </dd></dl>

</div>
</div>
<a class="anchor" id="acae0bbe368cd261c245350464329c6cc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool wxDocument::AddView </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classwx_view.html">wxView</a> *&#160;</td>
          <td class="paramname"><em>view</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>If the view is not already in the list of views, adds the view and calls <a class="el" href="classwx_document.html#a99cb689421dc26bf95c222e0b12305f1" title="Called when a view is added to or deleted from this document.">OnChangedViewList()</a>. </p>

</div>
</div>
<a class="anchor" id="abe9a83ed109fe984cc82ed35188b299c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool wxDocument::AlreadySaved </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns true if the document hasn't been modified since the last time it had been saved. </p>
<p>Notice that this function returns <span class="literal">false</span> if the document had been never saved at all, so it may be also used to test whether it makes sense to save the document: if it returns <span class="literal">true</span>, there is nothing to save but if <span class="literal">false</span> is returned, it can be saved, even if it might be not modified (this can be used to create an empty document file by the user).</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_document.html#a008d84f77dc52fbd45eba3a614594758" title="Returns true if the document has been modified since the last save, false otherwise.">IsModified()</a>, <a class="el" href="classwx_document.html#ac8caf0e2e904fa2e9f5448e573c0d786" title="Return true if this document had been already saved.">GetDocumentSaved()</a></dd></dl>
<dl class="section since"><dt>Since</dt><dd>2.9.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a8bbe46b9a14d500d0bfbe1ab5dd802f8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool wxDocument::Close </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>Closes the document, by calling <a class="el" href="classwx_document.html#a67879e3f2e94bb35e558af46bd847cf6" title="If the document has been modified, prompts the user to ask if the changes should be saved...">OnSaveModified()</a> and then (if this returned <span class="literal">true</span>) <a class="el" href="classwx_document.html#a12730179398ba640d78bd9f4ad65dc95" title="This virtual function is called when the document is being closed.">OnCloseDocument()</a>. </p>
<p>This does not normally delete the document object, use <a class="el" href="classwx_document.html#a0f5c5e822ac78f5e5ef0b14a3d02c477" title="Calls wxView::Close() and deletes each view.">DeleteAllViews()</a> to do this implicitly. </p>

</div>
</div>
<a class="anchor" id="a0f5c5e822ac78f5e5ef0b14a3d02c477"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool wxDocument::DeleteAllViews </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>Calls <a class="el" href="classwx_view.html#a5fa376b907d166d8aa7842a52161cc42" title="Closes the view by calling OnClose().">wxView::Close()</a> and deletes each view. </p>
<p>Deleting the final view will implicitly delete the document itself, because the <a class="el" href="classwx_view.html" title="The view class can be used to model the viewing and editing component of an application&#39;s file-based ...">wxView</a> destructor calls <a class="el" href="classwx_document.html#aeea95878b9079cff8adcf5c539bf0972" title="Removes the view from the document&#39;s list of views, and calls OnChangedViewList().">RemoveView()</a>. This in turns calls <a class="el" href="classwx_document.html#a99cb689421dc26bf95c222e0b12305f1" title="Called when a view is added to or deleted from this document.">OnChangedViewList()</a>, whose default implemention is to save and delete the document if no views exist. </p>

</div>
</div>
<a class="anchor" id="afcd7641415f12bc132eb9f668c6a7f81"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool wxDocument::DeleteContents </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>Virtual method called from <a class="el" href="classwx_document.html#a12730179398ba640d78bd9f4ad65dc95" title="This virtual function is called when the document is being closed.">OnCloseDocument()</a>. </p>
<p>This method may be overridden to perform any additional cleanup which might be needed when the document is closed.</p>
<p>The return value of this method is currently ignored.</p>
<p>The default version does nothing and simply returns <span class="literal">true</span>. </p>

</div>
</div>
<a class="anchor" id="acbb47142b140686cd3a573407710928e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool wxDocument::DoOpenDocument </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> &amp;&#160;</td>
          <td class="paramname"><em>file</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This method is called by <a class="el" href="classwx_document.html#a12e524636420d866e3069a186dcc2435" title="Constructs an input file stream for the given filename (which must not be empty), and calls LoadObjec...">OnOpenDocument()</a> to really load the document contents from the specified file. </p>
<p>Base class version creates a file-based stream and calls <a class="el" href="classwx_document.html#a3718314462707c34cec51f243c67d315" title="Override this function and call it from your own LoadObject() before streaming your own data...">LoadObject()</a>. Override this if you need to do something else or prefer not to use <a class="el" href="classwx_document.html#a3718314462707c34cec51f243c67d315" title="Override this function and call it from your own LoadObject() before streaming your own data...">LoadObject()</a> at all. </p>

</div>
</div>
<a class="anchor" id="a810834cef7a7fd8af9273429c98fe74e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool wxDocument::DoSaveDocument </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> &amp;&#160;</td>
          <td class="paramname"><em>file</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This method is called by <a class="el" href="classwx_document.html#aee86aa837e2ddae59a1336c654e9f94b" title="Constructs an output file stream for the given filename (which must not be empty), and calls SaveObject().">OnSaveDocument()</a> to really save the document contents to the specified file. </p>
<p>Base class version creates a file-based stream and calls <a class="el" href="classwx_document.html#a25891a0f441fc2edd17f863de96e32b0" title="Override this function and call it from your own SaveObject() before streaming your own data...">SaveObject()</a>. Override this if you need to do something else or prefer not to use <a class="el" href="classwx_document.html#a25891a0f441fc2edd17f863de96e32b0" title="Override this function and call it from your own SaveObject() before streaming your own data...">SaveObject()</a> at all. </p>

</div>
</div>
<a class="anchor" id="ac4400f63eeb994aa0b6289cd3fbb2bac"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classwx_command_processor.html">wxCommandProcessor</a>* wxDocument::GetCommandProcessor </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns a pointer to the command processor associated with this document. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_command_processor.html" title="wxCommandProcessor is a class that maintains a history of wxCommands, with undo/redo functionality bu...">wxCommandProcessor</a> </dd></dl>

</div>
</div>
<a class="anchor" id="aacd84b66750f17245581ed4d4d672d07"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classwx_doc_manager.html">wxDocManager</a>* wxDocument::GetDocumentManager </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Gets a pointer to the associated document manager. </p>

</div>
</div>
<a class="anchor" id="a4cfebd6f2cea0f62c917465a114ec1bd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classwx_string.html">wxString</a> wxDocument::GetDocumentName </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the document type name for this document. </p>
<p>See the comment for <a class="el" href="classwx_document.html#add7be32780e5bc95f833faec0098f81c">m_documentTypeName</a>. </p>

</div>
</div>
<a class="anchor" id="ac8caf0e2e904fa2e9f5448e573c0d786"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool wxDocument::GetDocumentSaved </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Return true if this document had been already saved. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_document.html#a008d84f77dc52fbd45eba3a614594758" title="Returns true if the document has been modified since the last save, false otherwise.">IsModified()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ad5b00467fdd501bc154d8ce367a82271"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classwx_doc_template.html">wxDocTemplate</a>* wxDocument::GetDocumentTemplate </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Gets a pointer to the template that created the document. </p>

</div>
</div>
<a class="anchor" id="a5531aac0dd425d1b2c0382ed19ccc3fb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classwx_window.html">wxWindow</a>* wxDocument::GetDocumentWindow </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Intended to return a suitable window for using as a parent for document-related dialog boxes. </p>
<p>By default, uses the frame associated with the first view. </p>

</div>
</div>
<a class="anchor" id="a38d00dec4e9ade115d07131e2732550e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classwx_string.html">wxString</a> wxDocument::GetFilename </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the filename associated with this document, or "" if none is associated. </p>

</div>
</div>
<a class="anchor" id="af4c6d71359b7ecce5d74c0de8c9fcc83"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classwx_view.html">wxView</a>* wxDocument::GetFirstView </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>A convenience function to get the first view for a document, because in many cases a document will only have a single view. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_document.html#a7664cc8e19968950df64bce5c650d294" title="Returns the list whose elements are the views on the document.">GetViews()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ac0b23ca840df717ead6f3836c3062d9a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classwx_string.html">wxString</a> wxDocument::GetTitle </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the title for this document. </p>
<p>The document title is used for an associated frame (if any), and is usually constructed by the framework from the filename. </p>

</div>
</div>
<a class="anchor" id="a3fd3919d3a97c15a7cf015512e622a5b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classwx_string.html">wxString</a> wxDocument::GetUserReadableName </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the document name suitable to be shown to the user. </p>
<p>The default implementation uses the document title, if any, of the name part of the document filename if it was set or, otherwise, the string <b>unnamed</b>. </p>

</div>
</div>
<a class="anchor" id="a7664cc8e19968950df64bce5c650d294"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">wxList&amp; wxDocument::GetViews </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the list whose elements are the views on the document. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_document.html#af4c6d71359b7ecce5d74c0de8c9fcc83" title="A convenience function to get the first view for a document, because in many cases a document will on...">GetFirstView()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a6cbaff0fd4638df69040fe033021fe21"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const wxList&amp; wxDocument::GetViews </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the list whose elements are the views on the document. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_document.html#af4c6d71359b7ecce5d74c0de8c9fcc83" title="A convenience function to get the first view for a document, because in many cases a document will on...">GetFirstView()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a9fe2d79c2a7cbe9aa66fca9b4f52cc39"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="interface_2wx_2docview_8h.html#ac4bf368e995543ae1329f60fc97bbada">wxViewVector</a> wxDocument::GetViewsVector </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns a vector of <a class="el" href="classwx_view.html" title="The view class can be used to model the viewing and editing component of an application&#39;s file-based ...">wxView</a> pointers. </p>
<dl class="section since"><dt>Since</dt><dd>2.9.5 </dd></dl>

</div>
</div>
<a class="anchor" id="a1d9c84635a64494ea403455506b6d834"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool wxDocument::IsChildDocument </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns true if this document is a child document corresponding to a part of the parent document and not a disk file as usual. </p>
<p>This method can be used to check whether file-related operations make sense for this document as they only apply to top-level documents and not child ones.</p>
<dl class="section since"><dt>Since</dt><dd>2.9.2 </dd></dl>

</div>
</div>
<a class="anchor" id="a008d84f77dc52fbd45eba3a614594758"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool wxDocument::IsModified </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns <span class="literal">true</span> if the document has been modified since the last save, <span class="literal">false</span> otherwise. </p>
<p>You may need to override this if your document view maintains its own record of being modified.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_document.html#a5a4fedba3df42a4b133bf16ba3a8ef1d" title="Call with true to mark the document as modified since the last save, false otherwise.">Modify()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a3718314462707c34cec51f243c67d315"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual istream&amp; wxDocument::LoadObject </td>
          <td>(</td>
          <td class="paramtype">istream &amp;&#160;</td>
          <td class="paramname"><em>stream</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Override this function and call it from your own <a class="el" href="classwx_document.html#a3718314462707c34cec51f243c67d315" title="Override this function and call it from your own LoadObject() before streaming your own data...">LoadObject()</a> before streaming your own data. </p>
<p><a class="el" href="classwx_document.html#a3718314462707c34cec51f243c67d315" title="Override this function and call it from your own LoadObject() before streaming your own data...">LoadObject()</a> is called by the framework automatically when the document contents need to be loaded.</p>
<dl class="section note"><dt>Note</dt><dd>This version of <a class="el" href="classwx_document.html#a3718314462707c34cec51f243c67d315" title="Override this function and call it from your own LoadObject() before streaming your own data...">LoadObject()</a> may not exist depending on how wxWidgets was configured. </dd></dl>

</div>
</div>
<a class="anchor" id="a62c14f60acd409981dbb65933a0f039d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classwx_input_stream.html">wxInputStream</a>&amp; wxDocument::LoadObject </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classwx_input_stream.html">wxInputStream</a> &amp;&#160;</td>
          <td class="paramname"><em>stream</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Override this function and call it from your own <a class="el" href="classwx_document.html#a3718314462707c34cec51f243c67d315" title="Override this function and call it from your own LoadObject() before streaming your own data...">LoadObject()</a> before streaming your own data. </p>
<p><a class="el" href="classwx_document.html#a3718314462707c34cec51f243c67d315" title="Override this function and call it from your own LoadObject() before streaming your own data...">LoadObject()</a> is called by the framework automatically when the document contents need to be loaded.</p>
<dl class="section note"><dt>Note</dt><dd>This version of <a class="el" href="classwx_document.html#a3718314462707c34cec51f243c67d315" title="Override this function and call it from your own LoadObject() before streaming your own data...">LoadObject()</a> may not exist depending on how wxWidgets was configured. </dd></dl>

</div>
</div>
<a class="anchor" id="a5a4fedba3df42a4b133bf16ba3a8ef1d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void wxDocument::Modify </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>modify</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Call with <span class="literal">true</span> to mark the document as modified since the last save, <span class="literal">false</span> otherwise. </p>
<p>You may need to override this if your document view maintains its own record of being modified.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_document.html#a008d84f77dc52fbd45eba3a614594758" title="Returns true if the document has been modified since the last save, false otherwise.">IsModified()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a99cb689421dc26bf95c222e0b12305f1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void wxDocument::OnChangedViewList </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Called when a view is added to or deleted from this document. </p>
<p>The default implementation saves and deletes the document if no views exist (the last one has just been removed). </p>

</div>
</div>
<a class="anchor" id="a9413e5eebea2995e330028a608668c68"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void wxDocument::OnChangeFilename </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>notifyViews</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>If <em>notifyViews</em> is <span class="literal">true</span>, <a class="el" href="classwx_view.html#a4a104c7919b4f3ab8bfaaf9a3a577529" title="Called when the filename has changed.">wxView::OnChangeFilename()</a> is called for all views. </p>
<dl class="section since"><dt>Since</dt><dd>2.9.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a12730179398ba640d78bd9f4ad65dc95"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool wxDocument::OnCloseDocument </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This virtual function is called when the document is being closed. </p>
<p>The default implementation calls <a class="el" href="classwx_document.html#afcd7641415f12bc132eb9f668c6a7f81" title="Virtual method called from OnCloseDocument().">DeleteContents()</a> (which may be overridden to perform additional cleanup) and sets the modified flag to <span class="literal">false</span>. You can override it to supply additional behaviour when the document is closed with <a class="el" href="classwx_document.html#a8bbe46b9a14d500d0bfbe1ab5dd802f8" title="Closes the document, by calling OnSaveModified() and then (if this returned true) OnCloseDocument()...">Close()</a>.</p>
<p>Notice that previous wxWidgets versions used to call this function also from <a class="el" href="classwx_document.html#a054028374af6d24cbcf80c258c7e3ae5" title="The default implementation calls OnSaveModified() and DeleteContents(), makes a default title for the...">OnNewDocument()</a>, rather counter-intuitively. This is no longer the case since wxWidgets 2.9.0. </p>

</div>
</div>
<a class="anchor" id="a77a48cbe35d3db6b64f84e11a804ef11"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool wxDocument::OnCreate </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> &amp;&#160;</td>
          <td class="paramname"><em>path</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>flags</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Called just after the document object is created to give it a chance to initialize itself. </p>
<p>The default implementation uses the template associated with the document to create an initial view.</p>
<p>For compatibility reasons, this method may either delete the document itself if its initialization fails or not do it in which case it is deleted by caller. It is recommended to delete the document explicitly in this function if it can't be initialized.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">path</td><td>The associated file path. </td></tr>
    <tr><td class="paramname">flags</td><td>Flags passed to CreateDocument(). </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><span class="literal">true</span> if the initialization was successful or <span class="literal">false</span> if it failed. </dd></dl>

</div>
</div>
<a class="anchor" id="a179c3d09f2e9d421e12728da96f3ce93"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classwx_command_processor.html">wxCommandProcessor</a>* wxDocument::OnCreateCommandProcessor </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Override this function if you want a different (or no) command processor to be created when the document is created. </p>
<p>By default, it returns an instance of <a class="el" href="classwx_command_processor.html" title="wxCommandProcessor is a class that maintains a history of wxCommands, with undo/redo functionality bu...">wxCommandProcessor</a>.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_command_processor.html" title="wxCommandProcessor is a class that maintains a history of wxCommands, with undo/redo functionality bu...">wxCommandProcessor</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a054028374af6d24cbcf80c258c7e3ae5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool wxDocument::OnNewDocument </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The default implementation calls <a class="el" href="classwx_document.html#a67879e3f2e94bb35e558af46bd847cf6" title="If the document has been modified, prompts the user to ask if the changes should be saved...">OnSaveModified()</a> and <a class="el" href="classwx_document.html#afcd7641415f12bc132eb9f668c6a7f81" title="Virtual method called from OnCloseDocument().">DeleteContents()</a>, makes a default title for the document, and notifies the views that the filename (in fact, the title) has changed. </p>

</div>
</div>
<a class="anchor" id="a12e524636420d866e3069a186dcc2435"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool wxDocument::OnOpenDocument </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> &amp;&#160;</td>
          <td class="paramname"><em>filename</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Constructs an input file stream for the given filename (which must not be empty), and calls <a class="el" href="classwx_document.html#a3718314462707c34cec51f243c67d315" title="Override this function and call it from your own LoadObject() before streaming your own data...">LoadObject()</a>. </p>
<p>If <a class="el" href="classwx_document.html#a3718314462707c34cec51f243c67d315" title="Override this function and call it from your own LoadObject() before streaming your own data...">LoadObject()</a> returns <span class="literal">true</span>, the document is set to unmodified; otherwise, an error message box is displayed. The document's views are notified that the filename has changed, to give windows an opportunity to update their titles. All of the document's views are then updated. </p>

</div>
</div>
<a class="anchor" id="aee86aa837e2ddae59a1336c654e9f94b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool wxDocument::OnSaveDocument </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> &amp;&#160;</td>
          <td class="paramname"><em>filename</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Constructs an output file stream for the given filename (which must not be empty), and calls <a class="el" href="classwx_document.html#a25891a0f441fc2edd17f863de96e32b0" title="Override this function and call it from your own SaveObject() before streaming your own data...">SaveObject()</a>. </p>
<p>If <a class="el" href="classwx_document.html#a25891a0f441fc2edd17f863de96e32b0" title="Override this function and call it from your own SaveObject() before streaming your own data...">SaveObject()</a> returns <span class="literal">true</span>, the document is set to unmodified; otherwise, an error message box is displayed. </p>

</div>
</div>
<a class="anchor" id="a67879e3f2e94bb35e558af46bd847cf6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool wxDocument::OnSaveModified </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>If the document has been modified, prompts the user to ask if the changes should be saved. </p>
<p>If the user replies Yes, the <a class="el" href="classwx_document.html#a0f23eb3c793828ec010ff4897155117f" title="Saves the document by calling OnSaveDocument() if there is an associated filename, or SaveAs() if there is no filename.">Save()</a> function is called. If No, the document is marked as unmodified and the function succeeds. If Cancel, the function fails. </p>

</div>
</div>
<a class="anchor" id="aeea95878b9079cff8adcf5c539bf0972"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool wxDocument::RemoveView </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classwx_view.html">wxView</a> *&#160;</td>
          <td class="paramname"><em>view</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Removes the view from the document's list of views, and calls <a class="el" href="classwx_document.html#a99cb689421dc26bf95c222e0b12305f1" title="Called when a view is added to or deleted from this document.">OnChangedViewList()</a>. </p>

</div>
</div>
<a class="anchor" id="a89c48d558b117a8f7d034d328bdb2de8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool wxDocument::Revert </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>Discard changes and load last saved version. </p>
<p>Prompts the user first, and then calls <a class="el" href="classwx_document.html#acbb47142b140686cd3a573407710928e" title="This method is called by OnOpenDocument() to really load the document contents from the specified fil...">DoOpenDocument()</a> to reload the current file. </p>

</div>
</div>
<a class="anchor" id="a0f23eb3c793828ec010ff4897155117f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool wxDocument::Save </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>Saves the document by calling <a class="el" href="classwx_document.html#aee86aa837e2ddae59a1336c654e9f94b" title="Constructs an output file stream for the given filename (which must not be empty), and calls SaveObject().">OnSaveDocument()</a> if there is an associated filename, or <a class="el" href="classwx_document.html#a9ef28247525dbf71d8d90b3217785b2f" title="Prompts the user for a file to save to, and then calls OnSaveDocument().">SaveAs()</a> if there is no filename. </p>

</div>
</div>
<a class="anchor" id="a9ef28247525dbf71d8d90b3217785b2f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool wxDocument::SaveAs </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>Prompts the user for a file to save to, and then calls <a class="el" href="classwx_document.html#aee86aa837e2ddae59a1336c654e9f94b" title="Constructs an output file stream for the given filename (which must not be empty), and calls SaveObject().">OnSaveDocument()</a>. </p>

</div>
</div>
<a class="anchor" id="a25891a0f441fc2edd17f863de96e32b0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual ostream&amp; wxDocument::SaveObject </td>
          <td>(</td>
          <td class="paramtype">ostream &amp;&#160;</td>
          <td class="paramname"><em>stream</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Override this function and call it from your own <a class="el" href="classwx_document.html#a25891a0f441fc2edd17f863de96e32b0" title="Override this function and call it from your own SaveObject() before streaming your own data...">SaveObject()</a> before streaming your own data. </p>
<p><a class="el" href="classwx_document.html#a25891a0f441fc2edd17f863de96e32b0" title="Override this function and call it from your own SaveObject() before streaming your own data...">SaveObject()</a> is called by the framework automatically when the document contents need to be saved.</p>
<dl class="section note"><dt>Note</dt><dd>This version of <a class="el" href="classwx_document.html#a25891a0f441fc2edd17f863de96e32b0" title="Override this function and call it from your own SaveObject() before streaming your own data...">SaveObject()</a> may not exist depending on how wxWidgets was configured. </dd></dl>

</div>
</div>
<a class="anchor" id="a143d37102e6a2d63302bfa280fedcaee"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classwx_output_stream.html">wxOutputStream</a>&amp; wxDocument::SaveObject </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classwx_output_stream.html">wxOutputStream</a> &amp;&#160;</td>
          <td class="paramname"><em>stream</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Override this function and call it from your own <a class="el" href="classwx_document.html#a25891a0f441fc2edd17f863de96e32b0" title="Override this function and call it from your own SaveObject() before streaming your own data...">SaveObject()</a> before streaming your own data. </p>
<p><a class="el" href="classwx_document.html#a25891a0f441fc2edd17f863de96e32b0" title="Override this function and call it from your own SaveObject() before streaming your own data...">SaveObject()</a> is called by the framework automatically when the document contents need to be saved.</p>
<dl class="section note"><dt>Note</dt><dd>This version of <a class="el" href="classwx_document.html#a25891a0f441fc2edd17f863de96e32b0" title="Override this function and call it from your own SaveObject() before streaming your own data...">SaveObject()</a> may not exist depending on how wxWidgets was configured. </dd></dl>

</div>
</div>
<a class="anchor" id="ad4a77b27cd15cfc016c2a4a4439ed1a9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void wxDocument::SetCommandProcessor </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classwx_command_processor.html">wxCommandProcessor</a> *&#160;</td>
          <td class="paramname"><em>processor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Sets the command processor to be used for this document. </p>
<p>The document will then be responsible for its deletion. Normally you should not call this; override <a class="el" href="classwx_document.html#a179c3d09f2e9d421e12728da96f3ce93" title="Override this function if you want a different (or no) command processor to be created when the docum...">OnCreateCommandProcessor()</a> instead.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_command_processor.html" title="wxCommandProcessor is a class that maintains a history of wxCommands, with undo/redo functionality bu...">wxCommandProcessor</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a0e2a67717d21d9f24b2732be1e8082f0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDocument::SetDocumentName </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the document type name for this document. </p>
<p>See the comment for <a class="el" href="classwx_document.html#add7be32780e5bc95f833faec0098f81c">m_documentTypeName</a>. </p>

</div>
</div>
<a class="anchor" id="ae0c9a297f2f7a0786e78ee4a25563468"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDocument::SetDocumentSaved </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>saved</em> = <code>true</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets if this document has been already saved or not. </p>
<p>Normally there is no need to call this function as the document-view framework does it itself as the documents are loaded from and saved to the files. However it may be useful in some particular cases, for example it may be called with <span class="literal">false</span> argument to prevent the user from saving the just opened document into the same file if this shouldn't be done for some reason (e.g. file format version changes and a new extension should be used for saving).</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_document.html#ac8caf0e2e904fa2e9f5448e573c0d786" title="Return true if this document had been already saved.">GetDocumentSaved()</a>, <a class="el" href="classwx_document.html#abe9a83ed109fe984cc82ed35188b299c" title="Returns true if the document hasn&#39;t been modified since the last time it had been saved...">AlreadySaved()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a1376b01a94c9e5aed70bf1f04a259ce8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void wxDocument::SetDocumentTemplate </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classwx_doc_template.html">wxDocTemplate</a> *&#160;</td>
          <td class="paramname"><em>templ</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Sets the pointer to the template that created the document. </p>
<p>Should only be called by the framework. </p>

</div>
</div>
<a class="anchor" id="aadd4ceefef4a25d637a1c2a965c889f0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDocument::SetFilename </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> &amp;&#160;</td>
          <td class="paramname"><em>filename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>notifyViews</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the filename for this document. </p>
<p>Usually called by the framework.</p>
<p>Calls <a class="el" href="classwx_document.html#a9413e5eebea2995e330028a608668c68" title="If notifyViews is true, wxView::OnChangeFilename() is called for all views.">OnChangeFilename()</a> which in turn calls <a class="el" href="classwx_view.html#a4a104c7919b4f3ab8bfaaf9a3a577529" title="Called when the filename has changed.">wxView::OnChangeFilename()</a> for all views if <em>notifyViews</em> is <span class="literal">true</span>. </p>

</div>
</div>
<a class="anchor" id="abceab99f5677bc4ae3f12ce3756635a4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDocument::SetTitle </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> &amp;&#160;</td>
          <td class="paramname"><em>title</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the title for this document. </p>
<p>The document title is used for an associated frame (if any), and is usually constructed by the framework from the filename. </p>

</div>
</div>
<a class="anchor" id="a5c4e930bbc9606120f05b0b3b2cf2192"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void wxDocument::UpdateAllViews </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classwx_view.html">wxView</a> *&#160;</td>
          <td class="paramname"><em>sender</em> = <code>NULL</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classwx_object.html">wxObject</a> *&#160;</td>
          <td class="paramname"><em>hint</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Updates all views. </p>
<p>If <em>sender</em> is non-<span class="literal">NULL</span>, does not update this view. <em>hint</em> represents optional information to allow a view to optimize its update. </p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a750bdf24538f8aeae48d747a8bb8c5bc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classwx_command_processor.html">wxCommandProcessor</a>* wxDocument::m_commandProcessor</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>A pointer to the command processor associated with this document. </p>

</div>
</div>
<a class="anchor" id="acd3c92903b80816f5693761f7c2bc2b9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classwx_string.html">wxString</a> wxDocument::m_documentFile</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>Filename associated with this document ("" if none). </p>

</div>
</div>
<a class="anchor" id="ad3b6d18eae3a6f81a52d00c43e30e956"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool wxDocument::m_documentModified</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><span class="literal">true</span> if the document has been modified, <span class="literal">false</span> otherwise. </p>

</div>
</div>
<a class="anchor" id="ade5e6e43ec8387afbfa4d36cedb2c600"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classwx_doc_template.html">wxDocTemplate</a>* wxDocument::m_documentTemplate</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>A pointer to the template from which this document was created. </p>

</div>
</div>
<a class="anchor" id="aff647250dfd823511a90122f5eced4a2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classwx_string.html">wxString</a> wxDocument::m_documentTitle</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>Document title. </p>
<p>The document title is used for an associated frame (if any), and is usually constructed by the framework from the filename. </p>

</div>
</div>
<a class="anchor" id="add7be32780e5bc95f833faec0098f81c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classwx_string.html">wxString</a> wxDocument::m_documentTypeName</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>The document type name given to the <a class="el" href="classwx_doc_template.html" title="The wxDocTemplate class is used to model the relationship between a document class and a view class...">wxDocTemplate</a> constructor, copied to this variable when the document is created. </p>
<p>If several document templates are created that use the same document type, this variable is used in <a class="el" href="classwx_doc_manager.html#ac310efd148042ce530164b05f3181e15" title="Creates a new view for the given document.">wxDocManager::CreateView()</a> to collate a list of alternative view types that can be used on this kind of document. Do not change the value of this variable. </p>

</div>
</div>
<a class="anchor" id="ab1d69674c05ee358cac25fa311fc46a6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">wxList wxDocument::m_documentViews</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>List of <a class="el" href="classwx_view.html" title="The view class can be used to model the viewing and editing component of an application&#39;s file-based ...">wxView</a> instances associated with this document. </p>

</div>
</div>
</div><!-- contents -->

<address class="footer">
	<small>
		Generated on Thu Nov 27 2014 13:46:46 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>