X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ca65c0440a7163e4e37e48b1c4329709d722db47..1dfab6bb1020a469bb55ee9927032f0f31cce426:/src/generic/fdrepdlg.cpp diff --git a/src/generic/fdrepdlg.cpp b/src/generic/fdrepdlg.cpp index 7faeda8345..bb7c60a979 100644 --- a/src/generic/fdrepdlg.cpp +++ b/src/generic/fdrepdlg.cpp @@ -109,7 +109,7 @@ bool wxGenericFindReplaceDialog::Create(wxWindow *parent, sizer2Col->AddGrowableCol(2); sizer2Col->Add(new wxStaticText(this, wxID_ANY, _("Search for:"), - wxDefaultPosition, wxSize(80, wxDefaultSize.y)), + wxDefaultPosition, wxSize(80, wxDefaultCoord)), 0, wxALIGN_CENTRE_VERTICAL | wxALIGN_RIGHT); @@ -121,7 +121,7 @@ bool wxGenericFindReplaceDialog::Create(wxWindow *parent, if ( style & wxFR_REPLACEDIALOG ) { sizer2Col->Add(new wxStaticText(this, wxID_ANY, _("Replace with:"), - wxDefaultPosition, wxSize(80, wxDefaultSize.y)), + wxDefaultPosition, wxSize(80, wxDefaultCoord)), 0, wxALIGN_CENTRE_VERTICAL | wxALIGN_RIGHT | wxTOP, 5); @@ -159,9 +159,9 @@ bool wxGenericFindReplaceDialog::Create(wxWindow *parent, wxBoxSizer *bttnsizer = new wxBoxSizer(wxVERTICAL); - bttnsizer->Add(new wxButton(this, wxID_FIND, _("&Find")), 0, wxALL, 3); + bttnsizer->Add(new wxButton(this, wxID_FIND, wxSTOCK_FIND), 0, wxALL, 3); - bttnsizer->Add(new wxButton(this, wxID_CANCEL, _("&Cancel")), 0, wxALL, 3); + bttnsizer->Add(new wxButton(this, wxID_CANCEL, wxSTOCK_CANCEL), 0, wxALL, 3); if ( style & wxFR_REPLACEDIALOG ) {