Displaying 2 results from an estimated 2 matches for "dialogs_mod".
Did you mean:
dialogs_modal
2007 Sep 05
6
centering MessageDialog
Hi,
is there any way to center the default Wx::MessageDialog or Wx::message_box
on parent (owner) instead of screen?
I haven''t found any constant other than Wx::DEFAULT_POSITION.
thanks for your help.
fabio.
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
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.
...ot;)
</span><span class="cx">
</span><del>- sizerTop = BoxSizer.new(VERTICAL)
</del><ins>+ sizer_top = BoxSizer.new(VERTICAL)
</ins><span class="cx">
</span><span class="cx"> btn = Button.new(self, DIALOGS_MODELESS_BTN, "Press me")
</span><span class="cx"> check = CheckBox.new(self, -1, "Should be disabled")
</span><span class="cx"> check.disable()
</span><span class="cx">
</span><del>- sizerTop....