pkulchenko / wxlua

wxlua: Lua bindings for wxWidgets cross-platform GUI toolkit; supports Lua 5.1, 5.2, 5.3, 5.4, LuaJIT and wxWidgets 3.x
307 stars 59 forks source link

wxPen::SetDashes(), GetDashes() are implemented #97

Closed toshinagata closed 3 years ago

toshinagata commented 3 years ago

wxPen:SetDashes() accepts one argument (a table of integers). wxPen:GetDashes() returns a table of integers.

pkulchenko commented 3 years ago

@toshinagata, thank you for the patch. Do we need to limit the wxwidgets version on it or has it been available since v2.8 or so?

toshinagata commented 3 years ago

@pkulchenko , I checked the 2.8 document, and these methods are already there. So we do not need to limit the version, I think.

pkulchenko commented 3 years ago

Sounds good; thank you!