PMunch / wxnim

Nim wrapper for wxWidgets.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to subclass wxWidget c++ class in nim?

oskca opened this issue · comments

commented

wxWidgets use wxWindow::SetDropTarget to handle drag/drop event, to do that I need to subclass wxDropTarget but object of wxDropTarget doesn't work, i'm wondering is there a way to subclass a c++ object and export back it to c++ world properly?