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:
Tim Kosse
2011-02-20 10:26:32 +00:00
parent e1c51d7eb9
commit 7d49fd0781

View File

@@ -249,7 +249,7 @@ public:
long style = wxDEFAULT_FRAME_STYLE,
const wxString &name = wxT("frame"))
{
if (!CreateBase( parent, id, pos, size, style, wxDefaultValidator, name ))
if (!Create( parent, id, title, pos, size, style, name ))
return;
m_title = title;