Build fix to make tinderbox work, needs asap change.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -580,7 +580,13 @@ wxSize wxDatePickerCtrlGeneric::DoGetBestSize() const
|
|||||||
int eh=m_txt->GetBestSize().y;
|
int eh=m_txt->GetBestSize().y;
|
||||||
return wxSize(DEFAULT_ITEM_WIDTH, bh > eh ? bh : eh);
|
return wxSize(DEFAULT_ITEM_WIDTH, bh > eh ? bh : eh);
|
||||||
}
|
}
|
||||||
return wxSize(DEFAULT_ITEM_WIDTH,DEFAULT_ITEM_HEIGHT);
|
return wxSize(DEFAULT_ITEM_WIDTH,
|
||||||
|
#if defined(__WXMSW__) || defined(__WXPM__)
|
||||||
|
DEFAULT_ITEM_HEIGHT
|
||||||
|
#else
|
||||||
|
8 // FIXME ASAP
|
||||||
|
#endif
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user