From: Paul K <pau...@ya...> - 2012-10-13 18:29:47
|
Hi John, I think it's indeed a sizer-related issue; for example, if I comment out the following in the editor.wx.lua example, then one of the checkboxes works, (it is in the top left corner): local optionSizer = wx.wxBoxSizer(wx.wxVERTICAL, findDialog) --optionSizer:Add(wholeWordCheckBox, 0, wx.wxALL + wx.wxGROW + wx.wxCENTER, 3) optionSizer:Add(matchCaseCheckBox, 0, wx.wxALL + wx.wxGROW + wx.wxCENTER, 3) optionSizer:Add(wrapAroundCheckBox, 0, wx.wxALL + wx.wxGROW + wx.wxCENTER, 3) optionSizer:Add(regexCheckBox, 0, wx.wxALL + wx.wxGROW + wx.wxCENTER, 3) Any idea on how to fix this? Paul. On Sat, Oct 13, 2012 at 11:07 AM, Paul K <pau...@ya...> wrote: > Hi John, > > One of the users noticed that checkboxes in Find/Replace dialogs in > ZeroBraneStudio don't react to clicks on Mac OSX; I tested > Find/Replace dialog in your editor.wx.lua sample and it shows exactly > the same issue (using wxlua 2.8.12.1). Other checkboxes (for examples > in controls.wx.lua) work as expected, so I think it's not wxCheckBox > problem. I suspect it's some sort of interaction between sizers and > controls (and only on Mac OSX as both Windows and Linux versions work > correctly). Radioboxes on the same panel also work correctly. Any help > or ideas to test would be appreciated. > > Paul. |