fixed assert when using wxMiniFrame (result of recent changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -32,7 +32,10 @@ public:
|
|||||||
long style = wxCAPTION | wxCLIP_CHILDREN | wxRESIZE_BORDER,
|
long style = wxCAPTION | wxCLIP_CHILDREN | wxRESIZE_BORDER,
|
||||||
const wxString& name = wxFrameNameStr)
|
const wxString& name = wxFrameNameStr)
|
||||||
{
|
{
|
||||||
Create(parent, id, title, pos, size, style | wxFRAME_TOOL_WINDOW | wxFRAME_FLOAT_ON_PARENT, name);
|
Create(parent, id, title, pos, size,
|
||||||
|
style |
|
||||||
|
wxFRAME_TOOL_WINDOW |
|
||||||
|
(parent ? wxFRAME_FLOAT_ON_PARENT : 0), name);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
Reference in New Issue
Block a user