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-09 18:40:14 +0300
committerVojtech Kral <vojtech@kral.hk>2019-04-09 19:01:45 +0300
commit81f4ce5f2ef68b9b14b350405075fb2d185bdf32 (patch)
tree4c8639bad61eb78714e32cd6f344985f7517ab22 /src/slic3r/GUI/Preset.hpp
parentd399ebacc9407ca4ae423c4c0651e9cf7c101a42 (diff)
Bitmaps: Pass wxWindow context in a few more places
Diffstat (limited to 'src/slic3r/GUI/Preset.hpp')
-rw-r--r--src/slic3r/GUI/Preset.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/slic3r/GUI/Preset.hpp b/src/slic3r/GUI/Preset.hpp
index 22740e31e..41c9ff72b 100644
--- a/src/slic3r/GUI/Preset.hpp
+++ b/src/slic3r/GUI/Preset.hpp
@@ -15,6 +15,7 @@ class wxBitmapComboBox;
class wxChoice;
class wxItemContainer;
class wxString;
+class wxWindow;
namespace Slic3r {
@@ -276,10 +277,10 @@ public:
bool delete_current_preset();
// Load default bitmap to be placed at the wxBitmapComboBox of a MainFrame.
- void load_bitmap_default(const std::string &file_name);
+ void load_bitmap_default(wxWindow *window, const std::string &file_name);
// Load "add new printer" bitmap to be placed at the wxBitmapComboBox of a MainFrame.
- void load_bitmap_add(const std::string &file_name);
+ void load_bitmap_add(wxWindow *window, const std::string &file_name);
// Compatible & incompatible marks, to be placed at the wxBitmapComboBox items.
void set_bitmap_compatible (const wxBitmap *bmp) { m_bitmap_compatible = bmp; }