Wiki Page: "AnotherTutorial" changes

Hi,

All comments, polishing, suggestions to this tutorial are welcome. I will be only happy
to learn something new.

Franz, all the issues are because you run Windows and I run Linux. Some bugs are quite strange.

randomcolours.py
1)
I discovered:
First: changing the Background colour needs a Refresh, ok.

but

Second:
Not every colour is recognized.
(wxPython 2.6.2.1, Windows XP)
The same applies for wx.Button (interactivebutton.py)

It is that on my box, sample is working also without calling Refresh() method.
?!?

3) ledctrl Window grows smaller after update the first time.

On Linux, this sample works flawlessly. No need to call wx.CallAfter() ?!?

4) :

I remember I wanted to have such colons. But it did not work. I just forgot probably to remove them.
I suggest to remove the comment about it in the code. Newbies do not need to worry
about such things, I suppose.

5) Drag and Drop Sample doesn't work:

Again, it works ok on Linux. All samples were tested. I would not post code, that would not work on my box. ?!?

6) SingleApp:

My sample code was complicated. But it worked on Linux. Even though it totally crashed on Windows.
There is still a problem with Robin's example. If I run it, and launch it more than once than from this time on, when SingleApp starts, I have always annoying message-boxes saying "deleted stale lock file".
This is all too confusing and I will better probably remove it from the tutorial.

<<Second, the SingleInstanceChecker instance needs to be held for the life of the app, so a reference to is needs to be
saves.

hmm, interesting, I did not realize that.

My suggestion is, put all compatibility code for windows in a separate section or paragraf. "on windows, change this" etc.

And please ping me, if you do some changes to code. Text needs to reflect the updates.

jan bodnar

PS:

what I found out today:
wx.GetFreeMemory() crashes on Linux, but works on Windows.
wx.Shell() works on Linux but fails on Windows.