]> git.saurik.com Git - wxWidgets.git/commitdiff
More reasonable font size for rich text dialogs.
authorJulian Smart <julian@anthemion.co.uk>
Sat, 25 Feb 2012 11:08:11 +0000 (11:08 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sat, 25 Feb 2012 11:08:11 +0000 (11:08 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/richtext/richtextformatdlg.cpp
src/richtext/richtextstyledlg.cpp
src/richtext/richtextsymboldlg.cpp

index f7939da5a4aa5dc6f5e4bcebff179d07bfe3c3f2..76368d50d79869183a5107b1aff95730cf58e8c8 100644 (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;
 
index 796c1b154a6354cfad752ba8d7dee8e183f989a1..f190e700e85b044f01dc9b9d94346874bd082edd 100644 (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;
 
index b5f9030900108e46febcd65c9659044d905eb0ea..36d529fe462cde230dd19d1f3f495883af6ce027 100644 (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;