diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-08-25 13:21:32 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-08-25 13:21:32 -0400 |
| commit | 8a77fe053903e68dd37bd33a0b37062c0067eb94 (patch) | |
| tree | 3e59ab484d9fbc90bb43d476d330434be863aa7b /Source/Core/DolphinWX/Debugger/CodeView.h | |
| parent | c9f3fd356b6dede35dde6a50b4ee2815404bcd9d (diff) | |
| parent | f239ea38539bba03e3ae1ff4fbe7b02dc6d8ccb3 (diff) | |
Merge pull request #865 from lioncash/debugger-stuff
DolphinWX: Use wxGraphicsContext in the Code View for the debugger.
Diffstat (limited to 'Source/Core/DolphinWX/Debugger/CodeView.h')
| -rw-r--r-- | Source/Core/DolphinWX/Debugger/CodeView.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/Debugger/CodeView.h b/Source/Core/DolphinWX/Debugger/CodeView.h index b6e643fae6..82b4925527 100644 --- a/Source/Core/DolphinWX/Debugger/CodeView.h +++ b/Source/Core/DolphinWX/Debugger/CodeView.h @@ -7,11 +7,13 @@ #define wxUSE_XPM_IN_MSW 1 #define USE_XPM_BITMAPS 1 +#include <memory> #include <vector> #include <wx/control.h> #include <wx/defs.h> #include <wx/event.h> +#include <wx/graphics.h> #include <wx/windowid.h> #include "Common/Common.h" @@ -70,7 +72,7 @@ private: m_ly = y; } - void LineTo(wxPaintDC &dc, int x, int y); + void LineTo(std::unique_ptr<wxGraphicsContext>& dc, int x, int y); struct BlrStruct // for IDM_INSERTBLR { |
