Kirix Support Forums

Allow wxFrameManager::UnInit() without SetManagedWindow

Please post any wxAUI patches or modifications you've created here. Thanks!

Allow wxFrameManager::UnInit() without SetManagedWindow

Postby jason on Sat Sep 30, 2006 11:02 am

I do not always want to use wxFrameManager to manage a window, and I believe wxFrameManager should manage its own abstraction so calls to UnInit do not require calls to SetManagedWindow.

The patches below remove the requirement described above.

Add to the end of wxFrameManager::wxFrameManager
Code: Select all
      m_frame = NULL;

Change wxFrameManager::UnInit() to
Code: Select all
   if (m_frame != NULL)
Registered User
Posts: 5
Joined: Sun Sep 03, 2006 2:14 pm

Postby Ben on Tue Oct 31, 2006 2:59 am


User avatar
Kirix Support Team
Posts: 525
Joined: Mon Dec 19, 2005 6:29 am

Return to wxAUI Patches & Modifications