aboutsummaryrefslogtreecommitdiff
path: root/examples/wxWidgets/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/wxWidgets/main.cpp')
-rw-r--r--examples/wxWidgets/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/wxWidgets/main.cpp b/examples/wxWidgets/main.cpp
index 20e6d3f..99e8839 100644
--- a/examples/wxWidgets/main.cpp
+++ b/examples/wxWidgets/main.cpp
@@ -34,8 +34,8 @@ private:
wxSize sz = GetClientSize();
CGEditor::status.CanvasWidth = sz.GetWidth();
CGEditor::status.CanvasHeight = sz.GetHeight();
- CGEditor::status.UseMoveImages =
- false; // Piece image should be drawn before the move ?
+ CGEditor::status.UseMoveIcons =
+ true; // Piece image should be drawn before the move ?
const wxPoint pt = wxGetMousePosition();
CGEditor::status.MouseX = pt.x - this->GetScreenPosition().x;
@@ -133,7 +133,7 @@ private:
dc->SetBrush(*wxLIGHT_GREY_BRUSH);
dc->DrawRectangle(recToDraw);
}
- if (CGEditor::status.UseMoveImages) {
+ if (CGEditor::status.UseMoveIcons) {
dc->DrawText(wxString(e.text), wxPoint(e.x, Middle(e).y));
} else {
dc->DrawText(wxString(e.text), Middle(e));