- wxPanel(void);
-
- // Old-style constructor
- inline wxPanel(wxWindow *parent,
- int x = -1, int y= -1, int width = 500, int height = 500,
- long style = wxTAB_TRAVERSAL | wxNO_BORDER,
- const wxString& name = wxPanelNameStr)
+ // Old-style constructor (no default values for coordinates to avoid ambiguity
+ // with the new one)
+ wxPanel(wxWindow *parent,
+ int x, int y, int width, int height,
+ long style = wxTAB_TRAVERSAL | wxNO_BORDER,
+ const wxString& name = wxPanelNameStr)