]> git.saurik.com Git - wxWidgets.git/commit - src/gtk/popupwin.cpp
Fix crash in wxGTK wxPopupWindow when creating it without parent.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 15 May 2013 13:05:45 +0000 (13:05 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 15 May 2013 13:05:45 +0000 (13:05 +0000)
commitb561290c3aa6d8009e4770526b3286d16c905ce9
tree5e3edd2e699f841793f52848d55835272cdfaef1
parentbed4928779cd4f4878cd42e1cc520e6a93022d00
Fix crash in wxGTK wxPopupWindow when creating it without parent.

Popup windows don't necessarily have a parent, so don't crash if parent
pointer is NULL in wxPopupWindow::Create().

Closes #15173.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/gtk/popupwin.cpp