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:
@@ -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."),
|
||||
|
Reference in New Issue
Block a user