]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/dirctrlg.cpp
security fix to wxSingleInstanceChecker: check if the lock file was really created...
[wxWidgets.git] / src / generic / dirctrlg.cpp
index c20e3d7a9a6c8ccbafcd1d01913ee9461d5b33d5..07359fdbcfec5dec8d68430447f47c70fbfc9bea 100644 (file)
@@ -604,6 +604,7 @@ bool wxGenericDirCtrl::Create(wxWindow *parent,
     if (!m_defaultPath.IsEmpty())
         ExpandPath(m_defaultPath);
 
+    SetBestSize(size);
     DoResize();
 
     return TRUE;