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 6e3b30c43b
commit 4dc14ed973
1 changed files with 2 additions and 2 deletions

View File

@ -82,8 +82,8 @@ wxTextCtrl(parent,id,value,pos,size,TimeEditWindowStyle | style,validator,name)
#ifdef __WXGTK__ #ifdef __WXGTK__
int w, h; int w, h;
GetTextExtent(GetValue(),&w,&h); GetTextExtent(GetValue(),&w,&h);
w += 20; w += 30;
h += 5; h += 8;
SetSizeHints(w,h,w,h); SetSizeHints(w,h,w,h);
#endif #endif
ready = true; ready = true;