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:
harukalover 2009-07-03 23:40:26 +00:00
parent 7ecbbf2e5c
commit 1cb43ba5c7

View file

@ -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;