mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
Cutting
This commit is contained in:
parent
4c007a410c
commit
6629d75853
19 changed files with 502 additions and 182 deletions
|
@ -15,6 +15,18 @@ namespace Slic3r {
|
|||
namespace GUI {
|
||||
|
||||
|
||||
wxTopLevelWindow* find_toplevel_parent(wxWindow *window)
|
||||
{
|
||||
for (; window != nullptr; window = window->GetParent()) {
|
||||
if (window->IsTopLevel()) {
|
||||
return dynamic_cast<wxTopLevelWindow*>(window);
|
||||
}
|
||||
}
|
||||
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
||||
CheckboxFileDialog::ExtraPanel::ExtraPanel(wxWindow *parent)
|
||||
: wxPanel(parent, wxID_ANY)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue