Add support for wxAuiManager and wxAuiPaneInfo to XRC
Add XRC handler for wxAuiManager and include the existing wxAuiNotebook
handler into it (but notice that wxAuiToolBar handler added by a later #15686
in f269f868d7
remains separate).
Also update the AUI dialog in the sample and stop hardcoding its size in
pixels.
See #13520.
This commit is contained in:
committed by
Vadim Zeitlin
parent
6f80021950
commit
cf5fa7d5f1
@@ -282,7 +282,6 @@ void MyFrame::OnAuiDemoToolOrMenuCommand(wxCommandEvent& WXUNUSED(event))
|
||||
#if wxUSE_AUI
|
||||
wxDialog dlg;
|
||||
wxXmlResource::Get()->LoadDialog(&dlg, this, wxS("aui_dialog"));
|
||||
dlg.SetSize(-1,300);
|
||||
dlg.ShowModal();
|
||||
#else
|
||||
wxLogWarning("wxUSE_AUI must be set to 1 in 'setup.h' to view the AUI demo.");
|
||||
|
Reference in New Issue
Block a user