Change reference from GetForce to CanVeto
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
2ef66617a5
commit
f29d3d6133
@ -355,7 +355,7 @@ Usually it is only used with the top level windows (wxFrame and wxDialog
|
||||
classes) as the others are not supposed to have any special OnClose() logic.
|
||||
|
||||
The close handler should check whether the window is being deleted forcibly,
|
||||
using \helpref{wxCloseEvent::GetForce}{wxcloseeventgetforce}, in which case it
|
||||
using \helpref{wxCloseEvent::CanVeto}{wxcloseeventcanveto}, in which case it
|
||||
should destroy the window using \helpref{wxWindow::Destroy}{wxwindowdestroy}.
|
||||
|
||||
{\it Note} that calling Close does not guarantee that the window will be
|
||||
|
Loading…
Reference in New Issue
Block a user