]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/foldbar/foldpanelbar.cpp
Applied patch [ 1174270 ] small fixes to wxGenericDirCtrl
[wxWidgets.git] / 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