Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Component for Class "wxMediaCtrl" #506

Closed
DrEdHepler opened this Issue Mar 10, 2019 · 3 comments

Comments

Projects
None yet
3 participants
@DrEdHepler
Copy link

DrEdHepler commented Mar 10, 2019

I just built wxFormBuilder version 3.9.0 using wxWidgets-3.1.2

The executable loads OK, but a message appears in the log:
Debug: palette.cpp@74 PopulateToolbar: Missing Component for Class "wxMediaCtrl" of Package "Additional".
Looking at the tab for "Additional", there is no widget for wxMediaCtrl, although I see an icon file for it in /usr/share/wxformbuilder/plugins/additional/icons
Is there a fix for this?
Thanks!

@sodevel

This comment has been minimized.

Copy link
Member

sodevel commented Mar 11, 2019

Did you build this on OSX? Is your wxWidgets built with wxMediaCtrl enabled? Did you disable the media-control support of wxFB?

@DrEdHepler

This comment has been minimized.

Copy link
Author

DrEdHepler commented Mar 11, 2019

The build was performed on CentOS 7
wxWidgets-3.1.2 was built using:
../configure --with-gtk3 -- prefix=/usr --with-opengl --enable-mediactrl

wxFormBuilder-3.9.0 was built using the recommended:
meson _build --prefix /usr
ninja -C _build install

I didn't see any options to disable the media control support in wxFB

As an aside: Any thought in providing a "constraint-based" widget placement tool (similar to the one provided in Android Studio)?

@sodevel

This comment has been minimized.

Copy link
Member

sodevel commented Mar 11, 2019

When using the PreMake path you can disable mediactrl support which was necessary for earlier versions on OSX. It looks like the Meson path doesn't enable mediactrl so its always missing, maybe @jhasse can take a look at that.

I don't know Android Studio, is its "constraint-based" layout what wxLayoutConstraints do? But even if it is, i don't think it can be integrated (easily), the whole wxFB architecture is strongly sizer based.

@jhasse jhasse added bug Linux labels Mar 11, 2019

@jhasse jhasse self-assigned this Mar 11, 2019

@jhasse jhasse closed this in 142528b Mar 13, 2019

@jhasse jhasse added this to the 3.9.1 milestone Mar 13, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.