X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f80ea77b4a8bac4ab005bfc592f9cd3262ffa397..4818141bb228bbb59df63de12a5ea31801314b57:/contrib/utils/wxrcedit/propedit.cpp diff --git a/contrib/utils/wxrcedit/propedit.cpp b/contrib/utils/wxrcedit/propedit.cpp index f6c78716a6..35e2676355 100644 --- a/contrib/utils/wxrcedit/propedit.cpp +++ b/contrib/utils/wxrcedit/propedit.cpp @@ -62,11 +62,10 @@ void PropEditCtrl::BeginEdit(const wxRect& rect, wxTreeItemId ti) sz->Add(m_TheCtrl, 1); if (HasDetails()) sz->Add(new wxButton(this, ID_DETAILS, _T("..."), wxDefaultPosition, - wxSize(16,wxDefaultSize.y))); + wxSize(16,wxDefaultCoord))); if (HasClearButton()) sz->Add(new wxButton(this, ID_CLEAR, _T("X"), wxDefaultPosition, - wxSize(16,wxDefaultSize.y))); - SetAutoLayout(true); + wxSize(16,wxDefaultCoord))); SetSizer(sz); m_Created = true; }