Fixed some clang warnings

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

No files matched your search

+2
View File
@@ -18,7 +18,9 @@ public:
float get_scale_factor();
private:
#ifdef __WXGTK3__
wxWindow* m_window;
#endif // __WXGTK3__
void* m_self;
};
+1 -2
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()];