X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/322c5ec4c0f5df842ac82c17274dbd2191b021a6..bdf895fdd93d3f33a4b12a2c4a8568b64badc1d3:/src/aui/floatpane.cpp?ds=sidebyside diff --git a/src/aui/floatpane.cpp b/src/aui/floatpane.cpp index d8e436dc26..5d9c010da2 100644 --- a/src/aui/floatpane.cpp +++ b/src/aui/floatpane.cpp @@ -37,13 +37,15 @@ IMPLEMENT_CLASS( wxFloatingPane, wxFloatingPaneBaseClass ) wxFloatingPane::wxFloatingPane(wxWindow* parent, wxFrameManager* owner_mgr, const wxPaneInfo& pane, - wxWindowID id /*= wxID_ANY*/) + wxWindowID id /*= wxID_ANY*/, + 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, - wxRESIZE_BORDER | wxSYSTEM_MENU | wxCAPTION | + style | (pane.HasCloseButton()?wxCLOSE_BOX:0) | - wxFRAME_NO_TASKBAR | - wxFRAME_FLOAT_ON_PARENT | wxCLIP_CHILDREN | (pane.IsFixed()?0:wxRESIZE_BORDER) ) {