1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-30 11:05:50 +00:00

Added overriding of the DoGetBestSize() to correct control sizing on OSX and Linux/GTK

This commit is contained in:
YuSanka
2018-08-22 10:44:11 +02:00
parent 5cd4597d38
commit a5119a41a5
2 changed files with 12 additions and 6 deletions
+1 -1
View File
@@ -527,7 +527,7 @@ public:
void SetHigherValue(int higher_val);
void SetKoefForLabels(float koef){ m_label_koef = koef;}
wxSize DoGetBestSize(){ return wxDefaultSize; }
wxSize DoGetBestSize() const override;
void OnPaint(wxPaintEvent& ){ render();}
void OnLeftDown(wxMouseEvent& event);