Added missed includes

This commit is contained in:
David Kocik 2024-03-06 12:33:07 +01:00
parent 93df0ce384
commit b21c65de23
7 changed files with 9 additions and 2 deletions

View File

@ -39,6 +39,7 @@
#include <boost/nowide/cstdlib.hpp> #include <boost/nowide/cstdlib.hpp>
#include <boost/nowide/iostream.hpp> #include <boost/nowide/iostream.hpp>
#include <boost/nowide/fstream.hpp> #include <boost/nowide/fstream.hpp>
#include <boost/nowide/cstdio.hpp>
#include <boost/property_tree/ini_parser.hpp> #include <boost/property_tree/ini_parser.hpp>
#include <boost/format.hpp> #include <boost/format.hpp>
#include <string.h> #include <string.h>

View File

@ -170,7 +170,7 @@ void FileGet::priv::get_perform()
m_tmp_path = m_dest_folder / (m_filename + "." + std::to_string(get_current_pid()) + ".download"); m_tmp_path = m_dest_folder / (m_filename + "." + std::to_string(get_current_pid()) + ".download");
wxCommandEvent* evt = new wxCommandEvent(EVT_DWNLDR_FILE_NAME_CHANGE); wxCommandEvent* evt = new wxCommandEvent(EVT_DWNLDR_FILE_NAME_CHANGE);
evt->SetString(boost::nowide::widen(m_filename)); evt->SetString(from_u8(m_filename));
evt->SetInt(m_id); evt->SetInt(m_id);
m_evt_handler->QueueEvent(evt); m_evt_handler->QueueEvent(evt);
} }

View File

@ -7,6 +7,8 @@
#include <wx/button.h> #include <wx/button.h>
#include <wx/textctrl.h> #include <wx/textctrl.h>
#include <wx/stattext.h>
#include <wx/statbmp.h>
namespace Slic3r { namespace Slic3r {
namespace GUI { namespace GUI {

View File

@ -9,6 +9,8 @@
#include <boost/property_tree/json_parser.hpp> #include <boost/property_tree/json_parser.hpp>
#include <boost/log/trivial.hpp> #include <boost/log/trivial.hpp>
#include <wx/stdpaths.h>
namespace pt = boost::property_tree; namespace pt = boost::property_tree;
namespace Slic3r { namespace Slic3r {

View File

@ -6,6 +6,7 @@
#include <string> #include <string>
#include <memory> #include <memory>
#include <boost/filesystem.hpp>
namespace Slic3r{ namespace Slic3r{
namespace GUI{ namespace GUI{

View File

@ -24,7 +24,7 @@
#include <wx/tbarbase.h> #include <wx/tbarbase.h>
#include "wx/textctrl.h" #include "wx/textctrl.h"
#include <wx/timer.h> #include <wx/timer.h>
#include <map>
namespace Slic3r { namespace Slic3r {
namespace GUI { namespace GUI {

View File

@ -18,6 +18,7 @@
#include <vector> #include <vector>
#include <functional> #include <functional>
#include <boost/filesystem.hpp>
#ifndef __linux__ #ifndef __linux__