Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
Printrun
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
machinery
Printrun
Commits
4cadd72c
Commit
4cadd72c
authored
Apr 03, 2014
by
Guillaume Seguin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Specify size in Frame init even though we will override it #520
parent
82da744c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
pronterface.py
printrun/pronterface.py
+2
-1
No files found.
printrun/pronterface.py
View file @
4cadd72c
...
@@ -168,7 +168,8 @@ class PronterWindow(MainWindow, pronsole.pronsole):
...
@@ -168,7 +168,8 @@ class PronterWindow(MainWindow, pronsole.pronsole):
style
=
wx
.
DEFAULT_FRAME_STYLE
style
=
wx
.
DEFAULT_FRAME_STYLE
if
self
.
settings
.
last_window_maximized
:
if
self
.
settings
.
last_window_maximized
:
style
|=
wx
.
MAXIMIZE
style
|=
wx
.
MAXIMIZE
MainWindow
.
__init__
(
self
,
None
,
title
=
_
(
"Pronterface"
),
style
=
style
)
MainWindow
.
__init__
(
self
,
None
,
title
=
_
(
"Pronterface"
),
size
=
size
,
style
=
style
)
self
.
SetClientSize
(
size
)
self
.
SetClientSize
(
size
)
self
.
SetIcon
(
wx
.
Icon
(
iconfile
(
"pronterface.png"
),
wx
.
BITMAP_TYPE_PNG
))
self
.
SetIcon
(
wx
.
Icon
(
iconfile
(
"pronterface.png"
),
wx
.
BITMAP_TYPE_PNG
))
self
.
Bind
(
wx
.
EVT_SIZE
,
self
.
on_resize
)
self
.
Bind
(
wx
.
EVT_SIZE
,
self
.
on_resize
)
...
...
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