I have a wxPanel and all I want to access is the wxPanelNameStr created in the Created function. Any help? Is it even possible?
(
wxPanel::wxPanel ( wxWindow * parent,
wxWindowID id = wxID_ANY,
const wxPoint & pos = wxDefaultPosition,
const wxSize & size = wxDefaultSize,
long style = wxTAB_TRAVERSAL,
const wxString & name = wxPanelNameStr
)
Currently have a panel linked to a pointer:
wxPanel* x = panel->getwxPanel();
But is there any way of accessing the base wxPanel and getting the wxPanelNameStr?
wxPanel->getName();
If you have
wxPanel* myPanel = new wxPanel(....)
then use myPanel->GetName()
Note uppercased characters, instead of 'getname()'