bug&fix for vertical toolbar

Hello,

I am using MSW port and wx2.6 or wx2.7 vertical toolbar. After refresh with wxToolBar::Realize() only first tool remains active. Proposed patch fixes this. Patch is tested with wx-2.6.3.3

Niki Spahiev

tbar95.diff (366 Bytes)

Niki Spahiev wrote:

Hello,

I am using MSW port and wx2.6 or wx2.7 vertical toolbar. After refresh with wxToolBar::Realize() only first tool remains active. Proposed patch fixes this. Patch is tested with wx-2.6.3.3

Do you have a sample app to demonstrate the problem? This sounds familiar so I want to make sure it hasn't already been fixed before I spend time on it.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Robin Dunn wrote:

Do you have a sample app to demonstrate the problem? This sounds familiar so I want to make sure it hasn't already been fixed before I spend time on it.

This my sound familiar as i periodically try to integrate this patch in wx sources. Maybe this time :slight_smile:

With unpatched wx after pressing 'add' button vertical toolbar looks almost like horizontal one.

regards,
Niki Spahiev

vtoolbar.py (1.45 KB)

Niki Spahiev wrote:

Robin Dunn wrote:

Do you have a sample app to demonstrate the problem? This sounds familiar so I want to make sure it hasn't already been fixed before I spend time on it.

This my sound familiar as i periodically try to integrate this patch in wx sources. Maybe this time :slight_smile:

With unpatched wx after pressing 'add' button vertical toolbar looks almost like horizontal one.

I've applied your patch. Thanks.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!