similar to: wxSugar control problem

Displaying 20 results from an estimated 400 matches similar to: "wxSugar control problem"

2006 Nov 30
0
[764] trunk/wxsugar/lib/wx_sugar/keyword_classes.rb: Correct duplicate and incorrect definition of SpinCtrl constructor
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2006 Nov 28
2
(no subject)
I''m using wx_sugar 0.1.2 with wxruby2-preview 0.0.37 on OSX and am coming up with a strange error when trying to create a SpinCtrl: class DatePicker < Wx::Dialog def initialize super(nil, :title => "Pick a date...") arrange_vertically(:padding => 5) @month = Wx::SpinCtrl.new(self) # line 19 add(@month) end end gives error:
2006 Dec 02
0
[770] trunk/wxsugar/lib/wx_sugar/keyword_classes.rb: Fix some broken ones (Alex Spelling), add some new & missing ones; add
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2007 Jan 06
0
[836] trunk/wxsugar/lib/wx_sugar: Make :validator and :name sugary ctor args work for Controls classes
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2005 Aug 04
2
Next swig problem
After getting past the icon problem I ran into my next problem: SpinCtrl.cpp src/SpinCtrl.cpp(1141) : error C2065: ''cWxSpinCtrl'' : undeclared identifier src/SpinCtrl.cpp(1141) : error C2228: left of ''.klass'' must have class/struct/union type src/SpinCtrl.cpp(1147) : error C2371: ''cWxSpinCtrl'' : redefinition; different basic types ... The
2007 Jul 04
0
[1102] trunk/wxruby2/doc/textile/spinbutton.txtl: Doc patch to SpinButton from wxWidgets 2.8
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2007 Jun 26
0
[1078] trunk/wxruby2: Map evt_spinctrl to SpinEvent instead of CommandEvent; add example to bigdemo
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2005 Aug 10
5
more patches
Here are a few patches 2 small changes and one a little hefty. All are to *.i files. SpinCtrl.patch - Changes cWxSpinCtrl.klass to mWxSpinCtrl in rb_define_method. Dialog.patch - Removed the %ignore wxDialog::wxDialog line, this line prevents Dialogs working with XRC. Window.i - Added special code for find_window_* methods so the correct object type is returned, this is very important when
2006 Dec 26
0
[805] trunk/wxsugar/lib/wx_sugar/keyword_classes.rb: NULL_BITMAP is now defined when wxruby2 is loaded, so dummy def not needed
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2007 Apr 26
0
[972] trunk/wxsugar/lib/wx_sugar/keyword_classes.rb: Fix missing keyword param for Wx::Gauge
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2009 May 03
13
Ruby or Rails bug?
In irb all works fine: # irb irb(main):001:0> require ''rubygems'' => true irb(main):002:0> require ''raspell'' => true irb(main):003:0> speller = Aspell.new("ru_RU") => #<Aspell:0x7f8692c9d158> irb(main):004:0> speller.suggestion_mode = Aspell::NORMAL => "normal" irb(main):005:0>
2005 Jul 31
5
SWIG compilation
The result of the compilation after installing swig results in lots of errors of the sort: WindowDisabler.obj : error LNK2001: unresolved external symbol _SWIG_Ruby_ConvertPtr I can see this is defined in rubydef.swg but I''m not sure why this isn''t just included in the files that need it. Can any swig experts tell me what I need to do to progress? I''m using
2007 Jul 04
0
[1101] trunk/wxruby2/doc/textile/spinctrl.txtl: Doc patch to SpinCtrl from wxWidgets 2.8
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2008 May 18
0
[ wxruby-Bugs-20211 ] Unresolved symbol due to linkage error
Bugs item #20211, was opened at 2008-05-18 13:46 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=20211&group_id=35 Category: Compile/build Group: current Status: Open Resolution: None Priority: 3 Submitted By: Tobias Peters (t-peters) Assigned to: Nobody (None) Summary: Unresolved symbol due to linkage error Initial Comment: While compiling wxruby
2007 Sep 26
7
development status, 1.9.2
Hi all Just a quick update on recent SVN activity: * added Sound and CollapsiblePane classes * added the XRC tool to wxSugar * fixed some XRC bugs in Window * added syntax sugar for event handlers and list-like controls * added some missing methods in Sizer Sean - I''m away for about 10 days from this weekend, and I''m thinking of doing a 1.9.2 release in the next day or two.
2006 Oct 21
3
wxsugar question
I''ve only had the briefest play with wxSugar and already I like it a lot. One small question - have you considered some more ''convention over configuration'' like they do in rails, in particular for event connectors? So instead of listen(:button, my_button, my_button_pressed) you can leave it out entirely and rely on the convention that a button has a _pressed
2007 Nov 07
1
3 wxSugar questions
A bit new to wxRuby and have 2 questions regarding wxSugar: 1. I only find one sample application for wxSugar, but as I understand from the docs, wsSugar is the preferred approach. Are there any more wxSugar samples available somewhere? 2. When I run sugar-sample.rb, I get a couple of warnings: "listen is deprecated, use evt_xxx directly". Just wanted to check: Is this sample
2007 Mar 21
4
Bug in TextCtrl constructor
Howdy, I''ve uncovered a bug in the constructor for TextCtrl (originally uncovered while using WxSugar but it appears to apply to WxRuby itself as well). Here''s the output from irb: # ------ irb(main):001:0> require ''wx''; irb(main):002:0* ctl =
2007 Nov 03
9
wxThread
Hey guys, I''m working on the start of incorperating wxSocket into a library that can be included with the Core, and a part of this, is to create a wxThread class, which will basically just be a barebone copy over of Ruby''s own Thread class. (This should also help when we get Ruby 2.0, which hopefully will have Native Threads, as we should still be able to get the base
2006 Sep 11
15
ruby method names
Hi Attached is a patch that adds aliases to the API for methods that look like attribute accessors. So a_frame.set_title(''The title'') # currently a_frame.title = ''The title'' # now an alternative textctrl.get_value # currently textctrl.value # now an alternative Also, C++ methods named ''IsXXX'' are now exposed in ruby with