mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
Fix CheckboxFileDialog, for real this time (I hope)
This commit is contained in:
parent
b6251dd85b
commit
ec0c65a80a
2 changed files with 36 additions and 26 deletions
|
@ -8,6 +8,7 @@
|
|||
|
||||
#include <wx/filedlg.h>
|
||||
#include <wx/gdicmn.h>
|
||||
#include <wx/panel.h>
|
||||
|
||||
class wxCheckBox;
|
||||
class wxTopLevelWindow;
|
||||
|
@ -37,10 +38,15 @@ public:
|
|||
bool get_checkbox_value() const;
|
||||
|
||||
private:
|
||||
std::function<wxWindow*(wxWindow*)> extra_control_creator;
|
||||
wxCheckBox *cbox;
|
||||
struct ExtraPanel : public wxPanel
|
||||
{
|
||||
wxCheckBox *cbox;
|
||||
|
||||
static wxWindow* control_creator_trampoline(wxWindow *);
|
||||
ExtraPanel(wxWindow *parent);
|
||||
static wxWindow* ctor(wxWindow *parent);
|
||||
};
|
||||
|
||||
wxString checkbox_label;
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue