Fixed some clang warnings

This commit is contained in:
Vojtech Bubnik 2021-02-09 19:23:58 +01:00
parent 770d8b5d08
commit 5e9a8ea700
17 changed files with 45 additions and 30 deletions

View file

@ -18,7 +18,9 @@ public:
float get_scale_factor();
private:
#ifdef __WXGTK3__
wxWindow* m_window;
#endif // __WXGTK3__
void* m_self;
};

View file

@ -11,8 +11,7 @@
namespace Slic3r {
namespace GUI {
RetinaHelper::RetinaHelper(wxWindow* window) :
m_window(window)
RetinaHelper::RetinaHelper(wxWindow*)
{
m_self = nullptr;
m_self = [[RetinaHelperImpl alloc] initWithView:window->GetHandle() handler:window->GetEventHandler()];