blob: 6ee0aa58d416e01cd43fdc279948fb013c8881e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
diff -u orig/MadEdit.cpp mad/MadEdit.cpp
--- src/MadEdit/MadEdit.cpp 2011-06-21 21:42:10.000000000 +0100
+++ src/MadEdit/MadEdit.cpp 2011-06-21 21:52:46.467942943 +0100
@@ -9515,7 +9515,7 @@
if(InvertRect==NULL)
{
wxMemoryDC dc1, dc2;
- dc.SelectObject(*m_ClientBitmap);
+ dc1.SelectObject(*m_ClientBitmap);
dc1.SetBrush(*wxTheBrushList->FindOrCreateBrush(*wxWHITE));
dc1.SetPen(*wxThePenList->FindOrCreatePen(*wxWHITE, 1, wxSOLID));
diff -u orig/MadEdit.h mad/MadEdit.h
--- src/MadEdit/MadEdit.h 2011-06-21 21:49:42.671009945 +0100
+++ src/MadEdit/MadEdit.h 2011-06-21 21:50:30.273549412 +0100
@@ -996,4 +996,6 @@
wxString FormatThousands(const wxString& s);
bool StrToInt64(wxString str, wxInt64 &i64);
+#define FIXINVERT 2
+
#endif
|