Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
wxSmithAui plugin: wxAui support for wxSmith
Ganbito:
Thanks, rcoll, that was what I need.
I hope to upload an update in the next days.
Ganbito:
--- Quote from: byo on February 07, 2009, 01:21:29 am ---Right now there's no such functionality. You can try to workaround this by connection to EVT_CLOSE event but I don't know whether it will work.
--- End quote ---
I've tried this, but only works with Exact preview, inside C::B don't. :?
byo:
--- Quote from: Ganbito on February 13, 2009, 09:57:05 pm ---
--- Quote from: byo on February 07, 2009, 01:21:29 am ---Right now there's no such functionality. You can try to workaround this by connection to EVT_CLOSE event but I don't know whether it will work.
--- End quote ---
I've tried this, but only works with Exact preview, inside C::B don't. :?
--- End quote ---
Here are another "workarounds" which came into my mind, unfortunately I haven't tested them yet. All are based by subclassing the wxAuiManager into new class and:
* Can try to overwrite Destroy() function, it's virtual and used to destroy the window. But from my test projects it's not always called
* Can try to call Uninit in descructor of the class
If this won't work, I'll try to add such feature into wxSmith.
Regards
BYO
Ganbito:
Sorry, I get the solution using EVT_DESTROY but I forget posting it.
But I still don't know how to generate the code in the destruction section, so I'll wait for this feature... when you can add it.
GeO:
I'm not happy to write this :(, but i found another bug:
if i click on a wxAuiNotebook that haven't any pages Cb crashs
greetings GeO
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version