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
2c69b7f5
Commit
2c69b7f5
authored
Feb 27, 2014
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Bug #1275544 (Page size dialog: page size drop-down doesn't handle mouse-click event)
parent
29e7638a
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
24 deletions
+23
-24
dialog_page_settings.cpp
common/dialogs/dialog_page_settings.cpp
+1
-1
dialog_page_settings_base.cpp
common/dialogs/dialog_page_settings_base.cpp
+1
-1
dialog_page_settings_base.fbp
common/dialogs/dialog_page_settings_base.fbp
+1
-1
dialog_page_settings_base.h
common/dialogs/dialog_page_settings_base.h
+20
-21
No files found.
common/dialogs/dialog_page_settings.cpp
View file @
2c69b7f5
...
@@ -119,7 +119,7 @@ void DIALOG_PAGES_SETTINGS::initDialog()
...
@@ -119,7 +119,7 @@ void DIALOG_PAGES_SETTINGS::initDialog()
// The first shows translated strings, the second contains not translated strings
// The first shows translated strings, the second contains not translated strings
m_paperSizeComboBox
->
Clear
();
m_paperSizeComboBox
->
Clear
();
for
(
unsigned
ii
=
0
;
ii
<
DIM
(
pageFmts
);
ii
++
)
for
(
unsigned
ii
=
0
;
ii
<
DIM
(
pageFmts
);
ii
++
)
{
{
m_pageFmt
.
Add
(
pageFmts
[
ii
]
);
m_pageFmt
.
Add
(
pageFmts
[
ii
]
);
m_paperSizeComboBox
->
Append
(
wxGetTranslation
(
pageFmts
[
ii
]
)
);
m_paperSizeComboBox
->
Append
(
wxGetTranslation
(
pageFmts
[
ii
]
)
);
...
...
common/dialogs/dialog_page_settings_base.cpp
View file @
2c69b7f5
...
@@ -35,7 +35,7 @@ DIALOG_PAGES_SETTINGS_BASE::DIALOG_PAGES_SETTINGS_BASE( wxWindow* parent, wxWind
...
@@ -35,7 +35,7 @@ DIALOG_PAGES_SETTINGS_BASE::DIALOG_PAGES_SETTINGS_BASE( wxWindow* parent, wxWind
wxString
m_paperSizeComboBoxChoices
[]
=
{
_
(
"dummy text"
)
};
wxString
m_paperSizeComboBoxChoices
[]
=
{
_
(
"dummy text"
)
};
int
m_paperSizeComboBoxNChoices
=
sizeof
(
m_paperSizeComboBoxChoices
)
/
sizeof
(
wxString
);
int
m_paperSizeComboBoxNChoices
=
sizeof
(
m_paperSizeComboBoxChoices
)
/
sizeof
(
wxString
);
m_paperSizeComboBox
=
new
wxChoice
(
this
,
ID_CHICE_PAGE_SIZE
,
wxDefaultPosition
,
wxDefaultSize
,
m_paperSizeComboBoxNChoices
,
m_paperSizeComboBoxChoices
,
0
);
m_paperSizeComboBox
=
new
wxChoice
(
this
,
wxID_ANY
,
wxDefaultPosition
,
wxDefaultSize
,
m_paperSizeComboBoxNChoices
,
m_paperSizeComboBoxChoices
,
0
);
m_paperSizeComboBox
->
SetSelection
(
0
);
m_paperSizeComboBox
->
SetSelection
(
0
);
bleftSizer
->
Add
(
m_paperSizeComboBox
,
0
,
wxEXPAND
|
wxBOTTOM
|
wxRIGHT
|
wxLEFT
,
5
);
bleftSizer
->
Add
(
m_paperSizeComboBox
,
0
,
wxEXPAND
|
wxBOTTOM
|
wxRIGHT
|
wxLEFT
,
5
);
...
...
common/dialogs/dialog_page_settings_base.fbp
View file @
2c69b7f5
...
@@ -390,7 +390,7 @@
...
@@ -390,7 +390,7 @@
<property
name=
"font"
></property>
<property
name=
"font"
></property>
<property
name=
"gripper"
>
0
</property>
<property
name=
"gripper"
>
0
</property>
<property
name=
"hidden"
>
0
</property>
<property
name=
"hidden"
>
0
</property>
<property
name=
"id"
>
ID_CHICE_PAGE_SIZE
</property>
<property
name=
"id"
>
wxID_ANY
</property>
<property
name=
"max_size"
></property>
<property
name=
"max_size"
></property>
<property
name=
"maximize_button"
>
0
</property>
<property
name=
"maximize_button"
>
0
</property>
<property
name=
"maximum_size"
></property>
<property
name=
"maximum_size"
></property>
...
...
common/dialogs/dialog_page_settings_base.h
View file @
2c69b7f5
...
@@ -37,27 +37,26 @@ class DIALOG_SHIM;
...
@@ -37,27 +37,26 @@ class DIALOG_SHIM;
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
#define ID_CHICE_PAGE_SIZE 1000
#define ID_CHOICE_PAGE_ORIENTATION 1000
#define ID_CHOICE_PAGE_ORIENTATION 1001
#define ID_TEXTCTRL_USER_PAGE_SIZE_Y 1001
#define ID_TEXTCTRL_USER_PAGE_SIZE_Y 1002
#define ID_TEXTCTRL_USER_PAGE_SIZE_X 1002
#define ID_TEXTCTRL_USER_PAGE_SIZE_X 1003
#define ID_TEXTCTRL_DATE 1003
#define ID_TEXTCTRL_DATE 1004
#define ID_BTN_APPLY_DATE 1004
#define ID_BTN_APPLY_DATE 1005
#define ID_PICKER_DATE 1005
#define ID_PICKER_DATE 1006
#define ID_CHECKBOX_DATE 1006
#define ID_CHECKBOX_DATE 1007
#define ID_TEXTCTRL_REVISION 1007
#define ID_TEXTCTRL_REVISION 1008
#define ID_CHECKBOX_REVISION 1008
#define ID_CHECKBOX_REVISION 1009
#define ID_TEXTCTRL_TITLE 1009
#define ID_TEXTCTRL_TITLE 1010
#define ID_TEXTCTRL_COMPANY 1010
#define ID_TEXTCTRL_COMPANY 1011
#define ID_CHECKBOX_COMPANY 1011
#define ID_CHECKBOX_COMPANY 1012
#define ID_TEXTCTRL_COMMENT1 1012
#define ID_TEXTCTRL_COMMENT1 1013
#define ID_CHECKBOX_COMMENT1 1013
#define ID_CHECKBOX_COMMENT1 1014
#define ID_TEXTCTRL_COMMENT2 1014
#define ID_TEXTCTRL_COMMENT2 1015
#define ID_CHECKBOX_COMMENT2 1015
#define ID_CHECKBOX_COMMENT2 1016
#define ID_TEXTCTRL_COMMENT3 1016
#define ID_TEXTCTRL_COMMENT3 1017
#define ID_CHECKBOX_COMMENT3 1017
#define ID_CHECKBOX_COMMENT3 1018
#define ID_TEXTCTRL_COMMENT4 1018
#define ID_TEXTCTRL_COMMENT4 1019
#define ID_CHECKBOX_COMMENT4 1019
#define ID_CHECKBOX_COMMENT4 1020
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
/// Class DIALOG_PAGES_SETTINGS_BASE
/// Class DIALOG_PAGES_SETTINGS_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