Commits

Anonymous committed c7fd841

Reordered the items in the file according to the general convention.

  • Participants
  • Parent commits 1f7f65b

Comments (0)

Files changed (1)

File 1st-version-as-scripts/edit-yaml-gui.pl

     my $menu_bar = Wx::MenuBar->new;
 
     my $file_menu = Wx::Menu->new;
+
+    my $save_item = $file_menu->Append(Wx::wxID_SAVE, Wx::gettext("&Save"));
+
+    Wx::Event::EVT_MENU(
+        $frame,
+        $save_item,
+        sub {
+            return $self->_save();
+        }
+    );
     
     my $exit_item = $file_menu->Append(Wx::wxID_EXIT, Wx::gettext("E&xit"));
 
         },
     );
 
-    my $save_item = $file_menu->Append(Wx::wxID_SAVE, Wx::gettext("&Save"));
-
-    Wx::Event::EVT_MENU(
-        $frame,
-        $save_item,
-        sub {
-            return $self->_save();
-        }
-    );
-
     $menu_bar->Append($file_menu, "&File");
 
     $frame->SetMenuBar($menu_bar);