Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVojtech Kral <vojtech@kral.hk>2019-04-29 17:55:41 +0300
committerVojtech Kral <vojtech@kral.hk>2019-04-29 17:57:08 +0300
commit8098c09589f9af6ca3cda86bafb7d0cec49bf514 (patch)
tree309928cb17c819fcbef0c0336c0533976e931210 /src/slic3r/GUI/GUI_App.hpp
parentbfcd9f3c299b84ae94e1d522865f97da295c38aa (diff)
MainFrame: Maximize by default (at first start)
Diffstat (limited to 'src/slic3r/GUI/GUI_App.hpp')
-rw-r--r--src/slic3r/GUI/GUI_App.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/slic3r/GUI/GUI_App.hpp b/src/slic3r/GUI/GUI_App.hpp
index 5ee0c1509..3a6a443f0 100644
--- a/src/slic3r/GUI/GUI_App.hpp
+++ b/src/slic3r/GUI/GUI_App.hpp
@@ -124,7 +124,7 @@ public:
const std::string& err);
// void notify(/*message*/);
- void persist_window_geometry(wxTopLevelWindow *window);
+ void persist_window_geometry(wxTopLevelWindow *window, bool default_maximized = false);
void update_ui_from_settings();
bool select_language(wxArrayString & names, wxArrayLong & identifiers);
@@ -176,7 +176,7 @@ public:
private:
bool on_init_inner();
void window_pos_save(wxTopLevelWindow* window, const std::string &name);
- void window_pos_restore(wxTopLevelWindow* window, const std::string &name);
+ void window_pos_restore(wxTopLevelWindow* window, const std::string &name, bool default_maximized = false);
void window_pos_sanitize(wxTopLevelWindow* window);
};
DECLARE_APP(GUI_App)