Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Crash on start (wxWidgets 3.3.1, 64 bits)
Miguel Gimenez:
I have found the origin of the "corruption": wxWidgets 3.3 saves perspectives in layout3 format, while wxWidgets 3.2 only recognizes layout1 and layout2. This comment in wxAuiManager::LoadPerspective() explains the scope of each format:
--- Code: --- // check layout string version
// 'layout1' = wxAUI 0.9.0 - wxAUI 0.9.2
// 'layout2' = wxAUI 0.9.2 (wxWidgets 2.8)
// 'layout3' = wxWidgets 3.3.1
--- End code ---
Sadly, there is no way to make SavePerspective() use layout2 format, so when switching from C::B compiled with wx3.3 to another compiled with wx3.2 the saved perspective will be ignored silently. The inverse will work OK.
This is independent of my proposed patch, so I think I can apply it.
Navigation
[0] Message Index
[*] Previous page
Go to full version