I'm doing such stuff:
- Code: Select all
if( m_mgr.GetPane(_T("Navigator")).IsOk())
{
}
else
{
wxTreeCtrl* Navigator = new wxTreeCtrl(this, wxID_ANY );
m_mgr.AddPane(Navigator, wxLEFT, _T("Navigator"));
m_mgr.Update();
}
Everytime this code runs a new navigator is born... if I use a pointer instead of the string (that should be a unique identifier?) the IsOk() method always returns false.
Just to let you know!
Anyway keep the good work!
Daniel