@pymethod int|PyCButton|GetBitmap|Get the button's bitmap
| 234 | } |
| 235 | // @pymethod int|PyCButton|GetBitmap|Get the button's bitmap |
| 236 | static PyObject * |
| 237 | PyCButton_get_bitmap(PyObject *self, PyObject *args) |
| 238 | { |
| 239 | CHECK_NO_ARGS(args); |
| 240 | CButton *pBut = GetButton(self); |
| 241 | if (!pBut) |
| 242 | return NULL; |
| 243 | GUI_BGN_SAVE; |
| 244 | HBITMAP rc = pBut->GetBitmap(); |
| 245 | GUI_END_SAVE; |
| 246 | return PyWinLong_FromHANDLE(rc); |
| 247 | } |
| 248 | |
| 249 | |
| 250 | // @object PyCButton|A windows button. Encapsulates an MFC <c CButton> class. Derived from <o PyCControl>. |
nothing calls this directly
no test coverage detected