Minor tweaks and some typos fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
b3ca11f706
commit
bae170097e
@ -155,7 +155,7 @@ public:
|
||||
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();
|
||||
|
||||
@ -164,7 +164,7 @@ public:
|
||||
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
|
||||
|
@ -901,7 +901,7 @@ static PyObject *_wrap_new_wxCalendarCtrl(PyObject *self, PyObject *args, PyObje
|
||||
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;
|
||||
@ -993,7 +993,7 @@ static PyObject *_wrap_wxCalendarCtrl_Create(PyObject *self, PyObject *args, PyO
|
||||
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;
|
||||
|
@ -38,7 +38,7 @@ import img2xpm
|
||||
|
||||
|
||||
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] == "\"":
|
||||
|
@ -29,7 +29,7 @@ then), it's "frame" attribute is the actual instance of wFrame...
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user