Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
d5dbb531
Commit
d5dbb531
authored
Apr 17, 2011
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Code cleaning and finish to fix a crash under wxWidgets 2.9.2 and Linux.
parent
401ea10e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
6 deletions
+1
-6
cvframe.cpp
cvpcb/cvframe.cpp
+0
-2
cvpcb.cpp
cvpcb/cvpcb.cpp
+0
-3
menubar.cpp
cvpcb/menubar.cpp
+1
-1
No files found.
cvpcb/cvframe.cpp
View file @
d5dbb531
...
...
@@ -470,8 +470,6 @@ void CVPCB_MAINFRAME::LoadNetList( wxCommandEvent& event )
{
SetTitle
(
wxGetApp
().
GetTitle
()
+
wxT
(
" "
)
+
GetBuildVersion
()
);
}
ReCreateMenuBar
();
}
...
...
cvpcb/cvpcb.cpp
View file @
d5dbb531
...
...
@@ -69,9 +69,6 @@ void WinEDA_App::MacOpenFile(const wxString &fileName)
{
frame
->
SetTitle
(
wxGetApp
().
GetTitle
()
+
wxT
(
" "
)
+
GetBuildVersion
()
);
}
frame
->
ReCreateMenuBar
();
}
// Create a new application object
...
...
cvpcb/menubar.cpp
View file @
d5dbb531
...
...
@@ -23,7 +23,7 @@ void CVPCB_MAINFRAME::ReCreateMenuBar()
wxMenuItem
*
item
;
wxMenuBar
*
menuBar
=
GetMenuBar
();
if
(
!
menuBar
)
if
(
!
menuBar
)
// Delete all menus
menuBar
=
new
wxMenuBar
();
// Delete all existing menus so they can be rebuilt.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment