- const wxPoint& pos /*= wxDefaultPosition*/,
- const wxSize& size /*= wxDefaultSize*/)
- : wxFloatingPaneBaseClass(parent, id, wxEmptyString, pos, size,
- wxRESIZE_BORDER | wxSYSTEM_MENU | wxCAPTION |
- wxCLOSE_BOX | wxFRAME_NO_TASKBAR |
- wxFRAME_FLOAT_ON_PARENT | wxCLIP_CHILDREN)
+ long style /*=wxRESIZE_BORDER | wxSYSTEM_MENU | wxCAPTION |
+ wxFRAME_NO_TASKBAR | wxFRAME_FLOAT_ON_PARENT |
+ wxCLIP_CHILDREN
+ */)
+ : wxFloatingPaneBaseClass(parent, id, wxEmptyString,
+ pane.floating_pos, pane.floating_size,
+ style |
+ (pane.HasCloseButton()?wxCLOSE_BOX:0) |
+ (pane.IsFixed()?0:wxRESIZE_BORDER)
+ )