Merge branch 'msw-popup'

Reimplement wxPopupWindow using WS_POPUP instead of WS_CHILD window in
wxMSW as the new approach allows using the controls inside the popup
normally, unlike the old one.

See https://github.com/wxWidgets/wxWidgets/pull/986

Closes #18243.
This commit is contained in:
Vadim Zeitlin
2018-10-27 15:08:22 +02:00
8 changed files with 225 additions and 133 deletions

View File

@@ -135,6 +135,8 @@ SimpleTransientPopup::SimpleTransientPopup( wxWindow *parent, bool scrolled )
topSizer->Add( text, 0, wxALL, 5 );
topSizer->Add( m_button, 0, wxALL, 5 );
topSizer->Add( m_spinCtrl, 0, wxALL, 5 );
topSizer->Add( new wxTextCtrl(m_panel, wxID_ANY, "Try to type here"),
0, wxEXPAND|wxALL, 5 );
topSizer->Add( m_mouseText, 0, wxCENTRE|wxALL, 5 );
if ( scrolled )