mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-12-01 09:22:58 -05:00
Forward Declare GUI Panels in MainFrame.hpp (#16842)
* Forward Declare GUI Panels in MainFrame.hpp * Include wx/statline.h Directly Where wxStaticLine Is Used The Windows builds failed in AboutDialog.cpp because MainFrame.hpp no longer brings in wx/statline.h. * Include BBLTopbar.hpp Directly in GUI_App.cpp The Windows builds failed in GUI_App.cpp with member access into incomplete type BBLTopbar.
This commit is contained in:
1 parent
cbbe590230
commit
2a6e7a199b
27 files changed
+62
-17
No files matched your search
@@ -47,6 +47,9 @@
|
||||
#include <ctime>
|
||||
#include <boost/filesystem/operations.hpp>
|
||||
#include "slic3r/GUI/calib_dlg.hpp"
|
||||
#include "slic3r/GUI/ParamsPanel.hpp"
|
||||
#include "slic3r/GUI/UnsavedChangesDialog.hpp"
|
||||
#include "slic3r/GUI/Widgets/SideButton.hpp"
|
||||
#include <wx/panel.h>
|
||||
#include <wx/settings.h>
|
||||
#include <wx/textentry.h>
|
||||
@@ -398,6 +401,8 @@ static wxIcon main_frame_icon(GUI_App::EAppMode app_mode)
|
||||
|
||||
wxDEFINE_EVENT(EVT_SYNC_CLOUD_PRESET, SimpleEvent);
|
||||
|
||||
MainFrame::~MainFrame() = default;
|
||||
|
||||
MainFrame::MainFrame() :
|
||||
DPIFrame(NULL, wxID_ANY, "", wxDefaultPosition, wxDefaultSize, BORDERLESS_FRAME_STYLE, "mainframe")
|
||||
, m_printhost_queue_dlg(new PrintHostQueueDialog(this))
|
||||
|
||||
Reference in new issue
Block a user