ENH:disable switching printers when sending printing

Change-Id: I9004f3de4f0968cc659a769970ff20c1e7f6f0be
This commit is contained in:
tao wang 2023-03-16 11:33:46 +08:00 committed by Lane.Wei
parent 47c04e75a7
commit 03819e6f86
3 changed files with 38 additions and 5 deletions

View file

@ -56,6 +56,7 @@ public:
std::vector<wxColour> m_def_colors;
std::vector<wxColour> m_ams_colors;
std::vector<ColorPicker*> m_color_pickers;
std::vector<ColorPicker*> m_ams_color_pickers;
public:
ColorPickerPopup(wxWindow* parent);
@ -63,6 +64,7 @@ public:
void set_ams_colours(std::vector<wxColour> ams);
void set_def_colour(wxColour col);
void paintEvent(wxPaintEvent& evt);
void Popup();
virtual void OnDismiss() wxOVERRIDE;
virtual bool ProcessLeftDown(wxMouseEvent& event) wxOVERRIDE;