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.
This commit is contained in:
Vadim Zeitlin
2015-11-09 02:56:59 +01:00
parent a118c4243a
commit aef9eff1be

View File

@@ -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 <TAB> 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 <ENTER> processing."),