]> git.saurik.com Git - wxWidgets.git/commit
Remove the native toolbar from the frame in Destroy() rather than the destructor...
authorKevin Ollivier <kevino@theolliviers.com>
Fri, 25 Dec 2009 20:43:43 +0000 (20:43 +0000)
committerKevin Ollivier <kevino@theolliviers.com>
Fri, 25 Dec 2009 20:43:43 +0000 (20:43 +0000)
commit1665389a9ab7359c164069a31f231f121e4afd8e
treedcc0d9acd0056829145f0381c9c0a5d79cfbb5c5
parent849754a4511e8a619d28bac5b08e9a0384100392
Remove the native toolbar from the frame in Destroy() rather than the destructor, as removing it in the destructor causes resize / repaint events to fire on the native control, which then goes to wx controls being deleted.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/osx/toolbar.h
src/osx/carbon/toolbar.cpp
src/osx/cocoa/toolbar.mm
src/osx/toolbar_osx.cpp