Fixed sample; enhanced wxLayoutAlgorithm to give remaining space to

last window


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2000-08-25 15:51:23 +00:00
parent 16d57d674f
commit 2f82899bba
3 changed files with 34 additions and 3 deletions

View File

@@ -473,7 +473,7 @@ void MyFrame::ModalDlg(wxCommandEvent& WXUNUSED(event))
void MyFrame::ModelessDlg(wxCommandEvent& event)
{
bool show = GetMenuBar()->IsChecked(event.GetInt());
bool show = GetMenuBar()->IsChecked(event.GetId());
if ( show )
{