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
This commit is contained in:
@@ -248,7 +248,7 @@ void wxGenericFontDialog::CreateWidgets()
|
|||||||
m_previewer = new wxFontPreviewer(this);
|
m_previewer = new wxFontPreviewer(this);
|
||||||
|
|
||||||
wxButton *okButton = new wxButton(this, wxID_OK, _("OK"));
|
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()) );
|
familyChoice->SetStringSelection( wxFontFamilyIntToString(dialogFont.GetFamily()) );
|
||||||
styleChoice->SetStringSelection(wxFontStyleIntToString(dialogFont.GetStyle()));
|
styleChoice->SetStringSelection(wxFontStyleIntToString(dialogFont.GetStyle()));
|
||||||
|
Reference in New Issue
Block a user