Removed lots of OnClose functions; doc'ed OnCloseWindow better;
MM_... -> wxMM_... git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1026,8 +1026,7 @@ bool Tex2RTFConnection::OnExecute(const wxString& topic, char *data, int size, i
|
||||
}
|
||||
else if (strcmp(firstArg, "EXIT") == 0)
|
||||
{
|
||||
if (frame && frame->OnClose())
|
||||
delete frame;
|
||||
if (frame) frame->Close();
|
||||
}
|
||||
else if (strcmp(firstArg, "MINIMIZE") == 0 || strcmp(firstArg, "ICONIZE") == 0)
|
||||
{
|
||||
|
Reference in New Issue
Block a user