[ wxwindows-Bugs-1638728 ] Toolbar on a floating AUI pane (Mac)

SourceForge.net noreply at sourceforge.net
Mon May 14 02:20:02 PDT 2007


Bugs item #1638728, was opened at 2007-01-18 16:41
Message generated for change (Comment added) made by csomor
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1638728&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: wxMac specific
Group: Platform specific
Status: Open
Resolution: None
Priority: 7
Private: No
Submitted By: JosefH (josefh)
Assigned to: Stefan Csomor (csomor)
Summary: Toolbar on a floating AUI pane (Mac)

Initial Comment:
Hi Stefan,
Our Application has floating AUI panes, that contain a wxToolBar, a wxStaticLine, a wxScrolledWindow, and a wxTextCtrl - all of these within a wxBoxSizer(wxVERTICAL).

On Windows everything is OK, on the Mac the toolbar seems not to work properly (see screenshots).

The ToggleTools are ok, but the two wxChoice controls are not visible at all, and the wxTextCtrl cannot be used either.

wxChoice and wxTextCtrl controls work in modal dialogs perfectly.

All this on OSX 10.4.8, PPC processor, wxMax 2.8.0

Regards Josef

----------------------------------------------------------------------

>Comment By: Stefan Csomor (csomor)
Date: 2007-05-14 11:20

Message:
Logged In: YES 
user_id=81467
Originator: NO

Hi Anders

yes, native toolbar compile, but its usage is non-native (as there is only
one native toolbar on a frame), but does WX_2_8_BRANCH compile now, or
which configure is failing ? I thought we could release it and have apple
pick it for Leopard

Thanks,

sTefan

----------------------------------------------------------------------

Comment By: Anders F Björklund (afb)
Date: 2007-05-14 11:17

Message:
Logged In: YES 
user_id=5895
Originator: NO

I tested with the native toolbar, since that is the configure default...
Used wxWidgets 2.8.4-rc1, since rc2 did not compile. (uni/conv problem?)

----------------------------------------------------------------------

Comment By: Stefan Csomor (csomor)
Date: 2007-05-14 11:12

Message:
Logged In: YES 
user_id=81467
Originator: NO

Hi Anders

the assert has been fixed for the non-native toolbar usage in
WX_2_8_BRANCH and RC2 for 2.8.4, does the rest still happen ?

Thanks,

Stefan

----------------------------------------------------------------------

Comment By: Anders F Björklund (afb)
Date: 2007-05-14 11:04

Message:
Logged In: YES 
user_id=5895
Originator: NO

We are seeing this problem in Code::Blocks, after the switch from
wxWidgets 2.6 over to wxWidgets 2.8:
../src/mac/carbon/toolbar.cpp(1218): assert "count == 3" failed in
Realize(): Reference Count of native tool was not 3 after insertion

For the codeblocks application it affects two wxChoice, one wxStaticText
and one wxComboBox widget.
Screenshots can be found at
http://forums.codeblocks.org/index.php/topic,5770.msg44290.html#msg44290

----------------------------------------------------------------------

Comment By: JosefH (josefh)
Date: 2007-01-22 08:10

Message:
Logged In: YES 
user_id=1650440
Originator: YES

Hi Stefan,
I have tried to make a simple subset of the code, but it was too
complicated, too. Maybe at a later time.

For the time I could solve the problem by replacing the wxToolBar through
a horizontal box sizer, containing the necessary controls, and it works.

Thanks Josef

----------------------------------------------------------------------

Comment By: Stefan Csomor (csomor)
Date: 2007-01-19 08:09

Message:
Logged In: YES 
user_id=81467
Originator: NO

Hi Josef

in order to help me reproduce and debug it as easy as possible, could you
please provide me with a diff to minimal sample, that just shows that
problem

Thanks,

Stefan

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1638728&group_id=9863




More information about the wx-dev mailing list