Well, for this project, I needed to use a virtual list, which needs to be subclassed as DisasmListCtrl. So I went and did the subclassing in wxFormBuilder, and then when I define the class DisasmListCtrl, I do it like so:
Code: Select all
class DisasmListCtrl : public wxListView { ... };
I was so happy when I wrote that up I thought I'd share it.
Heck! You could probably just do wxListView as the subclass for wxListCtrl in wxFormBuilder and not specify any header file and that would work just as well, because wxListView is included from the same header file as wxListCtrl (and the inheritance is already implemented)!