projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed code inside USE_SIZABLE_CALENDAR, we should allow making the main calendar...
[wxWidgets.git]
/
wxPython
/
contrib
/
ogl
/
oglhelpers.h
diff --git
a/wxPython/contrib/ogl/oglhelpers.h
b/wxPython/contrib/ogl/oglhelpers.h
index d5c9281858ea81c42585fbff2ee92e6e1e0cffef..a4c12d68ff86b0d6a83e369f49d9df0dec752f7b 100644
(file)
--- a/
wxPython/contrib/ogl/oglhelpers.h
+++ b/
wxPython/contrib/ogl/oglhelpers.h
@@
-97,11
+97,11
@@
//---------------------------------------------------------------------------
// These are prototypes of some helper functions found in ogl.i
//---------------------------------------------------------------------------
// These are prototypes of some helper functions found in ogl.i
-wxList* wxPy_wxListHelper(PyObject* pyList, char* className);
+wxList* wxPy_wxListHelper(PyObject* pyList, c
onst wxC
har* className);
wxList* wxPy_wxRealPoint_ListHelper(PyObject* pyList);
PyObject* wxPyMake_wxShapeEvtHandler(wxShapeEvtHandler* source);
wxList* wxPy_wxRealPoint_ListHelper(PyObject* pyList);
PyObject* wxPyMake_wxShapeEvtHandler(wxShapeEvtHandler* source);
-PyObject* wxPy_ConvertShapeList(wxListBase* list
, const char* className
);
-
+PyObject* wxPy_ConvertShapeList(wxListBase* list);
+PyObject* wxPy_ConvertRealPointList(wxListBase* list);
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
@@
-148,6
+148,12
@@
public:
wxPyShape(wxPyShapeCanvas *can = NULL)
: wxShape(can) {}
wxPyShape(wxPyShapeCanvas *can = NULL)
: wxShape(can) {}
+ virtual void GetBoundingBoxMin(double *width, double *height)
+ {
+ if (width) *width = 0.0;
+ if (height) *height = 0.0;
+ }
+
WXSHAPE_DEC_CALLBACKS();
};
WXSHAPE_DEC_CALLBACKS();
};