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
a3ec2e24
Commit
a3ec2e24
authored
May 21, 2011
by
Marco Serantoni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OSX: Fix for bug #717381 - Print Preview hangs
parent
6b7ab761
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
0 deletions
+14
-0
dialog_print_using_printer.cpp
eeschema/dialogs/dialog_print_using_printer.cpp
+5
-0
dialog_print_using_printer.cpp
gerbview/dialogs/dialog_print_using_printer.cpp
+4
-0
dialog_print_using_printer.cpp
pcbnew/dialogs/dialog_print_using_printer.cpp
+5
-0
No files found.
eeschema/dialogs/dialog_print_using_printer.cpp
View file @
a3ec2e24
...
@@ -94,6 +94,11 @@ DIALOG_PRINT_USING_PRINTER::DIALOG_PRINT_USING_PRINTER( SCH_EDIT_FRAME* aParent
...
@@ -94,6 +94,11 @@ DIALOG_PRINT_USING_PRINTER::DIALOG_PRINT_USING_PRINTER( SCH_EDIT_FRAME* aParent
m_checkReference
->
SetValue
(
aParent
->
GetPrintSheetReference
()
);
m_checkReference
->
SetValue
(
aParent
->
GetPrintSheetReference
()
);
m_checkMonochrome
->
SetValue
(
aParent
->
GetPrintMonochrome
()
);
m_checkMonochrome
->
SetValue
(
aParent
->
GetPrintMonochrome
()
);
#ifdef __WXMAC__
/* Problems with modal on wx-2.9 - Anyway preview is standard for OSX */
m_buttonPreview
->
Hide
();
#endif
}
}
...
...
gerbview/dialogs/dialog_print_using_printer.cpp
View file @
a3ec2e24
...
@@ -118,6 +118,10 @@ DIALOG_PRINT_USING_PRINTER::DIALOG_PRINT_USING_PRINTER( GERBVIEW_FRAME* parent )
...
@@ -118,6 +118,10 @@ DIALOG_PRINT_USING_PRINTER::DIALOG_PRINT_USING_PRINTER( GERBVIEW_FRAME* parent )
{
{
GetSizer
()
->
SetSizeHints
(
this
);
GetSizer
()
->
SetSizeHints
(
this
);
}
}
#ifdef __WXMAC__
/* Problems with modal on wx-2.9 - Anyway preview is standard for OSX */
m_buttonPreview
->
Hide
();
#endif
m_buttonPrint
->
SetDefault
();
m_buttonPrint
->
SetDefault
();
}
}
...
...
pcbnew/dialogs/dialog_print_using_printer.cpp
View file @
a3ec2e24
...
@@ -129,6 +129,11 @@ DIALOG_PRINT_USING_PRINTER::DIALOG_PRINT_USING_PRINTER( PCB_EDIT_FRAME* parent )
...
@@ -129,6 +129,11 @@ DIALOG_PRINT_USING_PRINTER::DIALOG_PRINT_USING_PRINTER( PCB_EDIT_FRAME* parent )
}
}
Center
();
Center
();
#ifdef __WXMAC__
/* Problems with modal on wx-2.9 - Anyway preview is standard for OSX */
m_buttonPreview
->
Hide
();
#endif
}
}
...
...
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