summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Debugger/CodeView.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-08-25 13:21:32 -0400
committerLioncash <mathew1800@gmail.com>2014-08-25 13:21:32 -0400
commit8a77fe053903e68dd37bd33a0b37062c0067eb94 (patch)
tree3e59ab484d9fbc90bb43d476d330434be863aa7b /Source/Core/DolphinWX/Debugger/CodeView.h
parentc9f3fd356b6dede35dde6a50b4ee2815404bcd9d (diff)
parentf239ea38539bba03e3ae1ff4fbe7b02dc6d8ccb3 (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.h4
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
{