X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FGUI%2Fnew_gui.hxx;h=a0e4e69af6b963fddd6b03ff6f8074085bf6f8c8;hb=4befe0e6ea6b5f21119364f1175a0b6c8e97395c;hp=d3ee2979e8cacdf6795517c8d1171e47f6fcd0a5;hpb=02a5261797998841e2c3d8580385e68a5d319929;p=flightgear.git diff --git a/src/GUI/new_gui.hxx b/src/GUI/new_gui.hxx index d3ee2979e..a0e4e69af 100644 --- a/src/GUI/new_gui.hxx +++ b/src/GUI/new_gui.hxx @@ -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 _menubar; FGDialog * _active_dialog; - std::map _active_dialogs; + typedef std::map DialogDict; + DialogDict _active_dialogs; typedef std::map NamePathDict; // mapping from dialog names to the corresponding XML property list