+ wxMenu *edit_menu = new wxMenu;
+ edit_menu->Append( ID_CLEAR, "Clear");
+ edit_menu->Append( ID_ADD_SAMPLE, "Example");
+ edit_menu->Append( ID_LONG_TEST, "Add many lines");
+ edit_menu->AppendSeparator();
+ edit_menu->Append(ID_WRAP, "Wrap mode", "Activate wrapping at pixel 200.");
+ edit_menu->Append(ID_NOWRAP, "No-wrap mode", "Deactivate wrapping.");
+ edit_menu->AppendSeparator();
+ edit_menu->Append(ID_COPY, "Copy", "Copy text to clipboard.");
+ edit_menu->Append(ID_CUT, "Cut", "Cut text to clipboard.");
+ edit_menu->Append(ID_PASTE,"Paste", "Paste text from clipboard.");
+ edit_menu->Append(ID_FIND, "Find", "Find text.");
+ menu_bar->Append(edit_menu, "Edit" );
+