Fix stc cell editor heights on win32 under wx 3.3

This commit is contained in:
Mark Roszko
2025-06-15 09:58:53 -04:00
parent d928e3c4fe
commit 50eae8fff9
+5
View File
@@ -126,8 +126,13 @@ void GRID_CELL_STC_EDITOR::SetSize( const wxRect& aRect )
WX_GRID::CellEditorTransformSizeRect( rect );
#if defined( __WXMSW__ )
#if !wxCHECK_VERSION( 3, 3, 0 )
rect.Offset( -1, 0 );
// hack no longer needed with wx 3.3
rect.SetHeight( rect.GetHeight() + 6 );
#else
rect.Offset( 0, 1 );
#endif
#elif defined( __WXGTK__ )
rect.Offset( -1, 3 );
#else