mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 09:47:58 -06:00
Experiment with Toolpits of selected preset on OSX
This commit is contained in:
parent
c1724f45c9
commit
f8ab8b43de
3 changed files with 17 additions and 5 deletions
|
@ -194,6 +194,9 @@ void wxDataViewTreeCtrlComboPopup::OnDataViewTreeCtrlSelection(wxCommandEvent& e
|
|||
// ----------------------------------------------------------------------------
|
||||
void PrusaCollapsiblePane::OnStateChange(const wxSize& sz)
|
||||
{
|
||||
#ifndef __WXOSX__
|
||||
wxCollapsiblePane::OnStateChange(sz);
|
||||
#else
|
||||
SetSize(sz);
|
||||
|
||||
if (this->HasFlag(wxCP_NO_TLW_RESIZE))
|
||||
|
@ -219,6 +222,7 @@ void PrusaCollapsiblePane::OnStateChange(const wxSize& sz)
|
|||
// top->SetClientSize(newBestSize);
|
||||
top->GetParent()->Layout();
|
||||
top->Refresh();
|
||||
#endif //__WXOSX__
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue