#ifndef __WXSIZER_H__
#define __WXSIZER_H__
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "sizer.h"
#endif
virtual void Layout();
- void Fit( wxWindow *window );
+ wxSize Fit( wxWindow *window );
void FitInside( wxWindow *window );
void SetSizeHints( wxWindow *window );
void SetVirtualSizeHints( wxWindow *window );
int m_vgap;
int m_hgap;
+ // return the number of total items and the number of columns and rows
+ int CalcRowsCols(int& rows, int& cols) const;
+
void SetItemBounds( wxSizerItem *item, int x, int y, int w, int h );
private: