Opened 5 years ago

Closed 5 years ago

#15629 closed build error (fixed)

src/osx/cocoa/ not compiling

Reported by: Dimension3D Owned by:
Priority: normal Milestone: 3.0.0
Component: wxOSX Version: 3.0.0-rc2
Keywords: toolbar Cc:
Blocked By: Blocking:
Patch: no


src/osx/cocoa/ is not compiling if wxOSX_USE_NATIVE_TOOLBAR is set to 0 in setup.h (which is required to have toolbar icons other than 24 and 32 pixels).

This should be reproducable when building any Mac/cocoa application with
in setup.h. compiles when removing the
from the declaration of GetToolBarFontEncoding and when adding
around the three lines with m_macToolbar in ~wxToolBar.

Seems to work then.

Change History (1)

comment:1 Changed 5 years ago by VZ

  • Resolution set to fixed
  • Status changed from new to closed

(In [75150]) Compilation fix for wxOSX/Cocoa with wxOSX_USE_NATIVE_TOOLBAR==0.

Don't use m_macToolbar when not using the native toolbar.

Do compile GetToolBarFontEncoding() which is used in any case.

Closes #15629.

Note: See TracTickets for help on using tickets.