%define DOCSTRING
"Classes for implementing a spreadsheet-like control."
%enddef
-%module(docstring=DOCSTRING) grid
+
+%module(package="wx", docstring=DOCSTRING) grid
%{
+MustHaveApp(wxGrid);
+
class wxGrid : public wxScrolledWindow
{
public:
%pythonAppend wxGrid "self._setOORInfo(self)"
wxGrid( wxWindow *parent,
- wxWindowID id,
+ wxWindowID id=-1,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxWANTS_CHARS,
const wxString& name = wxPyPanelNameStr);
+ %name(PreGrid) wxGrid();
+
+
+ bool Create( wxWindow *parent,
+ wxWindowID id=-1,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long style = wxWANTS_CHARS,
+ const wxString& name = wxPyPanelNameStr );
+
enum wxGridSelectionModes {
wxGridSelectCells,
wxGridSelectRows,