diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2022-12-31 09:40:39 +0100 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2022-12-31 09:40:39 +0100 |
| commit | 2bb6730df8094c89af5a07d394fc02c43aea24eb (patch) | |
| tree | b531e2027961db3b15ccf649d6e015d62e8a392f /examples/wxWidgets/MyHalfMove.cpp | |
| parent | f1f638100f4bcd88b31c3412e961dbbb5e12ad0a (diff) | |
Update
Diffstat (limited to 'examples/wxWidgets/MyHalfMove.cpp')
| -rw-r--r-- | examples/wxWidgets/MyHalfMove.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/examples/wxWidgets/MyHalfMove.cpp b/examples/wxWidgets/MyHalfMove.cpp index c1d1ab3..0e08113 100644 --- a/examples/wxWidgets/MyHalfMove.cpp +++ b/examples/wxWidgets/MyHalfMove.cpp @@ -128,7 +128,7 @@ MyHalfMove *BuildExampleGame() { m2 = new MyHalfMove("Bc4"); m->SetMainline(m2); - m->SetComment("Italian Opening"); + m->comment="Italian Opening"; m = m2; m2 = new MyHalfMove("Bc5"); @@ -136,7 +136,7 @@ MyHalfMove *BuildExampleGame() { m = m2; m2 = new MyHalfMove("c3"); - m2->SetComment("Giuoco Pianissimo"); + m2->comment="Giuoco Pianissimo"; m->SetMainline(m2); m = m2; @@ -158,7 +158,7 @@ MyHalfMove *BuildExampleGame() { { MyHalfMove *var = new MyHalfMove("Re1"); - var->SetComment("Also possible"); + var->comment="Also possible"; m->AddVariation(var); MyHalfMove *var2 = new MyHalfMove("a6"); @@ -185,6 +185,8 @@ MyHalfMove *BuildExampleGame() { m2 = new MyHalfMove("a6"); m->SetMainline(m2); + m->comment="Test for a very long comment, to see how line breaks are handle by the framework."; + m->comment+="Test for a very long comment, to see how line breaks are handle by the framework."; m = m2; m2 = new MyHalfMove("Bb3"); |
