|
From: <ma...@us...> - 2003-12-29 11:24:33
|
Update of /cvsroot/sharedaemon/ui-wx/src
In directory sc8-pr-cvs1:/tmp/cvs-serv404
Modified Files:
MainDlg.cpp
Log Message:
Temporary fix for crashes during page detaching if menubar is enabled.
Index: MainDlg.cpp
===================================================================
RCS file: /cvsroot/sharedaemon/ui-wx/src/MainDlg.cpp,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- MainDlg.cpp 29 Dec 2003 07:06:18 -0000 1.47
+++ MainDlg.cpp 29 Dec 2003 11:24:30 -0000 1.48
@@ -977,7 +977,11 @@
delete GetToolBar()->RemoveTool(page->id);
}
if (GetMenuBar() != NULL) {
- delete GetMenuBar()->FindItem(page->id);
+ /**
+ * Damn, can't delete it here right now,
+ * will start crashing on page detaching :(
+ */
+// delete GetMenuBar()->FindItem(page->id);
}
GetToolBar()->Realize();
|