Need to call wxFrame::Create instead of wxWindowBase::CreateBase in the wxPseudoTransparentFrame constructor. Fixes crash reported in #11474
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@66980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -249,7 +249,7 @@ public:
|
|||||||
long style = wxDEFAULT_FRAME_STYLE,
|
long style = wxDEFAULT_FRAME_STYLE,
|
||||||
const wxString &name = wxT("frame"))
|
const wxString &name = wxT("frame"))
|
||||||
{
|
{
|
||||||
if (!CreateBase( parent, id, pos, size, style, wxDefaultValidator, name ))
|
if (!Create( parent, id, title, pos, size, style, name ))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
m_title = title;
|
m_title = title;
|
||||||
|
Reference in New Issue
Block a user