From aef9eff1befded0a8c2639f84cd380d76d9d1002 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 9 Nov 2015 02:56:59 +0100 Subject: [PATCH] Make the middle control in the text sample bigger under OS X This might indicate a bug with the default size being too small for wxTextCtrl in wxOSX, but without this change the control was barely big enough to show one line of text under OS X 10.8, so make it bigger to have a more reasonable initial appearance. --- samples/text/text.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/text/text.cpp b/samples/text/text.cpp index 126cb97168..37fd312acb 100644 --- a/samples/text/text.cpp +++ b/samples/text/text.cpp @@ -1156,7 +1156,7 @@ MyPanel::MyPanel( wxFrame *frame, int x, int y, int w, int h ) #endif m_tab = new MyTextCtrl( this, 100, wxT("Multiline, allow processing."), - wxPoint(180,90), wxDefaultSize, wxTE_MULTILINE | wxTE_PROCESS_TAB ); + wxPoint(180,90), wxSize(200,70), wxTE_MULTILINE | wxTE_PROCESS_TAB ); m_tab->SetClientData((void *)wxT("tab")); m_enter = new MyTextCtrl( this, 100, wxT("Multiline, allow processing."),