Fix unresponsive frame after using wxHtmlHelpFrame from a dialog. See #17837

This commit is contained in:
Paul Cornett
2017-07-24 08:56:59 -07:00
parent 572ec50827
commit a533fb141d
2 changed files with 19 additions and 10 deletions

View File

@@ -9,6 +9,8 @@
#ifndef _WX_GTK_TOPLEVEL_H_
#define _WX_GTK_TOPLEVEL_H_
class WXDLLIMPEXP_CORE wxGUIEventLoop;
//-----------------------------------------------------------------------------
// wxTopLevelWindowGTK
//-----------------------------------------------------------------------------
@@ -80,7 +82,7 @@ public:
// viewable from within modal dialogs
virtual void AddGrab();
virtual void RemoveGrab();
virtual bool IsGrabbed() const { return m_grabbed; }
virtual bool IsGrabbed() const;
virtual void Refresh( bool eraseBackground = true,
@@ -158,7 +160,7 @@ private:
bool m_isIconized;
// is the frame currently grabbed explicitly by the application?
bool m_grabbed;
wxGUIEventLoop* m_grabbedEventLoop;
bool m_updateDecorSize;
bool m_deferShowAllowed;