removed SetAutoLayout(true) calls when a corresponding SetSizer() was also called (the latter already calls SetAutoLayout(true) in case of a non-NULL window); usual cleanup: removing tabs and end of line whitespace, TRUE->true, FALSE->false, -1->wxID_ANY, Enable(false)->Disable(), ""->wxEmptyString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
wxWindow* PropEditCtrlFont::CreateEditCtrl()
|
||||
{
|
||||
PropEditCtrlTxt::CreateEditCtrl();
|
||||
m_TextCtrl->Enable(false);
|
||||
m_TextCtrl->Disable();
|
||||
return m_TextCtrl;
|
||||
}
|
||||
|
||||
@@ -165,7 +165,6 @@ void PropEditCtrlFlags::OnDetails()
|
||||
sz->Add(sz2, 0, wxALIGN_RIGHT | wxRIGHT | wxBOTTOM, 10);
|
||||
|
||||
dlg.SetSizer(sz);
|
||||
dlg.SetAutoLayout(true);
|
||||
dlg.Layout();
|
||||
|
||||
for (i = 0; i < arr.GetCount(); i++)
|
||||
@@ -219,7 +218,7 @@ void PropEditCtrlFile::OnDetails()
|
||||
wxString name = wxFileSelector(_("Choose file"),
|
||||
wxPathOnly(txt),
|
||||
wxFileNameFromPath(txt),
|
||||
_T(""),
|
||||
wxEmptyString,
|
||||
GetFileTypes(),
|
||||
wxOPEN | wxFILE_MUST_EXIST);
|
||||
if (!name) return;
|
||||
|
Reference in New Issue
Block a user