Forum: wxRuby weird style error

Posted by hendra kusuma (Guest)
on 2010-02-17 05:32
(Received via mailing list)
Dear all

@text_108 = TextCtrl.new(@panel_106, -1, "", DEFAULT_POSITION, 
DEFAULT_SIZE,
TE_PROCESS_ENTER|TE_RIGHT, DEFAULT_VALIDATOR)

Why is that line up there give me error
uninitialized constant Main::TE_RIGHT (NameError)

same case happen with TE_CENTRE
but runs ok with TE_LEFT

I use Ubuntu 9.10 with ruby 1.8.7 with gem from previous thread on this
mailist

Regards
Hendra
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.