#198 MultilineTextControl can not support mutiline chinese

open
nobody
5
2009-04-05
2009-04-05
Anonymous
No

here is my code

bool MyFetionApplication::initRunningApplication(){
bool result = Application::initRunningApplication();
MainWindow* mainWindow = new MainWindow();

setMainWindow(mainWindow);
mainWindow->setBounds( &Rect( 100.0, 100.0, 500.0, 500.0 ) );
mainWindow->setCaption( "中文" );
mainWindow->show();

MultilineTextControl* edit = new MultilineTextControl ();

mainWindow->add(edit, AlignClient);

return result;
}

when i input two lines and want to insert more, i get the error in the picture.

Discussion

  • error

     
    Attachments