mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00
Changed SetBestSize to SetInitialSize.
This prevents a wxWidgets deprecated warning.
This commit is contained in:
@@ -216,7 +216,7 @@ bool wxSTEditor::Create( wxWindow *WXUNUSED(parent), wxWindowID WXUNUSED(id),
|
||||
#endif // wxCHECK_VERSION(2,5,0)
|
||||
|
||||
if ((size.x > 0) && (size.y > 0))
|
||||
SetBestSize(size);
|
||||
SetInitialSize(size);
|
||||
|
||||
if (CanPaste())
|
||||
m_state |= STE_CANPASTE;
|
||||
|
Reference in New Issue
Block a user