floating panes now respect wxPaneInfo::HasCloseButton()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Benjamin Williams 2006-07-24 16:00:37 +00:00
parent 31ec1d0379
commit 9674314028

View File

@ -41,7 +41,8 @@ wxFloatingPane::wxFloatingPane(wxWindow* parent,
: wxFloatingPaneBaseClass(parent, id, wxEmptyString,
pane.floating_pos, pane.floating_size,
wxRESIZE_BORDER | wxSYSTEM_MENU | wxCAPTION |
wxCLOSE_BOX | wxFRAME_NO_TASKBAR |
(pane.HasCloseButton()?wxCLOSE_BOX:0) |
wxFRAME_NO_TASKBAR |
wxFRAME_FLOAT_ON_PARENT | wxCLIP_CHILDREN |
(pane.IsFixed()?0:wxRESIZE_BORDER)
)