- if ( IsWindow() && !(m_flag & wxFIXED_MINSIZE) )
- {
- // Since the size of the window may change during runtime, we
- // should use the current minimal/best size.
- m_minSize = m_window->GetBestFittingSize();
- }
- ret = m_minSize;
+ // Since the size of the window may change during runtime, we
+ // should use the current minimal/best size.
+ m_minSize = m_window->GetBestFittingSize();