Applied [ 1110257 ] wxFoldPanelBar does not display correctly
authorJulian Smart <julian@anthemion.co.uk>
Thu, 10 Feb 2005 15:29:58 +0000 (15:29 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 10 Feb 2005 15:29:58 +0000 (15:29 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/src/foldbar/foldpanelbar.cpp

index 397750e68fac58987732a8adf869effae2d66e59..a8710b3d5aacf8179ab0b62eebfc3aa326fd8a51 100644 (file)
@@ -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