Kirix Support Forums

GetPane() doesn't work with unicode?

Please post all general questions, comments, bug reports, and any other wxAUI feedback here.

GetPane() doesn't work with unicode?

Postby mydevnull on Mon Mar 27, 2006 2:51 pm

Hi there,

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
mydevnull
Registered User
 
Posts: 10
Joined: Wed Feb 01, 2006 9:35 am

Return to wxAUI Questions, Thoughts & Feedback