Increased the default size of the time edit control on wxGTK since it was still too small on some OS's after r3094
Originally committed to SVN as r3096.
This commit is contained in:
parent
7ecbbf2e5c
commit
1cb43ba5c7
1 changed files with 2 additions and 2 deletions
|
@ -82,8 +82,8 @@ wxTextCtrl(parent,id,value,pos,size,TimeEditWindowStyle | style,validator,name)
|
|||
#ifdef __WXGTK__
|
||||
int w, h;
|
||||
GetTextExtent(GetValue(),&w,&h);
|
||||
w += 20;
|
||||
h += 5;
|
||||
w += 30;
|
||||
h += 8;
|
||||
SetSizeHints(w,h,w,h);
|
||||
#endif
|
||||
ready = true;
|
||||
|
|
Loading…
Reference in a new issue