X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7a8d94185f3d3237861e582c80cf5b7ac43c3c74..b2c13097deb7736a86a278c02d0b3f7cd9873750:/contrib/src/foldbar/foldpanelbar.cpp?ds=sidebyside diff --git a/contrib/src/foldbar/foldpanelbar.cpp b/contrib/src/foldbar/foldpanelbar.cpp index 397750e68f..a8710b3d5a 100644 --- a/contrib/src/foldbar/foldpanelbar.cpp +++ b/contrib/src/foldbar/foldpanelbar.cpp @@ -69,7 +69,7 @@ void wxFoldPanelBar::Create( wxWindow *parent, wxWindowID id, const wxPoint &pos // the fold panel area - m_foldPanel = new wxPanel(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxNO_BORDER|wxTAB_TRAVERSAL); + m_foldPanel = new wxPanel(this, wxID_ANY, position, size, wxNO_BORDER|wxTAB_TRAVERSAL); // the extra area for some icons / context menu etc