const wxDateTime& date = wxDefaultDateTime,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
- long style = wxCAL_SHOW_HOLIDAYS,
+ long style = wxCAL_SHOW_HOLIDAYS | wxWANTS_CHARS,
const char* name = "calendar");
%name(wxPreCalendarCtrl)wxCalendarCtrl();
const wxDateTime& date = wxDefaultDateTime,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
- long style = wxCAL_SHOW_HOLIDAYS,
+ long style = wxCAL_SHOW_HOLIDAYS | wxWANTS_CHARS,
const char* name = "calendar");
// set/get the current date
wxDateTime * _arg2 = (wxDateTime *) &wxDefaultDateTime;
wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
wxSize * _arg4 = (wxSize *) &wxDefaultSize;
- long _arg5 = (long ) (wxCAL_SHOW_HOLIDAYS);
+ long _arg5 = (long ) (wxCAL_SHOW_HOLIDAYS)|wxWANTS_CHARS;
char * _arg6 = (char *) "calendar";
PyObject * _argo0 = 0;
PyObject * _argo2 = 0;
wxDateTime * _arg3 = (wxDateTime *) &wxDefaultDateTime;
wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
wxSize * _arg5 = (wxSize *) &wxDefaultSize;
- long _arg6 = (long ) (wxCAL_SHOW_HOLIDAYS);
+ long _arg6 = (long ) (wxCAL_SHOW_HOLIDAYS)|wxWANTS_CHARS;
char * _arg7 = (char *) "calendar";
PyObject * _argo0 = 0;
PyObject * _argo1 = 0;
def crunch_data(data, compressed):
- # convert the lines to a Python list, pickle it and compress the result.
+ # convert the lines to a Python list, pickle it and optionally compress the result.
lines = []
for line in data:
if line[0] == "\"":
Typical usage:
from wxPython.lib.infoframe import *
... # ... modify your wxApp as follows:
- class myApp[wxApp):
+ class myApp(wxApp):
outputWindowClass = wxPyInformationalMessagesFrame
...
If you're running on Linux, you'll also have to supply an argument 1 to your