wxWidgets/samples/toolbar
Vadim Zeitlin 1be45608e7 Several fixes for removing/readding controls to the toolbar:
1. Don't destroy the control in wxToolBar::RemoveTool() as this prevents
   it from being added back with is the purpose of using RemoveTool() rather
   than DeleteTool().

2. Call wxToolBarTool::Attach/Detach() from the base code, not just from wxMSW
   and wxMac (wasn't called by wxGTK at all).

3. Allow adding back the removed control tool in wxGTK.

4. Add test for removing/adding back a control tool to the sample.



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 00:10:19 +00:00
..
bitmaps made all XPM const to avoid warnings from mingw32 4.0 and adopt the code accordingly (patch 1872384) 2008-01-16 01:39:44 +00:00
makefile.bcc regenerated makefiles with bkl-0.2.3 2008-01-23 12:13:07 +00:00
makefile.gcc regenerated makefiles with bkl-0.2.3 2008-01-23 12:13:07 +00:00
Makefile.in regenerated makefiles with bkl-0.2.3 2008-01-23 12:13:07 +00:00
makefile.unx regenerated makefiles with bkl-0.2.3 2008-01-23 12:13:07 +00:00
makefile.va
makefile.vc regenerated makefiles with bkl-0.2.3 2008-01-23 12:13:07 +00:00
makefile.wat regenerated makefiles with bkl-0.2.3 2008-01-23 12:13:07 +00:00
mondrian.ico
mondrian.xpm made all XPM const to avoid warnings from mingw32 4.0 and adopt the code accordingly (patch 1872384) 2008-01-16 01:39:44 +00:00
mondros2.ico
toolbar_vc7.vcproj added VC7/8 project files for samples 2008-01-27 11:38:07 +00:00
toolbar_vc8.vcproj added VC7/8 project files for samples 2008-01-27 11:38:07 +00:00
toolbar.bkl
toolbar.cpp Several fixes for removing/readding controls to the toolbar: 2008-03-27 00:10:19 +00:00
toolbar.dsp regenerated makefiles with bkl-0.2.3 2008-01-23 12:13:07 +00:00
toolbar.rc
toolbar.rco
toolbarM5.xml