Hi John,
Good point - maybe we need to change wxDialogBase::DoLayoutAdaptation()
in src/common/dlgcmn.cpp to something like this:
/// Do the adaptation
bool wxDialogBase::DoLayoutAdaptation()
{
if (GetLayoutAdapter())
{
wxWindow* focusWindow = wxFindFocusDescendant(this); // from event.h
if (GetLayoutAdapter()->DoLayoutAdaptation((wxDialog*) this))
{
if (focusWindow)
focusWindow->SetFocus();
return true;
}
else
return false;
else
return false;
}
Perhaps you could try this and if it helps, I can add it to SVN?
Thanks,
Julian
--
Julian Smart, Anthemion Software Ltd.
28/5 Gillespie Crescent, Edinburgh, Midlothian, EH10 4HU
www.anthemion.co.uk | +44 (0)131 229 5306
Tools for writers: www.writerscafe.co.uk
wxWidgets RAD: www.dialogblocks.com
Blog: www.juliansmart.com