fixed fatal crash in Create() after my last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -31,7 +31,7 @@ public:
|
|||||||
long style = wxCAPTION | wxCLIP_CHILDREN | wxRESIZE_BORDER,
|
long style = wxCAPTION | wxCLIP_CHILDREN | wxRESIZE_BORDER,
|
||||||
const wxString& name = wxFrameNameStr)
|
const wxString& name = wxFrameNameStr)
|
||||||
{
|
{
|
||||||
return Create(parent, id, title, pos, size,
|
return wxFrame::Create(parent, id, title, pos, size,
|
||||||
style |
|
style |
|
||||||
wxFRAME_TOOL_WINDOW |
|
wxFRAME_TOOL_WINDOW |
|
||||||
(parent ? wxFRAME_FLOAT_ON_PARENT : 0), name);
|
(parent ? wxFRAME_FLOAT_ON_PARENT : 0), name);
|
||||||
|
Reference in New Issue
Block a user