Handle Cancel button in userdlg
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -80,8 +80,10 @@ mjDoc::~mjDoc()
|
||||
bool mjDoc::OnNewDocument()
|
||||
{
|
||||
//-------------------------------------------------------------------
|
||||
if (!OnInitView()) // LogBook is now activ
|
||||
if (!OnInitView())
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
p_PgmCtrl->OnPopulate();
|
||||
//-------------------------------------------------------------------
|
||||
return TRUE;
|
||||
|
Reference in New Issue
Block a user