Add a TODO

This commit is contained in:
Robin Dunn
2022-05-16 15:56:03 -07:00
parent 05bc12da13
commit 526cb6ac40

View File

@@ -58,6 +58,7 @@ def run():
// Otherwise, a conversion is needed
int state = 0;
// TODO: A macro for these nearly identical statements would be a good idea...
if (sipCanConvertToType(sipPy, sipType_wxBitmap, SIP_NO_CONVERTORS)) {
wxBitmap* obj = reinterpret_cast<wxBitmap*>(
sipConvertToType(sipPy, sipType_wxBitmap, sipTransferObj, SIP_NO_CONVERTORS, &state, sipIsErr));