# WxRuby, Ruby 2.0, and Windows 7

**URL:** <https://www.ruby-forum.com/t/wxruby-ruby-2-0-and-windows-7/240223>\
**Category:** wxRuby\
**Created:** [April 2, 2014, 10:15pm UTC](https://www.ruby-forum.com/t/wxruby-ruby-2-0-and-windows-7/240223 "2014-04-02T22:15:14Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![kkincade](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/258eb7/32.png) [@kkincade](https://www.ruby-forum.com/u/kkincade)\
**Post date:** [May 6, 2014, 1:31am UTC](https://www.ruby-forum.com/t/wxruby-ruby-2-0-and-windows-7/240223/21 "2014-05-06T01:31:05Z")

</div>

Hi Hans,

Thanks for the update.

Did a rebuild, got errors:

compiling wxFontPicker.cpp  
wxFontPicker.cpp:23:1: error: no member named ‘GetSelectedColour’ in  
‘wxFontPickerCtrl’; did you mean ‘GetSelectedFont’?  
macro\_attr(SelectedColour,wxColor)  
^  
./main.hpp:423:52: note: expanded from macro ‘macro\_attr’  
#define macro\_attr(attr,type)  
macro\_attr\_func(attr,Get##attr(),Set##attr…  
^  
:107:1: note: expanded from here

---

<div class="post-metadata">

**Author:** ![kkincade](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/258eb7/32.png) [@kkincade](https://www.ruby-forum.com/u/kkincade)\
**Post date:** [May 6, 2014, 8:30am UTC](https://www.ruby-forum.com/t/wxruby-ruby-2-0-and-windows-7/240223/22 "2014-05-06T08:30:35Z")

</div>

hm ok GetSelectedColour seems new,  
needed to write my own method for mkmf to check for its existence …  
(otherwise i would needed to check the wx version and this might not be  
the right one)

hm or you test it against wxtrunk …

---

<div class="post-metadata">

**Author:** ![kkincade](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/258eb7/32.png) [@kkincade](https://www.ruby-forum.com/u/kkincade)\
**Post date:** [May 17, 2014, 3:17pm UTC](https://www.ruby-forum.com/t/wxruby-ruby-2-0-and-windows-7/240223/23 "2014-05-17T15:17:14Z")

</div>

Hi, is there any update on WxRuby working with Ruby 2.x??

2014-05-06 8:30 GMT+02:00 Hans M. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

[Previous page](https://www.ruby-forum.com/t/wxruby-ruby-2-0-and-windows-7/240223.md?page=1)
