Files
MINGW-packages/mingw-w64-codelite/012-define-wxCONTROL_NONE.patch
2019-05-31 09:28:00 +03:00

16 lines
354 B
Diff

diff --git a/Plugin/clRowEntry.cpp b/Plugin/clRowEntry.cpp
index 1eb6755da..4f28e57b9 100644
--- a/Plugin/clRowEntry.cpp
+++ b/Plugin/clRowEntry.cpp
@@ -12,6 +12,10 @@
#include <wx/window.h>
#include <drawingutils.h>
+#if !wxCHECK_VERSION(3, 1, 0)
+#define wxCONTROL_NONE 0
+#endif
+
#ifdef __WXMSW__
#define PEN_STYLE wxPENSTYLE_SHORT_DASH
#else