]> git.mxchange.org Git - flightgear.git/blobdiff - src/GUI/new_gui.hxx
Launcher: Maintain aircraft selection better
[flightgear.git] / src / GUI / new_gui.hxx
index d3ee2979e8cacdf6795517c8d1171e47f6fcd0a5..a0e4e69af6b963fddd6b03ff6f8074085bf6f8c8 100644 (file)
@@ -201,6 +201,8 @@ protected:
     virtual void reset (bool reload);
 
 private:
+    void createMenuBarImplementation();
+    
     struct ltstr
     {
         bool operator()(const char* s1, const char* s2) const {
@@ -221,7 +223,8 @@ private:
 
     std::auto_ptr<FGMenuBar> _menubar;
     FGDialog * _active_dialog;
-    std::map<std::string,FGDialog *> _active_dialogs;
+    typedef std::map<std::string,FGDialog *> DialogDict;
+    DialogDict _active_dialogs;
   
     typedef std::map<std::string, SGPath> NamePathDict;
     // mapping from dialog names to the corresponding XML property list