MAKE_CONST_WXSTRING_NOSWIG(EmptyString);
MAKE_CONST_WXSTRING_NOSWIG(PanelNameStr);
-MAKE_CONST_WXSTRING2(DateTimeFormatStr, wxT("%c"));
-
+MAKE_CONST_WXSTRING_NOSWIG(DefaultDateTimeFormat);
//---------------------------------------------------------------------------
// OOR related typemaps and helper functions
{
public:
%pythonAppend wxGridCellDateTimeRenderer "self._setOORInfo(self)"
- wxGridCellDateTimeRenderer(wxString outformat = wxPyDateTimeFormatStr,
- wxString informat = wxPyDateTimeFormatStr);
+ wxGridCellDateTimeRenderer(wxString outformat = wxPyDefaultDateTimeFormat,
+ wxString informat = wxPyDefaultDateTimeFormat);
};
{
public:
%pythonAppend wxGrid "self._setOORInfo(self)"
+ %pythonAppend wxGrid() ""
+
%typemap(out) wxGrid*; // turn off this typemap
wxGrid( wxWindow *parent,
long style = wxWANTS_CHARS,
const wxString& name = wxPyPanelNameStr);
- %name(PreGrid) wxGrid();
+ %RenameCtor(PreGrid, wxGrid());
// Turn it back on again
wxWindow* GetGridColLabelWindow();
wxWindow* GetGridCornerLabelWindow();
+ // Allow adjustment of scroll increment. The default is (15, 15).
+ void SetScrollLineX(int x);
+ void SetScrollLineY(int y);
+ int GetScrollLineX() const;
+ int GetScrollLineY() const;
+
+ int GetScrollX(int x) const;
+ int GetScrollY(int y) const;
static wxVisualAttributes
GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);