]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/utils/wxrcedit/propedit.cpp
Update the wx-config man page.
[wxWidgets.git] / contrib / utils / wxrcedit / propedit.cpp
index f6c78716a66be10880d000d23f8afec1efbdee70..35e267635570898d6f81755476bb9698d16aa628 100644 (file)
@@ -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;
     }