MCPcopy Create free account
hub / github.com/mhammond/pywin32 / GetPythonPropSheet

Function GetPythonPropSheet

Pythonwin/win32prop.cpp:50–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 return (CPropertySheet *)PyCWnd::GetPythonGenericWnd(self, &PyCPropertySheet::type);
49}
50CPythonPropertySheet *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//

Calls

no outgoing calls

Tested by

no test coverage detected