Commit fd650302 authored by twanvl's avatar twanvl

fix build on vs7.1 (older winapi version). EP_EDITBORDER_NOSCROLL doesn't...

fix build on vs7.1 (older winapi version). EP_EDITBORDER_NOSCROLL doesn't exist there. We need a good way to test for it, or just upgrade to a new minimal winapi version
parent 90f64d60
......@@ -242,7 +242,7 @@ void draw_control_box(Window* win, DC& dc, const wxRect& rect, bool focused, boo
themeEngine->DrawThemeBackground(
(HTHEME)hTheme,
(HDC)dc.GetHDC(),
EP_EDITBORDER_NOSCROLL,
EP_EDITTEXT, //EP_EDITBORDER_NOSCROLL, //@@ TODO: EP_EDITBORDER_NOSCROLL not supported in earlier API versions
state,
&r,
NULL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment