]> git.saurik.com Git - wxWidgets.git/blame - wxPython/samples/wxPIA_book/Chapter-17/sample-text.txt
Added the sample code from wxPython In Action to the samples dir
[wxWidgets.git] / wxPython / samples / wxPIA_book / Chapter-17 / sample-text.txt
CommitLineData
be05b434
RD
1THE BROTHERS GRIMM
2FAIRY TALES
3
4
5
6THE GOLDEN BIRD
7
8A certain king had a beautiful garden, and in the garden stood a tree
9which bore golden apples. These apples were always counted, and about
10the time when they began to grow ripe it was found that every night
11one of them was gone. The king became very angry at this, and ordered
12the gardener to keep watch all night under the tree. The gardener set
13his eldest son to watch; but about twelve o'clock he fell asleep, and
14in the morning another of the apples was missing. Then the second son
15was ordered to watch; and at midnight he too fell asleep, and in the
16morning another apple was gone. Then the third son offered to keep
17watch; but the gardener at first would not let him, for fear some harm
18should come to him: however, at last he consented, and the young man
19laid himself under the tree to watch. As the clock struck twelve he
20heard a rustling noise in the air, and a bird came flying that was of
21pure gold; and as it was snapping at one of the apples with its beak,
22the gardener's son jumped up and shot an arrow at it. But the arrow
23did the bird no harm; only it dropped a golden feather from its tail,
24and then flew away. The golden feather was brought to the king in the
25morning, and all the council was called together. Everyone agreed that
26it was worth more than all the wealth of the kingdom: but the king
27said, 'One feather is of no use to me, I must have the whole bird.'
28
29Then the gardener's eldest son set out and thought to find the golden
30bird very easily; and when he had gone but a little way, he came to a
31wood, and by the side of the wood he saw a fox sitting; so he took his
32bow and made ready to shoot at it. Then the fox said, 'Do not shoot
33me, for I will give you good counsel; I know what your business is,
34and that you want to find the golden bird. You will reach a village in
35the evening; and when you get there, you will see two inns opposite to
36each other, one of which is very pleasant and beautiful to look at: go
37not in there, but rest for the night in the other, though it may
38appear to you to be very poor and mean.' But the son thought to
39himself, 'What can such a beast as this know about the matter?' So he
40shot his arrow at the fox; but he missed it, and it set up its tail
41above its back and ran into the wood. Then he went his way, and in the
42evening came to the village where the two inns were; and in one of
43these were people singing, and dancing, and feasting; but the other
44looked very dirty, and poor. 'I should be very silly,' said he, 'if I
45went to that shabby house, and left this charming place'; so he went
46into the smart house, and ate and drank at his ease, and forgot the
47bird, and his country too.
48
49Time passed on; and as the eldest son did not come back, and no
50tidings were heard of him, the second son set out, and the same thing
51happened to him. He met the fox, who gave him the good advice: but
52when he came to the two inns, his eldest brother was standing at the
53window where the merrymaking was, and called to him to come in; and he
54could not withstand the temptation, but went in, and forgot the golden
55bird and his country in the same manner.
56
57Time passed on again, and the youngest son too wished to set out into
58the wide world to seek for the golden bird; but his father would not
59listen to it for a long while, for he was very fond of his son, and
60was afraid that some ill luck might happen to him also, and prevent
61his coming back. However, at last it was agreed he should go, for he
62would not rest at home; and as he came to the wood, he met the fox,
63and heard the same good counsel. But he was thankful to the fox, and
64did not attempt his life as his brothers had done; so the fox said,
65'Sit upon my tail, and you will travel faster.' So he sat down, and
66the fox began to run, and away they went over stock and stone so quick
67that their hair whistled in the wind.
68
69When they came to the village, the son followed the fox's counsel, and
70without looking about him went to the shabby inn and rested there all
71night at his ease. In the morning came the fox again and met him as he
72was beginning his journey, and said, 'Go straight forward, till you
73come to a castle, before which lie a whole troop of soldiers fast
74asleep and snoring: take no notice of them, but go into the castle and
75pass on and on till you come to a room, where the golden bird sits in
76a wooden cage; close by it stands a beautiful golden cage; but do not
77try to take the bird out of the shabby cage and put it into the
78handsome one, otherwise you will repent it.' Then the fox stretched
79out his tail again, and the young man sat himself down, and away they
80went over stock and stone till their hair whistled in the wind.
81
82Before the castle gate all was as the fox had said: so the son went in
83and found the chamber where the golden bird hung in a wooden cage, and
84below stood the golden cage, and the three golden apples that had been
85lost were lying close by it. Then thought he to himself, 'It will be a
86very droll thing to bring away such a fine bird in this shabby cage';
87so he opened the door and took hold of it and put it into the golden
88cage. But the bird set up such a loud scream that all the soldiers
89awoke, and they took him prisoner and carried him before the king. The
90next morning the court sat to judge him; and when all was heard, it
91sentenced him to die, unless he should bring the king the golden horse
92which could run as swiftly as the wind; and if he did this, he was to
93have the golden bird given him for his own.
94
95So he set out once more on his journey, sighing, and in great despair,
96when on a sudden his friend the fox met him, and said, 'You see now
97what has happened on account of your not listening to my counsel. I
98will still, however, tell you how to find the golden horse, if you
99will do as I bid you. You must go straight on till you come to the
100castle where the horse stands in his stall: by his side will lie the
101groom fast asleep and snoring: take away the horse quietly, but be
102sure to put the old leathern saddle upon him, and not the golden one
103that is close by it.' Then the son sat down on the fox's tail, and
104away they went over stock and stone till their hair whistled in the
105wind.
106
107All went right, and the groom lay snoring with his hand upon the
108golden saddle. But when the son looked at the horse, he thought it a
109great pity to put the leathern saddle upon it. 'I will give him the
110good one,' said he; 'I am sure he deserves it.' As he took up the
111golden saddle the groom awoke and cried out so loud, that all the
112guards ran in and took him prisoner, and in the morning he was again
113brought before the court to be judged, and was sentenced to die. But
114it was agreed, that, if he could bring thither the beautiful princess,
115he should live, and have the bird and the horse given him for his own.
116
117Then he went his way very sorrowful; but the old fox came and said,
118'Why did not you listen to me? If you had, you would have carried away
119both the bird and the horse; yet will I once more give you counsel. Go
120straight on, and in the evening you will arrive at a castle. At twelve
121o'clock at night the princess goes to the bathing-house: go up to her
122and give her a kiss, and she will let you lead her away; but take care
123you do not suffer her to go and take leave of her father and mother.'
124Then the fox stretched out his tail, and so away they went over stock
125and stone till their hair whistled again.
126
127As they came to the castle, all was as the fox had said, and at twelve
128o'clock the young man met the princes going to the bath and gave her
129the kiss, and she agreed to run away with him, but begged with many
130tears that he would let her take leave of her father. At first he
131refused, but she wept still more and more, and fell at his feet, till
132at last he consented; but the moment she came to her father's house
133the guards awoke and he was taken prisoner again.
134
135Then he was brought before the king, and the king said, 'You shall
136never have my daughter unless in eight days you dig away the hill that
137stops the view from my window.' Now this hill was so big that the
138whole world could not take it away: and when he had worked for seven
139days, and had done very little, the fox came and said. 'Lie down and
140go to sleep; I will work for you.' And in the morning he awoke and the
141hill was gone; so he went merrily to the king, and told him that now
142that it was removed he must give him the princess.
143
144Then the king was obliged to keep his word, and away went the young
145man and the princess; and the fox came and said to him, 'We will have
146all three, the princess, the horse, and the bird.' 'Ah!' said the
147young man, 'that would be a great thing, but how can you contrive it?'
148
149'If you will only listen,' said the fox, 'it can be done. When you
150come to the king, and he asks for the beautiful princess, you must
151say, "Here she is!" Then he will be very joyful; and you will mount
152the golden horse that they are to give you, and put out your hand to
153take leave of them; but shake hands with the princess last. Then lift
154her quickly on to the horse behind you; clap your spurs to his side,
155and gallop away as fast as you can.'
156
157All went right: then the fox said, 'When you come to the castle where
158the bird is, I will stay with the princess at the door, and you will
159ride in and speak to the king; and when he sees that it is the right
160horse, he will bring out the bird; but you must sit still, and say
161that you want to look at it, to see whether it is the true golden
162bird; and when you get it into your hand, ride away.'
163
164This, too, happened as the fox said; they carried off the bird, the
165princess mounted again, and they rode on to a great wood. Then the fox
166came, and said, 'Pray kill me, and cut off my head and my feet.' But
167the young man refused to do it: so the fox said, 'I will at any rate
168give you good counsel: beware of two things; ransom no one from the
169gallows, and sit down by the side of no river.' Then away he went.
170'Well,' thought the young man, 'it is no hard matter to keep that
171advice.'
172
173He rode on with the princess, till at last he came to the village
174where he had left his two brothers. And there he heard a great noise
175and uproar; and when he asked what was the matter, the people said,
176'Two men are going to be hanged.' As he came nearer, he saw that the
177two men were his brothers, who had turned robbers; so he said, 'Cannot
178they in any way be saved?' But the people said 'No,' unless he would
179bestow all his money upon the rascals and buy their liberty. Then he
180did not stay to think about the matter, but paid what was asked, and
181his brothers were given up, and went on with him towards their home.
182
183And as they came to the wood where the fox first met them, it was so
184cool and pleasant that the two brothers said, 'Let us sit down by the
185side of the river, and rest a while, to eat and drink.' So he said,
186'Yes,' and forgot the fox's counsel, and sat down on the side of the
187river; and while he suspected nothing, they came behind, and threw him
188down the bank, and took the princess, the horse, and the bird, and
189went home to the king their master, and said. 'All this have we won by
190our labour.' Then there was great rejoicing made; but the horse would
191not eat, the bird would not sing, and the princess wept.
192
193The youngest son fell to the bottom of the river's bed: luckily it was
194nearly dry, but his bones were almost broken, and the bank was so
195steep that he could find no way to get out. Then the old fox came once
196more, and scolded him for not following his advice; otherwise no evil
197would have befallen him: 'Yet,' said he, 'I cannot leave you here, so
198lay hold of my tail and hold fast.' Then he pulled him out of the
199river, and said to him, as he got upon the bank, 'Your brothers have
200set watch to kill you, if they find you in the kingdom.' So he dressed
201himself as a poor man, and came secretly to the king's court, and was
202scarcely within the doors when the horse began to eat, and the bird to
203sing, and princess left off weeping. Then he went to the king, and
204told him all his brothers' roguery; and they were seized and punished,
205and he had the princess given to him again; and after the king's death
206he was heir to his kingdom.
207
208A long while after, he went to walk one day in the wood, and the old
209fox met him, and besought him with tears in his eyes to kill him, and
210cut off his head and feet. And at last he did so, and in a moment the
211fox was changed into a man, and turned out to be the brother of the
212princess, who had been lost a great many many years.
213