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
ad2a7e8a
Commit
ad2a7e8a
authored
Feb 03, 2011
by
Marco Mattila
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change pcb plot dialog close callback name.
parent
1ae44d09
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
dialog_plot_base.cpp
pcbnew/dialogs/dialog_plot_base.cpp
+2
-2
dialog_plot_base.fbp
pcbnew/dialogs/dialog_plot_base.fbp
+1
-1
dialog_plot_base.h
pcbnew/dialogs/dialog_plot_base.h
+1
-1
No files found.
pcbnew/dialogs/dialog_plot_base.cpp
View file @
ad2a7e8a
...
...
@@ -332,7 +332,7 @@ DIALOG_PLOT_BASE::DIALOG_PLOT_BASE( wxWindow* parent, wxWindowID id, const wxStr
m_MainSizer
->
Fit
(
this
);
// Connect Events
this
->
Connect
(
wxEVT_CLOSE_WINDOW
,
wxCloseEventHandler
(
DIALOG_PLOT_BASE
::
OnClose
Window
)
);
this
->
Connect
(
wxEVT_CLOSE_WINDOW
,
wxCloseEventHandler
(
DIALOG_PLOT_BASE
::
OnClose
)
);
this
->
Connect
(
wxEVT_INIT_DIALOG
,
wxInitDialogEventHandler
(
DIALOG_PLOT_BASE
::
OnInitDialog
)
);
m_plotFormatOpt
->
Connect
(
wxEVT_COMMAND_CHOICE_SELECTED
,
wxCommandEventHandler
(
DIALOG_PLOT_BASE
::
SetPlotFormat
),
NULL
,
this
);
m_browseButton
->
Connect
(
wxEVT_COMMAND_BUTTON_CLICKED
,
wxCommandEventHandler
(
DIALOG_PLOT_BASE
::
OnOutputDirectoryBrowseClicked
),
NULL
,
this
);
...
...
@@ -346,7 +346,7 @@ DIALOG_PLOT_BASE::DIALOG_PLOT_BASE( wxWindow* parent, wxWindowID id, const wxStr
DIALOG_PLOT_BASE
::~
DIALOG_PLOT_BASE
()
{
// Disconnect Events
this
->
Disconnect
(
wxEVT_CLOSE_WINDOW
,
wxCloseEventHandler
(
DIALOG_PLOT_BASE
::
OnClose
Window
)
);
this
->
Disconnect
(
wxEVT_CLOSE_WINDOW
,
wxCloseEventHandler
(
DIALOG_PLOT_BASE
::
OnClose
)
);
this
->
Disconnect
(
wxEVT_INIT_DIALOG
,
wxInitDialogEventHandler
(
DIALOG_PLOT_BASE
::
OnInitDialog
)
);
m_plotFormatOpt
->
Disconnect
(
wxEVT_COMMAND_CHOICE_SELECTED
,
wxCommandEventHandler
(
DIALOG_PLOT_BASE
::
SetPlotFormat
),
NULL
,
this
);
m_browseButton
->
Disconnect
(
wxEVT_COMMAND_BUTTON_CLICKED
,
wxCommandEventHandler
(
DIALOG_PLOT_BASE
::
OnOutputDirectoryBrowseClicked
),
NULL
,
this
);
...
...
pcbnew/dialogs/dialog_plot_base.fbp
View file @
ad2a7e8a
...
...
@@ -81,7 +81,7 @@
<event
name=
"OnActivate"
></event>
<event
name=
"OnActivateApp"
></event>
<event
name=
"OnChar"
></event>
<event
name=
"OnClose"
>
OnClose
Window
</event>
<event
name=
"OnClose"
>
OnClose
</event>
<event
name=
"OnEnterWindow"
></event>
<event
name=
"OnEraseBackground"
></event>
<event
name=
"OnHibernate"
></event>
...
...
pcbnew/dialogs/dialog_plot_base.h
View file @
ad2a7e8a
...
...
@@ -95,7 +95,7 @@ class DIALOG_PLOT_BASE : public wxDialog
wxButton
*
m_buttonQuit
;
// Virtual event handlers, overide them in your derived class
virtual
void
OnClose
Window
(
wxCloseEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnClose
(
wxCloseEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnInitDialog
(
wxInitDialogEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
SetPlotFormat
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnOutputDirectoryBrowseClicked
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
...
...
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