# Weird style error

**URL:** <https://www.ruby-forum.com/t/weird-style-error/183600>\
**Category:** wxRuby\
**Created:** [February 17, 2010, 5:32am UTC](https://www.ruby-forum.com/t/weird-style-error/183600 "2010-02-17T05:32:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hendra\_kusuma](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/5f8ce5/32.png) [@hendra\_kusuma](https://www.ruby-forum.com/u/hendra_kusuma)\
**Post date:** [February 17, 2010, 5:32am UTC](https://www.ruby-forum.com/t/weird-style-error/183600/1 "2010-02-17T05:32:21Z")

</div>

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
