If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
i have problem in this code when i call function [showTabbed] in main everything is right but when i take args from user and passed to the second function in the class called addNewItem the error show.
how i can make wxDataViewListCtrl peremented active ?
If the code you posted in your first post is complete, there is no custom default constructor for ShowListenerTabbed. So all its members will be 0 or uninitialized, and therefore calling any of its method will crash.
On top of that you're creating the object on the stack, which means that it gets destroyed immediately when it goes out of scope.
What you probably want to do:
In the CreateListenerDialog constructor, create an instance of ShowListenerTabbed with new and store its pointer in a member variable. Then you can access it in the event handler CreateListenerDialog::Validators()