[wxruby-users] constants not recognized?
Tim Ferrell
lists at ruby-forum.com
Wed Mar 4 14:09:55 EST 2009
Alex Fenton wrote:
>
> What version did you upgrade from?
>
1.9.5 I think ... but this is new code anyway. I do know that the FD_*
constants were working and are not now as well... maybe that helps?
> Those constants look to be missing, thanks for the report. But I don't
> believe any recent change has done this.
>
> To work around this for now you can add the defines yourself:
>
> Wx::DD_DEFAULT_STYLE = Wx::DEFAULT_DIALOG_STYLE|Wx::RESIZE_BORDER
> Wx::DD_CHANGE_DIR = 0x0100
> Wx::DD_DIR_MUST_EXIST = 0x0200
>
Great - thanks for that!
Cheers,
Tim
--
Posted via http://www.ruby-forum.com/.
More information about the wxruby-users
mailing list