applied workaround patch to get rid of crashes in wxrcedit on MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
2adaf5969f
commit
06f3c649c9
@ -220,9 +220,18 @@ void PreviewFrame::PreviewPanel()
|
||||
}
|
||||
|
||||
|
||||
#ifdef __WXMSW__
|
||||
// avoid Problems with setting the focus to a no longer existing child
|
||||
void PreviewFrame::OnActivate(wxActivateEvent &event)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
BEGIN_EVENT_TABLE(PreviewFrame, wxFrame)
|
||||
EVT_ENTER_WINDOW(PreviewFrame::OnMouseEnter)
|
||||
#ifdef __WXMSW__
|
||||
EVT_ACTIVATE(PreviewFrame::OnActivate)
|
||||
#endif
|
||||
END_EVENT_TABLE()
|
||||
|
||||
void PreviewFrame::OnMouseEnter(wxMouseEvent& event)
|
||||
|
@ -57,6 +57,9 @@ class PreviewFrame : public wxFrame
|
||||
|
||||
DECLARE_EVENT_TABLE()
|
||||
void OnMouseEnter(wxMouseEvent& event);
|
||||
#ifdef __WXMSW__
|
||||
void OnActivate(wxActivateEvent &event);
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user