Displaying 2 results from an estimated 2 matches for "ok_btn".
2004 Aug 07
1
end_modal question
...:Dialog.new( @frame , -1 , "Who''s Our Opponent" ,
> Wx::Point.new( 300 , 300 ) , Wx::Size.new( 300 , 130 ));
> cancel_btn = Wx::Button.new( popup , -1 , "&Cancel" , Wx::Point.new(
> 150 , 75 ) ,
> Wx::Size.new( 60 , 25 ) );
> ok_btn = Wx::Button.new( popup , -1 , "&Ok" , Wx::Point.new( 225 ,
> 75 ) ,
> Wx::Size.new( 60 , 25 ) );
>
> cancel_btn.evt_button( cancel_btn.get_id() ){ |e| exit(0); }
> ok_btn.evt_button( ok_btn.get_id() ){ |e|
> Game.updateOpponent( input_t...
2004 Aug 06
12
0.4.0 Compiling Under Mingw
> I am compiling wxRuby 0.4.0 on WinXP Home under MingW and MSYS 1.0. I
can
> compile wxWindows and Ruby fine and I get about 20 minutes into the
wxRuby
> compile and it quits, It says:
[snip]
>
C:\mingw\bin\..\lib\gcc-lib\mingw32\3.2.3\..\..\..\..\mingw32\bin\ld.exe
:
> cannot find -lwxmsw241d
> make: *** [wxruby.so] Error 1
> I replaced the $LIBS in the extconf.rb file