enter in wxTextCtrl

Hi,

I have small problem.
If I have two wxTextCtrl in wxDialog and first is focused. When I press Enter, focus goes to second wxTextCtrl.

I want this behavior implement in wxFrame and two wxTextCtrls, but this does not work.

It is possible to use some style in wxFrame to reach this behavior, or I must define wxWANTS_CHARS and EVT_TEXT or EVT_TEXT_ENTER in wxTextCtrls?

Thanks for answers.

Stano.