1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-26 00:03:52 +02:00

New ShowInfoDialog() function for text message plus OK button. Resizability more obvious now, and cursor at position 0.

This commit is contained in:
james.k.crook
2010-02-13 18:24:57 +00:00
parent a2ad4dae36
commit f4e81220b3
7 changed files with 75 additions and 52 deletions

View File

@@ -521,6 +521,9 @@ wxTextCtrl * ShuttleGuiBase::AddTextWindow(const wxString &Value)
mpWind = pTextCtrl = new wxTextCtrl(mpParent, miId, Value,
wxDefaultPosition, wxDefaultSize, Style( wxTE_MULTILINE ));
UpdateSizers();
// Start off at start of window...
pTextCtrl->SetInsertionPoint( 0 );
pTextCtrl->ShowPosition( 0 );
return pTextCtrl;
}