]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/sizer.h
look for backtrace() in -lexecinfo, fixes #9783
[wxWidgets.git] / include / wx / sizer.h
index 289b765d80f2beeb7ac9eff95f4b9af1a9a4571e..aa14476d05d175c84ad437b18a3a77155643f38d 100644 (file)
@@ -510,7 +510,7 @@ public:
     wxSizerItem* Add( int width, int height, const wxSizerFlags& flags);
     wxSizerItem* Add( wxSizerItem *item);
 
-    wxSizerItem* AddSpacer(int size);
+    virtual wxSizerItem *AddSpacer(int size);
     wxSizerItem* AddStretchSpacer(int prop = 1);
 
     wxSizerItem* Insert(size_t index,
@@ -827,7 +827,7 @@ class WXDLLIMPEXP_CORE wxFlexGridSizer: public wxGridSizer
 public:
     // ctors specifying the number of columns only: number of rows will be
     // deduced automatically depending on the number of sizer elements
-    wxFlexGridSizer( int cols, int vgap, int hgap );
+    wxFlexGridSizer( int cols, int vgap, int hgap = 0);
     wxFlexGridSizer( int cols, const wxSize& gap = wxSize(0, 0) );
 
     // ctors specifying the number of rows and columns
@@ -913,6 +913,8 @@ public:
                       wxT("invalid value for wxBoxSizer orientation") );
     }
 
+    virtual wxSizerItem *AddSpacer(int size);
+
     int GetOrientation() const { return m_orient; }
 
     bool IsVertical() const { return m_orient == wxVERTICAL; }