With delay after refreshing testing window added in 808bbe8341 ("Fix executing wxPaintDC-related tests under wxGTK", 2023-01-04) wxPaintDC tests work also under wxOSX.
808bbe8341
First child window has fixed size so we need to create a second window and use it for wxPaintDC tests.