Fix of #6110 - Preview: View Menu/List placement incorrect

Use wxComboBox with wxCB_READONLY flag instead of wxChoice
This commit is contained in:
YuSanka 2021-02-23 10:02:41 +01:00
parent c6d4c85ac4
commit 671efb02c9
2 changed files with 6 additions and 5 deletions

View file

@ -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 };