diff options
| author | Lex Neva <lexelby@users.noreply.github.com> | 2018-02-19 21:43:39 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-02-19 21:43:39 -0500 |
| commit | 633ec88186106b9a9604f418b5f527d6d8ff888d (patch) | |
| tree | 186ccabb6f305106974749620ccdd112dba3f964 /embroider_simulate.py | |
| parent | 4c5e57893992e64ac3509dd05a6a3fd57238cb30 (diff) | |
windows build (#79)
Ink/stitch now supports windows!
Diffstat (limited to 'embroider_simulate.py')
| -rw-r--r-- | embroider_simulate.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embroider_simulate.py b/embroider_simulate.py index 979668b0..5340dda7 100644 --- a/embroider_simulate.py +++ b/embroider_simulate.py @@ -260,7 +260,7 @@ class EmbroiderySimulator(wx.Frame): def on_paint(self, e): dc = wx.PaintDC(self.panel) - dc.DrawBitmap(self.buffer, 0, 0) + dc.Blit(0, 0, self.buffer.GetWidth(), self.buffer.GetHeight(), self.dc, 0, 0) if self.last_pos: dc.DrawLine(self.last_pos[0] - 10, self.last_pos[1], self.last_pos[0] + 10, self.last_pos[1]) |
