// classes
//---------------------------------------------------------------------------
-class wxSizerItem;
-class wxSizer;
-class wxBoxSizer;
+class WXDLLEXPORT wxSizerItem;
+class WXDLLEXPORT wxSizer;
+class WXDLLEXPORT wxBoxSizer;
//---------------------------------------------------------------------------
// wxSizerItem
wxSize GetMinSize() const
{ return m_minSize; }
+ wxSize GetMinSizeWithBorder() const;
+
void SetMinSize(const wxSize& size)
{
- if (IsWindow() && !(m_flag & wxFIXED_MINSIZE))
- m_window->SetSizeHints(size);
+ if (IsWindow()) m_window->SetMinSize(size);
m_minSize = size;
}
void SetMinSize( int x, int y )
int m_flexDirection;
wxFlexSizerGrowMode m_growMode;
+ // saves CalcMin result to optimize RecalcSizes
+ wxSize m_calculatedMinSize;
+
private:
DECLARE_CLASS(wxFlexGridSizer)
DECLARE_NO_COPY_CLASS(wxFlexGridSizer)