More reasonable font size for rich text dialogs.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2012-02-25 11:08:11 +00:00
parent 53b2d7d70a
commit 2fb1532a89
3 changed files with 11 additions and 0 deletions

View File

@ -108,6 +108,9 @@ bool wxRichTextFormattingDialog::Create(long flags, wxWindow* parent, const wxSt
const wxPoint& pos, const wxSize& sz, long style)
{
SetExtraStyle(wxDIALOG_EX_CONTEXTHELP|wxWS_EX_VALIDATE_RECURSIVELY);
#ifdef __WXMAC__
SetWindowVariant(wxWINDOW_VARIANT_SMALL);
#endif
int resizeBorder = wxRESIZE_BORDER;

View File

@ -152,6 +152,10 @@ bool wxRichTextStyleOrganiserDialog::Create( int flags, wxRichTextStyleSheet* sh
void wxRichTextStyleOrganiserDialog::CreateControls()
{
#ifdef __WXMAC__
SetWindowVariant(wxWINDOW_VARIANT_SMALL);
#endif
bool hideTypeSelector = false;
wxRichTextStyleListBox::wxRichTextStyleType typesToShow = wxRichTextStyleListBox::wxRICHTEXT_STYLE_ALL;

View File

@ -379,6 +379,10 @@ void wxSymbolPickerDialog::Init()
void wxSymbolPickerDialog::CreateControls()
{
#ifdef __WXMAC__
SetWindowVariant(wxWINDOW_VARIANT_SMALL);
#endif
////@begin wxSymbolPickerDialog content construction
wxSymbolPickerDialog* itemDialog1 = this;