| 48 | return (CPropertySheet *)PyCWnd::GetPythonGenericWnd(self, &PyCPropertySheet::type); |
| 49 | } |
| 50 | CPythonPropertySheet *GetPythonPropSheet(PyObject *self) |
| 51 | { |
| 52 | CPythonPropertySheet *ret = |
| 53 | (CPythonPropertySheet *)PyCWnd::GetPythonGenericWnd(self, &PyCPropertySheet::type); |
| 54 | if (!ret->IsKindOf(RUNTIME_CLASS(CPythonPropertySheet))) |
| 55 | RETURN_TYPE_ERR("Object is not of the correct type"); |
| 56 | return ret; |
| 57 | } |
| 58 | // |
| 59 | // property page helpers |
| 60 | // |
no outgoing calls
no test coverage detected