X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/47b8afadeaa5fd88c6baf88673699c36781353ba..032bc940fcde34cc649eaa111cd6aff1cda66104:/src/generic/dirctrlg.cpp diff --git a/src/generic/dirctrlg.cpp b/src/generic/dirctrlg.cpp index 147b72074c..5b9bc12d62 100644 --- a/src/generic/dirctrlg.cpp +++ b/src/generic/dirctrlg.cpp @@ -37,9 +37,9 @@ #include "wx/textdlg.h" #include "wx/gdicmn.h" #include "wx/image.h" + #include "wx/module.h" #endif -#include "wx/module.h" #include "wx/filefn.h" #include "wx/imaglist.h" #include "wx/tokenzr.h" @@ -544,6 +544,7 @@ bool wxGenericDirCtrl::Create(wxWindow *parent, return false; SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE)); + SetForegroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOWTEXT)); Init(); @@ -612,7 +613,7 @@ bool wxGenericDirCtrl::Create(wxWindow *parent, ExpandRoot(); - SetBestSize(size); + SetInitialSize(size); DoResize(); return true;