From: <ma...@us...> - 2004-02-28 03:10:50
|
Update of /cvsroot/sharedaemon/ui-wx/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11756 Modified Files: MainDlg.cpp Log Message: Fixed duplicate events triggering on mouse events in toolbar. Index: MainDlg.cpp =================================================================== RCS file: /cvsroot/sharedaemon/ui-wx/src/MainDlg.cpp,v retrieving revision 1.65 retrieving revision 1.66 diff -u -d -r1.65 -r1.66 --- MainDlg.cpp 28 Feb 2004 02:48:01 -0000 1.65 +++ MainDlg.cpp 28 Feb 2004 02:53:49 -0000 1.66 @@ -66,7 +66,6 @@ /******************************************************************************/ void MyToolBar::RightClick(wxMouseEvent &event) { mainframe->ShowToolPopupMenu(); - event.Skip(); } /* .... */ @@ -76,7 +75,6 @@ dlg->ShowModal(); delete dlg; } - event.Skip(); } BEGIN_EVENT_TABLE(DetachedFrame, wxFrame) @@ -1008,7 +1006,7 @@ ); if (GetMenuBar() == NULL) { m_config->Write( - wxT("/General/Show MenuBar"), + wxT("/General/Show MenuBar"), true ); CreateMyMenuBar(); |