diff options
author | YuSanka <yusanka@gmail.com> | 2021-02-23 12:02:41 +0300 |
---|---|---|
committer | YuSanka <yusanka@gmail.com> | 2021-02-23 12:04:43 +0300 |
commit | 671efb02c9bae61d19578a376c24e466d9965886 (patch) | |
tree | 0852007f6bde716d835889bd6df85e8f4a74ef34 /src/slic3r/GUI/GUI_Preview.hpp | |
parent | c6d4c85ac4a50b5a4ef6d96d219c2d758e693e04 (diff) |
Fix of #6110 - Preview: View Menu/List placement incorrect
Use wxComboBox with wxCB_READONLY flag instead of wxChoice
Diffstat (limited to 'src/slic3r/GUI/GUI_Preview.hpp')
-rw-r--r-- | src/slic3r/GUI/GUI_Preview.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/slic3r/GUI/GUI_Preview.hpp b/src/slic3r/GUI/GUI_Preview.hpp index 945c6ff96..3bf0e21ae 100644 --- a/src/slic3r/GUI/GUI_Preview.hpp +++ b/src/slic3r/GUI/GUI_Preview.hpp @@ -13,7 +13,7 @@ class wxNotebook; class wxGLCanvas; class wxBoxSizer; class wxStaticText; -class wxChoice; +class wxComboBox; class wxComboCtrl; class wxBitmapComboBox; class wxCheckBox; @@ -82,7 +82,7 @@ class Preview : public wxPanel wxBoxSizer* m_layers_slider_sizer { nullptr }; wxPanel* m_bottom_toolbar_panel { nullptr }; wxStaticText* m_label_view_type { nullptr }; - wxChoice* m_choice_view_type { nullptr }; + wxComboBox* m_choice_view_type { nullptr }; wxStaticText* m_label_show { nullptr }; wxComboCtrl* m_combochecklist_features { nullptr }; size_t m_combochecklist_features_pos { 0 }; |