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
b6eb58c5
Commit
b6eb58c5
authored
Oct 22, 2010
by
Marco Serantoni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
About box without wxAUI_NB_WINDOWLIST_BUTTON
parent
15652d8d
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
83 additions
and
32 deletions
+83
-32
dialog_about_base.cpp
common/dialog_about/dialog_about_base.cpp
+3
-2
dialog_about_base.fbp
common/dialog_about/dialog_about_base.fbp
+76
-27
dialog_about_base.h
common/dialog_about/dialog_about_base.h
+4
-3
No files found.
common/dialog_about/dialog_about_base.cpp
View file @
b6eb58c5
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version
Apr 16 2008
)
// C++ code generated with wxFormBuilder (version
Sep 12 2010
)
// http://www.wxformbuilder.org/
// http://www.wxformbuilder.org/
//
//
// PLEASE DO "NOT" EDIT THIS FILE!
// PLEASE DO "NOT" EDIT THIS FILE!
...
@@ -57,7 +57,7 @@ dialog_about_base::dialog_about_base( wxWindow* parent, wxWindowID id, const wxS
...
@@ -57,7 +57,7 @@ dialog_about_base::dialog_about_base( wxWindow* parent, wxWindowID id, const wxS
m_staticline1
=
new
wxStaticLine
(
this
,
wxID_ANY
,
wxDefaultPosition
,
wxDefaultSize
,
wxLI_HORIZONTAL
);
m_staticline1
=
new
wxStaticLine
(
this
,
wxID_ANY
,
wxDefaultPosition
,
wxDefaultSize
,
wxLI_HORIZONTAL
);
bSizer1
->
Add
(
m_staticline1
,
0
,
wxEXPAND
|
wxALL
,
5
);
bSizer1
->
Add
(
m_staticline1
,
0
,
wxEXPAND
|
wxALL
,
5
);
m_auiNotebook
=
new
wxAuiNotebook
(
this
,
wxID_ANY
,
wxDefaultPosition
,
wxDefaultSize
,
wxAUI_NB_SCROLL_BUTTONS
|
wxAUI_NB_TAB_FIXED_WIDTH
|
wxAUI_NB_WINDOWLIST_BUTTON
);
m_auiNotebook
=
new
wxAuiNotebook
(
this
,
wxID_ANY
,
wxDefaultPosition
,
wxDefaultSize
,
wxAUI_NB_SCROLL_BUTTONS
|
wxAUI_NB_TAB_FIXED_WIDTH
);
m_auiNotebook
->
SetMinSize
(
wxSize
(
550
,
300
)
);
m_auiNotebook
->
SetMinSize
(
wxSize
(
550
,
300
)
);
...
@@ -80,4 +80,5 @@ dialog_about_base::~dialog_about_base()
...
@@ -80,4 +80,5 @@ dialog_about_base::~dialog_about_base()
// Disconnect Events
// Disconnect Events
this
->
Disconnect
(
wxEVT_CLOSE_WINDOW
,
wxCloseEventHandler
(
dialog_about_base
::
OnClose
)
);
this
->
Disconnect
(
wxEVT_CLOSE_WINDOW
,
wxCloseEventHandler
(
dialog_about_base
::
OnClose
)
);
m_buttonOK
->
Disconnect
(
wxEVT_COMMAND_BUTTON_CLICKED
,
wxCommandEventHandler
(
dialog_about_base
::
OnOkClick
),
NULL
,
this
);
m_buttonOK
->
Disconnect
(
wxEVT_COMMAND_BUTTON_CLICKED
,
wxCommandEventHandler
(
dialog_about_base
::
OnOkClick
),
NULL
,
this
);
}
}
common/dialog_about/dialog_about_base.fbp
View file @
b6eb58c5
This diff is collapsed.
Click to expand it.
common/dialog_about/dialog_about_base.h
View file @
b6eb58c5
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version
Apr 16 2008
)
// C++ code generated with wxFormBuilder (version
Sep 12 2010
)
// http://www.wxformbuilder.org/
// http://www.wxformbuilder.org/
//
//
// PLEASE DO "NOT" EDIT THIS FILE!
// PLEASE DO "NOT" EDIT THIS FILE!
...
@@ -47,11 +47,12 @@ class dialog_about_base : public wxDialog
...
@@ -47,11 +47,12 @@ class dialog_about_base : public wxDialog
wxAuiNotebook
*
m_auiNotebook
;
wxAuiNotebook
*
m_auiNotebook
;
// Virtual event handlers, overide them in your derived class
// Virtual event handlers, overide them in your derived class
virtual
void
OnClose
(
wxCloseEvent
&
event
){
event
.
Skip
();
}
virtual
void
OnClose
(
wxCloseEvent
&
event
)
{
event
.
Skip
();
}
virtual
void
OnOkClick
(
wxCommandEvent
&
event
){
event
.
Skip
();
}
virtual
void
OnOkClick
(
wxCommandEvent
&
event
)
{
event
.
Skip
();
}
public
:
public
:
dialog_about_base
(
wxWindow
*
parent
,
wxWindowID
id
=
wxID_ANY
,
const
wxString
&
title
=
_
(
"About..."
),
const
wxPoint
&
pos
=
wxDefaultPosition
,
const
wxSize
&
size
=
wxSize
(
510
,
434
),
long
style
=
wxDEFAULT_DIALOG_STYLE
|
wxRESIZE_BORDER
|
wxSTAY_ON_TOP
);
dialog_about_base
(
wxWindow
*
parent
,
wxWindowID
id
=
wxID_ANY
,
const
wxString
&
title
=
_
(
"About..."
),
const
wxPoint
&
pos
=
wxDefaultPosition
,
const
wxSize
&
size
=
wxSize
(
510
,
434
),
long
style
=
wxDEFAULT_DIALOG_STYLE
|
wxRESIZE_BORDER
|
wxSTAY_ON_TOP
);
~
dialog_about_base
();
~
dialog_about_base
();
...
...
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