Make controls better size on Mac

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2008-04-28 10:15:49 +00:00
parent 612c1ebf57
commit 824ff8bd8a
3 changed files with 12 additions and 0 deletions

View File

@@ -102,6 +102,10 @@ bool wxRichTextFormattingDialog::Create(long flags, wxWindow* parent, const wxSt
GetFormattingDialogFactory()->SetSheetStyle(this);
#ifdef __WXMAC__
SetWindowVariant(wxWINDOW_VARIANT_SMALL);
#endif
wxPropertySheetDialog::Create(parent, id, title, pos, sz,
style | (int)wxPlatform::IfNot(wxOS_WINDOWS_CE, resizeBorder)
);

View File

@@ -145,6 +145,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

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