// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
wxSize best = GetBestSize();
if( size.x != -1 ) best.x = size.x;
if( size.y != -1 ) best.y = size.y;
wxSize best = GetBestSize();
if( size.x != -1 ) best.x = size.x;
if( size.y != -1 ) best.y = size.y;
// wxButton in the same row, correction is straighforward: we set
// resource for all wxButton in this parent (but not sub panels)
// wxButton in the same row, correction is straighforward: we set
// resource for all wxButton in this parent (but not sub panels)