Closed vvhh2002 closed 10 years ago
@andyque Could you please take a look?
@vvhh2002 Thanks, your fix works but I think it's not the perfect way to restrict max length of NSTextField. Here is a link explains why: http://stackoverflow.com/questions/827014/how-to-limit-nstextfield-text-length-and-keep-it-always-upper-case
I will try to fix this issue by applying the method proposed in stackoverflow.
the UIEditBox-Impl-mac.mm should change like this:
/**
if CC_ENABLE_SCRIPT_BINDING
endif
}