From b595f7099675b440873de581760789d7998760df Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Thu, 14 Nov 2002 17:45:40 +0000 Subject: [PATCH] Typo in font dialog. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/fontdlgg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generic/fontdlgg.cpp b/src/generic/fontdlgg.cpp index 1971e40551..d6d11d662d 100644 --- a/src/generic/fontdlgg.cpp +++ b/src/generic/fontdlgg.cpp @@ -248,7 +248,7 @@ void wxGenericFontDialog::CreateWidgets() m_previewer = new wxFontPreviewer(this); wxButton *okButton = new wxButton(this, wxID_OK, _("OK")); - wxButton *cancelButton = new wxButton(this, wxID_OK, _("Cancel")); + wxButton *cancelButton = new wxButton(this, wxID_CANCEL, _("Cancel")); familyChoice->SetStringSelection( wxFontFamilyIntToString(dialogFont.GetFamily()) ); styleChoice->SetStringSelection(wxFontStyleIntToString(dialogFont.GetStyle()));