Fix GetSize/Width/Height calls

This commit is contained in:
Ocraftyone 2023-11-07 05:15:44 -05:00
parent cdff9ba9fa
commit 77a143a8ff
No known key found for this signature in database
GPG key ID: 85836ED21AD4D125
3 changed files with 4 additions and 4 deletions

View file

@ -1498,7 +1498,7 @@ ConfigWizardIndex::ConfigWizardIndex(wxWindow *parent)
#ifndef __WXOSX__
SetDoubleBuffered(true);// SetDoubleBuffered exists on Win and Linux/GTK, but is missing on OSX
#endif //__WXOSX__
SetMinSize(bg.bmp().GetSize());
SetMinSize(bg.GetSize());
const wxSize size = GetTextExtent("m");
em_w = size.x;