Displaying 1 result from an estimated 1 matches for "m_btnfocused".
2006 Nov 13
7
[736] trunk/wxruby2/samples/dialogs/dialogs.rb: Fixed crashing bug in on_paint and made the code style more Ruby like.
...super(parent, -1, "Modal dialog")
</span><span class="cx">
</span><del>- sizerTop = BoxSizer.new(HORIZONTAL)
</del><ins>+ sizer_top = BoxSizer.new(HORIZONTAL)
</ins><span class="cx">
</span><del>- @m_btnFocused = Button.new(self, -1, "Default button")
- @m_btnDelete = Button.new(self, -1, "&Delete button")
- btnOk = Button.new(self, ID_CANCEL, "&Close")
- sizerTop.add(@m_btnFocused, 0, ALIGN_CENTER | ALL, 5)
- sizerTop.add(@m_btnDelete, 0, ALIGN_CENTER | A...