Partially enable r3094 for os x as well.

Originally committed to SVN as r4053.
This commit is contained in:
Amar Takhar 2010-01-26 16:21:21 +00:00
parent b31963bfec
commit f6c7caae57
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ wxTextCtrl(parent,id,value,pos,size,TimeEditWindowStyle | style,validator,name)
// Other stuff
if (!value) SetValue(time.GetASSFormated());
// This is a multiline control on wxGTK so we need to size it manually there
#ifdef __WXGTK__
#if defined(__WXGTK__) || defined(__APPLE__)
int w, h;
GetTextExtent(GetValue(),&w,&h);
w += 30;