osx: added `#if wxUSE_TOOLBAR` around the usage of `wxToolBar` (PR #26798)

9 views
Skip to first unread message

Mongilyov Andrey

unread,
Aug 7, 2026, 8:27:30 AM (3 days ago) Aug 7
to wx-...@googlegroups.com, Subscribed

Hi!

I use wxWidgets 3.3.0 on macOS with set(wxUSE_TOOLBAR OFF). When I tried to update to 3.3.3, I got compile errors:

<...>
build_wxw333/wxWidgets/src/osx/carbon/frame.cpp:79:19: error: member access into incomplete type 'wxToolBar'
   79 |                 tb->AddStretchableSpace();
<...>

I wrapped usage of wxToolBar in #if wxUSE_TOOLBAR. Code compiled successfully.

P.S.
Not the duplicate of #26797, different macOS build issue.


You can view, comment on, or merge this pull request online at:

  https://github.com/wxWidgets/wxWidgets/pull/26798

Commit Summary

  • a83746a osx: added #if around wxToolBar

File Changes

(1 file)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26798@github.com>

VZ

unread,
Aug 7, 2026, 8:32:54 AM (3 days ago) Aug 7
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#26798)

Thanks, will merge too.


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26798/c5217093024@github.com>

VZ

unread,
Aug 9, 2026, 1:37:17 PM (13 hours ago) Aug 9
to wx-...@googlegroups.com, Subscribed

Closed #26798 via 40c106c.


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26798/issue_event/29188510249@github.com>

Reply all
Reply to author
Forward
0 new messages