Fixed dialogs sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -426,7 +426,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 )
|
||||
{
|
||||
|
Reference in New Issue
Block a user