wxwidgets/include
Vadim Zeitlin a249e21f65 Fix scrollbar creation for Mac windows not using standard peer
This avoids crash if wxVSCROLL or wxHSCROLL is used with wxGLCanvas
which calls wxWindow::Create() after calling DontCreatePeer() because
the Create() tries to use the not (yet) existent peer in
MacCreateScrollBars().

Avoid this problem by moving the call to MacCreateScrollBars() to
MacPostControlCreate(), which doesn't change anything for the windows
that do not call DontCreatePeer(), but ensures that the peer already
exists by the time MacPostControlCreate() is called for those that do.

Closes #23536.
2023-06-18 17:41:05 +02:00
..
msvc/wx Link with lexilla library too in MSVS-specific wx/setup.h 2023-03-08 18:24:38 +00:00
wx Fix scrollbar creation for Mac windows not using standard peer 2023-06-18 17:41:05 +02:00